LibWeb: Use OnErrorEventHandler in WorkerGlobalScope IDL

This commit is contained in:
Idan Horowitz 2022-04-01 22:04:00 +03:00 committed by Ali Mohammad Pur
commit f744c31a6f
Notes: sideshowbarker 2024-07-17 16:20:35 +09:00

View file

@ -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;