ladybird/Userland/Libraries/LibWeb/HTML/ErrorEvent.idl
2023-03-05 18:25:59 +00:00

21 lines
569 B
Plaintext

#import <DOM/Event.idl>
[Exposed=(Window,Worker), UseNewAKString]
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;
};
dictionary ErrorEventInit : EventInit {
DOMString message = "";
USVString filename = "";
unsigned long lineno = 0;
unsigned long colno = 0;
any error = null;
};