[Bug 13990] New: Need a spec for CloseEvent constructor

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

           Summary: Need a spec for CloseEvent constructor
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebSocket API (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 CloseEvent constructor as follows:

[Constructor(DOMString type, optional CloseEventInit eventInitDict)]
dictionary CloseEventInit : EventInit {
    boolean wasClean;
    unsigned short code;
    DOMString reason;
}

-- 
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:08:54 UTC