Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/browsers/the-window-object/window-open-invalid-url.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset=utf-8>
<title>window.open() with an invalid URL</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
test(() => {
}, "Window.open should throw SyntaxError when an invalid url is passed as the first parameter");
</script>