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:
parent
eb2425040b
commit
d57876306c
3 changed files with 12 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue