1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:37:35 +00:00

LibWeb/HTML: Port Window.window to IDL

This commit is contained in:
Linus Groh 2023-03-05 18:36:43 +00:00
parent eb2425040b
commit d57876306c
3 changed files with 12 additions and 10 deletions

View file

@ -5,6 +5,9 @@
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#window
[Global=Window, Exposed=Window, LegacyUnenumerableNamedProperties, UseNewAKString]
interface Window : EventTarget {
// the current browsing context
[LegacyUnforgeable] readonly attribute WindowProxy window;
// the user agent
readonly attribute Navigator navigator;
[ImplementedAs=navigator] readonly attribute Navigator clientInformation; // legacy alias of .navigator