ladybird/Tests/LibWeb/Text/input/HTML/Window-open-blob-url-without-blob-entry.html
Shannon Booth 6c691ccddc LibWeb/HTML: Add null handling for "get noopener for window open"
See: https://github.com/whatwg/html/pull/10847

Which also fixes a crash when window.open is given a blob URL which is
not present in the Blob URL registry.
2024-12-17 17:06:47 +01:00

7 lines
167 B
HTML

<script src="../include.js"></script>
<script>
test(() => {
window.open('blob:file://').close();
println("PASS! (Didn't crash)");
})
</script>