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

[Bug 13675] New: MessageEvent::ports should be a nullable platform array object for interop

From: <bugzilla@jessica.w3.org>
Date: Thu, 04 Aug 2011 18:27:33 +0000
To: public-webapps@w3.org
Message-ID: <bug-13675-2927@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13675

           Summary: MessageEvent::ports should be a nullable platform
                    array object for interop
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Messaging (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: travil@microsoft.com
         QAContact: member-webapi-cvs@w3.org
                CC: mike@w3.org, public-webapps@w3.org


The ports property of MessageEvent is currently defined as:

readonly attribute MessagePort[] ports;

however, IE10, Chrome, and Safari all return null when no ports were provided.
(Opera returns an empty array as per the spec.) Not sure what Firefox is
returning...

For better interop, consider changing the type of the ports property to a
nullable platform array object:

readonly attribute MessagePort[]? ports; 
(with accompaning changes in the algorithms)

-- 
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, 4 August 2011 18:27:35 GMT

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