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:
parent
cdc77407bf
commit
de83f5422d
8 changed files with 7 additions and 151 deletions
6
Userland/Libraries/LibWeb/HTML/Window.idl
Normal file
6
Userland/Libraries/LibWeb/HTML/Window.idl
Normal 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 {
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue