1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 17:28:11 +00:00

LibWeb/HTML: Define Window's {Global,Window}EventHandlers via IDL

This commit is contained in:
Linus Groh 2023-03-05 16:01:53 +00:00
parent c130fd6993
commit a6f8b18649
3 changed files with 3 additions and 39 deletions

View file

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