1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:58: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

@ -291,13 +291,6 @@ private:
JS_DECLARE_NATIVE_FUNCTION(navigator_getter);
#define __ENUMERATE(attribute, event_name) \
JS_DECLARE_NATIVE_FUNCTION(attribute##_getter); \
JS_DECLARE_NATIVE_FUNCTION(attribute##_setter);
ENUMERATE_GLOBAL_EVENT_HANDLERS(__ENUMERATE);
ENUMERATE_WINDOW_EVENT_HANDLERS(__ENUMERATE);
#undef __ENUMERATE
HTML::Location* m_location { nullptr };
// [[CrossOriginPropertyDescriptorMap]], https://html.spec.whatwg.org/multipage/browsers.html#crossoriginpropertydescriptormap