diff --git a/testing/web-platform/tests/compression/compression-bad-chunks.tentative.any.js b/testing/web-platform/tests/compression/compression-bad-chunks.tentative.any.js index 2c6727f86fda0..4791dd171e329 100644 --- a/testing/web-platform/tests/compression/compression-bad-chunks.tentative.any.js +++ b/testing/web-platform/tests/compression/compression-bad-chunks.tentative.any.js @@ -77,9 +77,24 @@ value { return new -SharedArrayBuffer +WebAssembly +. +Memory ( +{ +shared +: +true +initial +: +1 +maximum +: +1 +} ) +. +buffer ; } } @@ -100,9 +115,24 @@ new Uint8Array ( new -SharedArrayBuffer +WebAssembly +. +Memory ( +{ +shared +: +true +initial +: +1 +maximum +: +1 +} ) +. +buffer ) } } diff --git a/testing/web-platform/tests/compression/decompression-bad-chunks.tentative.any.js b/testing/web-platform/tests/compression/decompression-bad-chunks.tentative.any.js index 2a4fb74ad41d4..7700315a95957 100644 --- a/testing/web-platform/tests/compression/decompression-bad-chunks.tentative.any.js +++ b/testing/web-platform/tests/compression/decompression-bad-chunks.tentative.any.js @@ -77,9 +77,24 @@ value { return new -SharedArrayBuffer +WebAssembly +. +Memory ( +{ +shared +: +true +initial +: +1 +maximum +: +1 +} ) +. +buffer ; } } @@ -100,9 +115,24 @@ new Uint8Array ( new -SharedArrayBuffer +WebAssembly +. +Memory ( +{ +shared +: +true +initial +: +1 +maximum +: +1 +} ) +. +buffer ) } } diff --git a/testing/web-platform/tests/css/css-layout-api/constraints-data-sab-failure.https.html b/testing/web-platform/tests/css/css-layout-api/constraints-data-sab-failure.https.html index 0cc3d6f81f3aa..eca193a5d43f9 100644 --- a/testing/web-platform/tests/css/css-layout-api/constraints-data-sab-failure.https.html +++ b/testing/web-platform/tests/css/css-layout-api/constraints-data-sab-failure.https.html @@ -267,16 +267,55 @@ layoutNextFragment ( { +/ +/ +See +https +: +/ +/ +github +. +com +/ +whatwg +/ +html +/ +issues +/ +5380 +for +why +not +new +SharedArrayBuffer +( +) data : { sab : new -SharedArrayBuffer +WebAssembly +. +Memory ( -4 +{ +shared +: +true +initial +: +1 +maximum +: +1 +} ) +. +buffer } } ) diff --git a/testing/web-platform/tests/css/css-layout-api/fragment-data-sab-failure.https.html b/testing/web-platform/tests/css/css-layout-api/fragment-data-sab-failure.https.html index 03fbdc71efab7..061bdfc7c5dda 100644 --- a/testing/web-platform/tests/css/css-layout-api/fragment-data-sab-failure.https.html +++ b/testing/web-platform/tests/css/css-layout-api/fragment-data-sab-failure.https.html @@ -276,6 +276,31 @@ ) ) ; +/ +/ +See +https +: +/ +/ +github +. +com +/ +whatwg +/ +html +/ +issues +/ +5380 +for +why +not +new +SharedArrayBuffer +( +) return { autoBlockSize @@ -288,10 +313,24 @@ sab : new -SharedArrayBuffer +WebAssembly +. +Memory ( -4 +{ +shared +: +true +initial +: +1 +maximum +: +1 +} ) +. +buffer } } ; diff --git a/testing/web-platform/tests/xhr/send-data-sharedarraybuffer.any.js b/testing/web-platform/tests/xhr/send-data-sharedarraybuffer.any.js index 8576a4ebe97c1..f0c18da63aeeb 100644 --- a/testing/web-platform/tests/xhr/send-data-sharedarraybuffer.any.js +++ b/testing/web-platform/tests/xhr/send-data-sharedarraybuffer.any.js @@ -5,7 +5,7 @@ test = > { -var +const xhr = new @@ -13,13 +13,28 @@ XMLHttpRequest ( ) ; -var +const buf = new -SharedArrayBuffer +WebAssembly +. +Memory ( +{ +shared +: +true +initial +: +1 +maximum +: +1 +} ) +. +buffer ; xhr . @@ -112,7 +127,7 @@ test = > { -var +const xhr = new @@ -120,7 +135,7 @@ XMLHttpRequest ( ) ; -var +const arr = new @@ -130,9 +145,24 @@ type ] ( new -SharedArrayBuffer +WebAssembly +. +Memory ( +{ +shared +: +true +initial +: +1 +maximum +: +1 +} ) +. +buffer ) ; xhr