summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Bindings
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2021-10-14 16:53:39 +0100
committerAndreas Kling <kling@serenityos.org>2022-02-07 14:58:18 +0100
commit11eedc309a548227ca70039189153f371b7bd0a7 (patch)
treebe55e562302caa51197cd46fafd82070f0dd9c3f /Userland/Libraries/LibWeb/Bindings
parentdc42ca37bd63496cd47345b5540dd39d9924b2c7 (diff)
downloadserenity-11eedc309a548227ca70039189153f371b7bd0a7.zip
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.
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings')
-rw-r--r--Userland/Libraries/LibWeb/Bindings/WindowObjectHelper.h3
1 files changed, 3 insertions, 0 deletions
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 <LibWeb/Bindings/DocumentTypePrototype.h>
#include <LibWeb/Bindings/ElementConstructor.h>
#include <LibWeb/Bindings/ElementPrototype.h>
+#include <LibWeb/Bindings/ErrorEventConstructor.h>
+#include <LibWeb/Bindings/ErrorEventPrototype.h>
#include <LibWeb/Bindings/EventConstructor.h>
#include <LibWeb/Bindings/EventPrototype.h>
#include <LibWeb/Bindings/EventTargetConstructor.h>
@@ -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) \