Index: third_party/WebKit/LayoutTests/imported/wpt/workers/constructors/SharedWorker/no-arguments-ctor.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/constructors/SharedWorker/no-arguments-ctor.html b/third_party/WebKit/LayoutTests/imported/wpt/workers/constructors/SharedWorker/no-arguments-ctor.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..eaee870db0e14c0c68533f98ee63b7c3a580eeeb |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/workers/constructors/SharedWorker/no-arguments-ctor.html |
@@ -0,0 +1,20 @@ |
+<!-- |
+/* |
+--> |
+<!doctype html> |
+<title>no arguments</title> |
+<link rel=help href="http://www.whatwg.org/html/#sharedworker"> |
+<link rel=help href="http://dev.w3.org/2006/webapi/WebIDL/#es-interface-call"> |
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+<div id="log"></div> |
+<script> |
+test(function() { |
+ assert_throws(new TypeError(), function() { |
+ var worker = new SharedWorker(); |
+ }); |
+}); |
+</script> |
+<!-- |
+*/ |
+//--> |