diff --git a/testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/no-coop-coep.https.any.js b/testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/no-coop-coep.https.any.js
index 71e5299a66cec..b858eb61cbc10 100644
--- a/testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/no-coop-coep.https.any.js
+++ b/testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/no-coop-coep.https.any.js
@@ -5,13 +5,66 @@ test
=
>
{
+assert_equals
+(
+globalThis
+.
+SharedArrayBuffer
+undefined
+)
+;
+assert_false
+(
+"
+SharedArrayBuffer
+"
+in
+globalThis
+)
+;
+}
+"
+SharedArrayBuffer
+constructor
+does
+not
+exist
+without
+COOP
++
+COEP
+"
+)
+;
+test
+(
+(
+)
+=
+>
+{
const
sab
=
new
-SharedArrayBuffer
+WebAssembly
+.
+Memory
(
+{
+shared
+:
+true
+initial
+:
+1
+maximum
+:
+1
+}
)
+.
+buffer
;
const
channel
@@ -63,9 +116,24 @@ const
sab
=
new
-SharedArrayBuffer
+WebAssembly
+.
+Memory
(
+{
+shared
+:
+true
+initial
+:
+1
+maximum
+:
+1
+}
)
+.
+buffer
;
const
channel
@@ -131,9 +199,24 @@ const
sab
=
new
-SharedArrayBuffer
+WebAssembly
+.
+Memory
(
+{
+shared
+:
+true
+initial
+:
+1
+maximum
+:
+1
+}
)
+.
+buffer
;
assert_throws_dom
(
diff --git a/testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-idb.any.js b/testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-idb.any.js
index ba046248fae46..67189908fcd75 100644
--- a/testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-idb.any.js
+++ b/testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-idb.any.js
@@ -53,6 +53,29 @@ key
}
)
;
+const
+sab
+=
+new
+WebAssembly
+.
+Memory
+(
+{
+shared
+:
+true
+initial
+:
+1
+maximum
+:
+1
+}
+)
+.
+buffer
+;
assert_throws_dom
(
"
@@ -73,10 +96,7 @@ key
1
property
:
-new
-SharedArrayBuffer
-(
-)
+sab
}
)
;
@@ -153,6 +173,29 @@ key
}
)
;
+const
+sab
+=
+new
+WebAssembly
+.
+Memory
+(
+{
+shared
+:
+true
+initial
+:
+1
+maximum
+:
+1
+}
+)
+.
+buffer
+;
let
getter1Called
=
@@ -199,10 +242,7 @@ return
;
}
}
-new
-SharedArrayBuffer
-(
-)
+sab
{
get
x
diff --git a/testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-notifications-api.any.js b/testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-notifications-api.any.js
index 1054270bc4f64..769c3fce8983b 100644
--- a/testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-notifications-api.any.js
+++ b/testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/serialization-via-notifications-api.any.js
@@ -20,6 +20,29 @@ DataCloneError
=
>
{
+const
+sab
+=
+new
+WebAssembly
+.
+Memory
+(
+{
+shared
+:
+true
+initial
+:
+1
+maximum
+:
+1
+}
+)
+.
+buffer
+;
new
Notification
(
@@ -31,10 +54,7 @@ Hi
{
data
:
-new
-SharedArrayBuffer
-(
-)
+sab
}
)
;
@@ -65,6 +85,29 @@ test
=
>
{
+const
+sab
+=
+new
+WebAssembly
+.
+Memory
+(
+{
+shared
+:
+true
+initial
+:
+1
+maximum
+:
+1
+}
+)
+.
+buffer
+;
let
getter1Called
=
@@ -112,10 +155,7 @@ return
;
}
}
-new
-SharedArrayBuffer
-(
-)
+sab
{
get
x
diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-failure.https.any.js b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-failure.https.any.js
index c026634e5773d..479c7d6133b48 100644
--- a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-failure.https.any.js
+++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-failure.https.any.js
@@ -9,10 +9,24 @@ const
sab
=
new
-SharedArrayBuffer
+WebAssembly
+.
+Memory
(
-16
+{
+shared
+:
+true
+initial
+:
+1
+maximum
+:
+1
+}
)
+.
+buffer
;
const
ta
diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-success.any.js b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-success.any.js
index 70e69366c231f..5c0ad02e82996 100644
--- a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-success.any.js
+++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-agent-formalism/requires-success.any.js
@@ -9,10 +9,24 @@ const
sab
=
new
-SharedArrayBuffer
+WebAssembly
+.
+Memory
(
-16
+{
+shared
+:
+true
+initial
+:
+1
+maximum
+:
+1
+}
)
+.
+buffer
;
const
ta