
NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
20 lines
553 B
Text
20 lines
553 B
Text
#import <DOM/Event.idl>
|
|
|
|
[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;
|
|
};
|
|
|
|
dictionary ErrorEventInit : EventInit {
|
|
DOMString message = "";
|
|
USVString filename = "";
|
|
unsigned long lineno = 0;
|
|
unsigned long colno = 0;
|
|
any error = null;
|
|
};
|