blob: a789ecaae96d7220038bc1fd21aea8ce7cea9572 [file] [log] [blame]
<!doctype html>
<title>window.open: invalid URL</title>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script>
test(() => {
assert_throws_dom("SyntaxError", () => { self.open("http:"); });
}, "Check that window.open() throws on an invalid URL.");
</script>