mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 05:07:35 +00:00
LibWeb: Return a WindowProxy from document.defaultView
This aligns our implementation with the most recent specification steps.
This commit is contained in:
parent
74f6dce9e6
commit
089139f09d
Notes:
github-actions[bot]
2024-09-21 08:06:25 +00:00
Author: https://github.com/tcl3
Commit: 089139f09d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1468
6 changed files with 38 additions and 8 deletions
7
Tests/LibWeb/Text/input/DOM/Document-defaultView.html
Normal file
7
Tests/LibWeb/Text/input/DOM/Document-defaultView.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
println(`document.defaultView === window: ${document.defaultView === window}`);
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue