diff options
author | Andrew Kaster <akaster@serenityos.org> | 2022-10-07 16:45:09 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-10-09 10:14:57 +0200 |
commit | 67ceba2e6a98c280eb685dfa7559beef09a35409 (patch) | |
tree | 78eb5e696ca22b9e5acbdf46f7d20068c7db206d /Userland/Libraries/LibWeb/DOM/Event.idl | |
parent | 0265041d44b313e18d097d30fb8e204fa367c5f9 (diff) | |
download | serenity-67ceba2e6a98c280eb685dfa7559beef09a35409.zip |
LibWeb: Add Exposed attribute and IDL spec links where missing
The intent is to use these to autogenerate prototype declarations for
Window and WorkerGlobalScope classes.
And the spec links are just nice to have :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Event.idl')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Event.idl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Event.idl b/Userland/Libraries/LibWeb/DOM/Event.idl index dd5efac5e2..ccae48396c 100644 --- a/Userland/Libraries/LibWeb/DOM/Event.idl +++ b/Userland/Libraries/LibWeb/DOM/Event.idl @@ -1,6 +1,7 @@ #import <DOM/EventTarget.idl> -[] +// https://dom.spec.whatwg.org/#event +[Exposed=*] interface Event { constructor(DOMString type, optional EventInit eventInitDict = {}); |