blob: 5b5b442c9133016759d61ff9e7196161a0f48733 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<!doctype html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/helpers.js"></script>
<script>
promise_test(async t => {
await assertBothRejectDOM(t, navigation.navigate("https://example.com\u0000mozilla.org"), "SyntaxError");
}, "navigate() with an invalid URL");
</script>
|