LibWeb/HTML: Port Window.document to IDL

This commit is contained in:
Linus Groh 2023-03-05 18:54:33 +00:00
commit 0e587420a8
Notes: sideshowbarker 2024-07-17 01:46:43 +09:00
3 changed files with 10 additions and 9 deletions

View file

@ -1,3 +1,4 @@
#import <DOM/Document.idl>
#import <DOM/EventHandler.idl>
#import <DOM/EventTarget.idl>
#import <HTML/Navigator.idl>
@ -8,6 +9,7 @@ interface Window : EventTarget {
// the current browsing context
[LegacyUnforgeable] readonly attribute WindowProxy window;
[Replaceable] readonly attribute WindowProxy self;
[LegacyUnforgeable] readonly attribute Document document;
// other browsing contexts
[Replaceable] readonly attribute WindowProxy frames;