summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/workers/constructors/SharedWorker/empty-name.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/workers/constructors/SharedWorker/empty-name.html')
-rw-r--r--testing/web-platform/tests/workers/constructors/SharedWorker/empty-name.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/workers/constructors/SharedWorker/empty-name.html b/testing/web-platform/tests/workers/constructors/SharedWorker/empty-name.html
new file mode 100644
index 0000000000..94771d27c9
--- /dev/null
+++ b/testing/web-platform/tests/workers/constructors/SharedWorker/empty-name.html
@@ -0,0 +1,10 @@
+<!doctype html>
+<title>creating a dummy shared worker with explicit name ""</title>
+<link rel=help href="http://www.whatwg.org/html/#dom-sharedworker">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+test(() => {
+ const worker = new SharedWorker('empty.js', '');
+});
+</script>