mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
8214371ad5
This was a change in the HTML spec, see: https://github.com/whatwg/html/commit/032523196
22 lines
638 B
Text
22 lines
638 B
Text
#import <DOM/Event.idl>
|
|
|
|
// https://html.spec.whatwg.org/#errorevent
|
|
[Exposed=(Window,Worker)]
|
|
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;
|
|
};
|
|
|
|
// https://html.spec.whatwg.org/#erroreventinit
|
|
dictionary ErrorEventInit : EventInit {
|
|
DOMString message = "";
|
|
USVString filename = "";
|
|
unsigned long lineno = 0;
|
|
unsigned long colno = 0;
|
|
any error;
|
|
};
|