ladybird/Tests/LibWeb/Text/input/URL/set-href-with-valid-hostname-but-invalid-port.html
2025-03-20 11:50:49 +01:00

11 lines
275 B
HTML

<!DOCTYPE html>
<a id="id" href="http://example.net/path">
<script src="../include.js"></script>
<script>
test(() => {
let a = document.getElementById('id');
println(a.href);
a.host = "example.com:65536";
println(a.href);
})
</script>