Glenn Skrzypczak
e5dab9e1c7
LibWeb: Support WASM modules
...
This adds support for importing WASM modules in JavaScript and vice
versa.
2026-04-03 21:21:09 +02:00
Jelle Raaijmakers
c4248a6f00
LibWeb: Import WPT wasm tests for (return_)call_ref
2026-03-07 16:05:20 +01:00
Jelle Raaijmakers
3b85c5d812
Tests/LibWeb: Re-import a couple of wasm-related test files
...
These were updated upstream.
2026-03-07 16:05:20 +01:00
Shannon Booth
0b839a9e2d
Tests/LibWeb: Sync WPT test for WASM global attribute setter
...
The regression in 932a204 turned out to be the specified
behaviour changed as part of: whatwg/webidl#1498
And WPT has now been updated accordingly.
2026-02-13 12:12:23 +01:00
me-it-is
62fe795c9b
LibWeb: Throw range error when initial is greater than maximum
...
When constructing WebAssembly.Memory if initial is greater than maximum
a range error will be thrown.
Fixes "Initial value exceeds maximum" in
https://wpt.fyi/results/wasm/jsapi/memory/constructor.any.worker.html?product=ladybird
2025-09-10 05:23:07 +02:00
CountBleck
7575beafcb
LibWeb: Import tests for resizable/growable ArrayBuffer Wasm memories
...
We pass to-fixed-length-buffer.any.html and to-resizable-buffer.any.html
but not to-resizable-buffer-shared.any.html, because LibJS doesn't have
growable SharedArrayBuffers implemented...
2025-08-23 08:26:23 +02:00
Jelle Raaijmakers
76ee1ce04c
LibWeb: Support wasm module instantiation using a global address
...
Fixes 1 WPT subtest in `wasm/core/simd`.
2025-07-25 15:35:27 +02:00
Jelle Raaijmakers
58c3a391a3
LibWeb+LibWasm: Reject module instantiation with correct error type
...
The spec tells us to reject the promise with a RuntimeError instead of a
LinkError whenever the module's start function fails during module
instantiation. Fixes 1 WPT subtest in `wasm/core`.
2025-07-25 15:13:28 +02:00
Timothy Flynn
7b14da14d8
Tests/LibWeb: Import tests for incorrect Wasm instantiations
2025-07-19 16:48:01 -04:00
Tim Ledbetter
cd0cadc5e1
LibWasm: Use correct null check when getting iterator method
2025-07-13 11:28:19 +02:00
Ali Mohammad Pur
a3b913bf91
Tests: Import the call-indirect wpt wasm test
...
This found some broken wasm-js implementations, so let's make sure it
doesn't break again.
2025-05-22 07:35:58 +01:00
Andrew Kaster
86c756a589
LibWeb: Import WebAssembly jsapi cross-realm torture tests from WPT
...
The failures here are due to us not actually implementing the
error types yet.
2025-04-23 14:09:09 +02:00
Andrew Kaster
b11bdd4022
LibWeb: Import WPT tests for WebAssembly.Global
...
There's one failing due to the constructor object not having the name
"Global" vs "WebAssembly.Global". This also doesn't include the
tentative test for the type property.
2024-12-24 15:20:28 +01:00
Konstantin Konstantin
b03138cbff
LibWeb: Support creation of shared memory in WebAssembly API
...
Add support for shared memory creation in WebAssembly memory API.
This API is needed for WPT tests that use shared array buffers.
Import related WPT tests.
2024-12-08 22:10:45 +01:00