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