diff --git a/testing/web-platform/tests/workers/modules/shared-worker-parse-error-failure.html b/testing/web-platform/tests/workers/modules/shared-worker-parse-error-failure.html
new file mode 100644
index 000000000000..0d8e390382f1
--- /dev/null
+++ b/testing/web-platform/tests/workers/modules/shared-worker-parse-error-failure.html
@@ -0,0 +1,49 @@
+
+
SharedWorker: parse error failure
+
+
+
+
diff --git a/testing/web-platform/tests/workers/shared-worker-parse-error-failure.html b/testing/web-platform/tests/workers/shared-worker-parse-error-failure.html
new file mode 100644
index 000000000000..3f1b4c5d85f4
--- /dev/null
+++ b/testing/web-platform/tests/workers/shared-worker-parse-error-failure.html
@@ -0,0 +1,26 @@
+
+SharedWorker: parse error failure
+
+
+
+
diff --git a/testing/web-platform/tests/workers/support/check-error-arguments.js b/testing/web-platform/tests/workers/support/check-error-arguments.js
new file mode 100644
index 000000000000..64441f9225ec
--- /dev/null
+++ b/testing/web-platform/tests/workers/support/check-error-arguments.js
@@ -0,0 +1,4 @@
+window.checkErrorArguments = args => {
+ assert_equals(args.length, 1);
+ assert_equals(args[0].constructor, Event);
+};