[Bug 13989] New: Need a spec for ErrorEvent constructor

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13989

           Summary: Need a spec for ErrorEvent constructor
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Workers (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: haraken@chromium.org
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org,
                    dominicc@chromium.org


Background: We are planning to make all Events constructable. For example,
CustomEvent already has the spec for its constructor
(http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-customevent).

We propose a spec for ErrorEvent constructor as follows:

[Constructor(DOMString type, optional ErrorEventInit eventInitDict)]
dictionary ErrorEventInit : EventInit {
    DOMString message;
    DOMString filename;
    unsigned long lineno;
}

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Thursday, 1 September 2011 11:06:19 UTC