W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 01 Sep 2011 11:08:52 +0000
To: public-webapps@w3.org
Message-ID: <bug-13990-2927@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT