[Bug 13992] New: Need a spec for MessageEvent constructor

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

           Summary: Need a spec for MessageEvent constructor
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: other Hixie drafts (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: haraken@chromium.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@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 MessageEvent constructor as follows:

[Constructor(DOMString type, optional MessageEventInit eventInitDict)]
dictionary MessageEventInit : EventInit {
    any data;
    DOMString origin;
    DOMString lastEventId;
    WindowProxy source;
    MessagePort[] ports;
}

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

Received on Thursday, 1 September 2011 11:16:17 UTC