Serenity Operating System
1#import <DOM/Event.idl>
2
3[Exposed=(Window,Worker), UseNewAKString]
4interface ErrorEvent : Event {
5 constructor(DOMString type, optional ErrorEventInit eventInitDict = {});
6
7 readonly attribute DOMString message;
8 readonly attribute USVString filename;
9 readonly attribute unsigned long lineno;
10 readonly attribute unsigned long colno;
11 readonly attribute any error;
12};
13
14dictionary ErrorEventInit : EventInit {
15 DOMString message = "";
16 USVString filename = "";
17 unsigned long lineno = 0;
18 unsigned long colno = 0;
19 any error = null;
20};