From 11eedc309a548227ca70039189153f371b7bd0a7 Mon Sep 17 00:00:00 2001 From: Luke Wilde Date: Thu, 14 Oct 2021 16:53:39 +0100 Subject: LibWeb: Implement ErrorEvent This will be used by the new EventTarget to check if it needs to do special error event handling. Currently it isn't used for anything else. --- Userland/Libraries/LibWeb/Bindings/WindowObjectHelper.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Userland/Libraries/LibWeb/Bindings') diff --git a/Userland/Libraries/LibWeb/Bindings/WindowObjectHelper.h b/Userland/Libraries/LibWeb/Bindings/WindowObjectHelper.h index cac70f5aad..16270225c3 100644 --- a/Userland/Libraries/LibWeb/Bindings/WindowObjectHelper.h +++ b/Userland/Libraries/LibWeb/Bindings/WindowObjectHelper.h @@ -56,6 +56,8 @@ #include #include #include +#include +#include #include #include #include @@ -325,6 +327,7 @@ ADD_WINDOW_OBJECT_INTERFACE(DOMRectReadOnly) \ ADD_WINDOW_OBJECT_INTERFACE(DOMStringMap) \ ADD_WINDOW_OBJECT_INTERFACE(Element) \ + ADD_WINDOW_OBJECT_INTERFACE(ErrorEvent) \ ADD_WINDOW_OBJECT_INTERFACE(Event) \ ADD_WINDOW_OBJECT_INTERFACE(EventTarget) \ ADD_WINDOW_OBJECT_INTERFACE(History) \ -- cgit v1.2.3