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