1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:57:44 +00:00

LibWeb: Generate Window{Constructor,Prototype} from IDL

The Window object is massive, so let's do the conversion to IDL step
by step. First up: getting rid of the manual constructor and prototype
definitions, which can be generated from an empty `interface Window`.
This commit is contained in:
Linus Groh 2023-03-05 15:42:58 +00:00
parent cdc77407bf
commit de83f5422d
8 changed files with 7 additions and 151 deletions

View file

@ -0,0 +1,6 @@
#import <DOM/EventTarget.idl>
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#window
[Global=Window, Exposed=Window, LegacyUnenumerableNamedProperties]
interface Window : EventTarget {
};