mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-21 07:29:53 +00:00
This commit adds the toResizableBuffer() and toFixedLengthBuffer() methods to WebAssembly.Memory. This includes the necessary hook to HostResizeArrayBuffer. Some modifications to function signatures in LibWeb/WebAssembly/Memory.h were also made (changing the return type from WebIDL::ExceptionOr to JS::ThrowCompletionOr) to allow the use of some code in the aforementioned hook. Note: the hook for HostGrowSharedArrayBuffer isn't implemented, since LibJS doesn't seem to have complete support for growable SharedArrayBuffers; the relevant methods/getters don't even exist on the prototype, let alone HostGrowSharedArrayBuffer! This should help pass the WebAssembly.Memory WPT tests included in Interop 2025, except those pertaining to growable SharedArrayBuffers. |
||
---|---|---|
.. | ||
AgentType.h | ||
AudioConstructor.cpp | ||
AudioConstructor.h | ||
ExceptionOrUtils.h | ||
HostDefined.cpp | ||
HostDefined.h | ||
ImageConstructor.cpp | ||
ImageConstructor.h | ||
Intrinsics.cpp | ||
Intrinsics.h | ||
MainThreadVM.cpp | ||
MainThreadVM.h | ||
OptionConstructor.cpp | ||
OptionConstructor.h | ||
PlatformObject.cpp | ||
PlatformObject.h | ||
PrincipalHostDefined.cpp | ||
PrincipalHostDefined.h | ||
Serializable.h | ||
SyntheticHostDefined.cpp | ||
SyntheticHostDefined.h | ||
Transferable.h |