summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-01 22:04:00 +0300
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-04-02 12:22:48 +0430
commitf744c31a6f9aaa1e961e287599c05ea55af19065 (patch)
tree103ed7d3f26479091cfdd6b9f295586653590fe2
parentd25bd2dbd86dcb6c1a50c5fc8447a910d1c0aa09 (diff)
downloadserenity-f744c31a6f9aaa1e961e287599c05ea55af19065.zip
LibWeb: Use OnErrorEventHandler in WorkerGlobalScope IDL
-rw-r--r--Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.idl4
1 files changed, 1 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.idl b/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.idl
index 28d1c1581f..136a48536f 100644
--- a/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.idl
+++ b/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.idl
@@ -10,9 +10,7 @@ interface WorkerGlobalScope : EventTarget {
readonly attribute WorkerNavigator navigator;
undefined importScripts(USVString... urls);
- // FIXME: Should be an OnErrorEventHandler
- attribute EventHandler onerror;
-
+ attribute OnErrorEventHandler onerror;
attribute EventHandler onlanguagechange;
attribute EventHandler onoffline;
attribute EventHandler ononline;