mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-13 18:37:37 +02:00
Aligning with a spec update, fixing 195 tests for: https://wpt.live/url/failure.html (cherry picked from commit ea971792b5da5f10cadb4f88f49c9722d88b32f6)
11 lines
237 B
HTML
11 lines
237 B
HTML
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
try {
|
|
location.href = 'http://@:www.invalid-url.com';
|
|
} catch (e) {
|
|
println(`Error setting href: ${e}`);
|
|
}
|
|
});
|
|
</script>
|