1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:17:46 +00:00

LibWeb/HTML: Port Window.document to IDL

This commit is contained in:
Linus Groh 2023-03-05 18:54:33 +00:00
parent dcff775ab1
commit 0e587420a8
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;