mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-03 15:41:57 +00:00
11 lines
278 B
HTML
11 lines
278 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
try {
|
|
window.location.protocol = "\xff";
|
|
} catch (e) {
|
|
println(`Setting location.protocol to an invalid value throws ${e.name}`);
|
|
}
|
|
});
|
|
</script>
|