2021-10-14 12:53:39 -03:00
|
|
|
#import <DOM/Event.idl>
|
|
|
|
|
|
2025-02-04 09:01:46 -03:00
|
|
|
// https://html.spec.whatwg.org/multipage/webappapis.html#errorevent
|
2023-09-02 11:00:01 -03:00
|
|
|
[Exposed=(Window,Worker)]
|
2021-10-14 12:53:39 -03: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 09:01:46 -03:00
|
|
|
// https://html.spec.whatwg.org/multipage/webappapis.html#erroreventinit
|
2021-10-14 12:53:39 -03:00
|
|
|
dictionary ErrorEventInit : EventInit {
|
|
|
|
|
DOMString message = "";
|
|
|
|
|
USVString filename = "";
|
|
|
|
|
unsigned long lineno = 0;
|
|
|
|
|
unsigned long colno = 0;
|
2025-01-05 04:21:22 -03:00
|
|
|
any error;
|
2021-10-14 12:53:39 -03:00
|
|
|
};
|