2021-10-14 16:53:39 +01:00
|
|
|
#import <DOM/Event.idl>
|
|
|
|
|
2025-02-04 13:01:46 +01:00
|
|
|
// https://html.spec.whatwg.org/multipage/webappapis.html#errorevent
|
2023-09-03 02:00:01 +12:00
|
|
|
[Exposed=(Window,Worker)]
|
2021-10-14 16:53:39 +01:00
|
|
|
interface ErrorEvent : Event {
|
|
|
|
constructor(DOMString type, optional ErrorEventInit eventInitDict = {});
|
|
|
|
|
|
|
|
readonly attribute DOMString message;
|
|
|
|
readonly attribute USVString filename;
|
|
|
|
readonly attribute unsigned long lineno;
|
|
|
|
readonly attribute unsigned long colno;
|
|
|
|
readonly attribute any error;
|
|
|
|
};
|
|
|
|
|
2025-02-04 13:01:46 +01:00
|
|
|
// https://html.spec.whatwg.org/multipage/webappapis.html#erroreventinit
|
2021-10-14 16:53:39 +01:00
|
|
|
dictionary ErrorEventInit : EventInit {
|
|
|
|
DOMString message = "";
|
|
|
|
USVString filename = "";
|
|
|
|
unsigned long lineno = 0;
|
|
|
|
unsigned long colno = 0;
|
2025-01-05 20:21:22 +13:00
|
|
|
any error;
|
2021-10-14 16:53:39 +01:00
|
|
|
};
|