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. |
||
---|---|---|
.. | ||
Global.cpp | ||
Global.h | ||
Global.idl | ||
Instance.cpp | ||
Instance.h | ||
Instance.idl | ||
Memory.cpp | ||
Memory.h | ||
Memory.idl | ||
Module.cpp | ||
Module.h | ||
Module.idl | ||
Table.cpp | ||
Table.h | ||
Table.idl | ||
WebAssembly.cpp | ||
WebAssembly.h | ||
WebAssembly.idl |