mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
LibWeb: Return a WindowProxy from document.defaultView
This aligns our implementation with the most recent specification steps.
This commit is contained in:
committed by
Andreas Kling
parent
74f6dce9e6
commit
089139f09d
Notes:
github-actions[bot]
2024-09-21 08:06:25 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/089139f09db Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1468
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>
|
||||
Reference in New Issue
Block a user