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

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 UTC