Index: third_party/WebKit/LayoutTests/imported/wpt/workers/constructors/SharedWorker/unresolvable-url.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/constructors/SharedWorker/unresolvable-url.html b/third_party/WebKit/LayoutTests/imported/wpt/workers/constructors/SharedWorker/unresolvable-url.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2ca3d93d3e8fa2a16a557370fe85bca3952e1713 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/workers/constructors/SharedWorker/unresolvable-url.html |
@@ -0,0 +1,19 @@ |
+<!-- |
+/* |
+--> |
+<!doctype html> |
+<title>resolving broken url</title> |
+<link rel=help href="http://www.whatwg.org/html/#dom-sharedworker"> |
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+<div id="log"></div> |
+<script> |
+test(function() { |
+ assert_throws("SyntaxError", function() { |
+ var worker = new SharedWorker('http://foo bar'); |
+ }); |
+}); |
+</script> |
+<!-- |
+*/ |
+//--> |