LibJS: Crudely implement growable SharedArrayBuffers

We treat any mention of [[ArrayBufferByteLengthData]] and related
atomic operations as FIXMEs to be fixed at a later date. We also add the
HostGrowSharedArrayBuffer abstract operation, which will be overridden
by LibWeb to grow shared WebAssembly memories.
This commit is contained in:
CountBleck
2026-01-01 18:59:46 -08:00
committed by Ali Mohammad Pur
parent ee141dd9f7
commit d44b239621
Notes: github-actions[bot] 2026-01-04 06:49:02 +00:00
11 changed files with 180 additions and 17 deletions

View File

@@ -2,8 +2,8 @@ Harness status: OK
Found 150 tests
147 Pass
3 Fail
148 Pass
2 Fail
Pass primitive undefined
Pass primitive null
Pass primitive true
@@ -137,7 +137,7 @@ Pass Serializing a non-serializable platform object fails
Pass An object whose interface is deleted from the global must still deserialize
Pass A subclass instance will deserialize as its closest serializable superclass
Pass Resizable ArrayBuffer
Fail Growable SharedArrayBuffer
Pass Growable SharedArrayBuffer
Pass Length-tracking TypedArray
Pass Length-tracking DataView
Pass Serializing OOB TypedArray throws