mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-03 23:52:08 +00:00
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.
This commit is contained in:
parent
03aafda788
commit
6c691ccddc
Notes:
github-actions[bot]
2024-12-17 16:07:46 +00:00
Author: https://github.com/shannonbooth
Commit: 6c691ccddc
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2872
Reviewed-by: https://github.com/gmta ✅
3 changed files with 13 additions and 6 deletions
|
@ -0,0 +1,7 @@
|
|||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
window.open('blob:file://').close();
|
||||
println("PASS! (Didn't crash)");
|
||||
})
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue