Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html b/third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2b03ed6a117c1ede335f97ab428b75c64dc6fc2d |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/dom/Window/window-open-invalid-url.html |
| @@ -0,0 +1,9 @@ |
| +<!doctype html> |
| +<title>window.open: invalid URL</title> |
| +<script src="../../../resources/testharness.js"></script> |
| +<script src="../../../resources/testharnessreport.js"></script> |
| +<script> |
| + test(() => { |
| + assert_throws("SyntaxError", () => { self.open("http:"); }); |
|
foolip
2017/05/05 11:21:29
This is the same as https://github.com/w3c/web-pla
jochen (gone - plz use gerrit)
2017/05/05 11:25:51
I don't know why the wpt/url isn't yet included, a
foolip
2017/05/05 11:28:55
Oh, importing that is https://codereview.chromium.
|
| + }, "Check that window.open() throws on an invalid URL."); |
| +</script> |