summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/ErrorEvent.idl
blob: b7285b0aac916b0df5c49bbbecf828f7d00df9c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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;
};