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

[Webmessaging] .ports on MessageEvent objects should probably not be an IDL array

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 06 Sep 2013 12:32:19 -0400
Message-ID: <522A0393.1040004@mit.edu>
To: public-webapps@w3.org
This is implementor feedback on 

See https://www.w3.org/Bugs/Public/show_bug.cgi?id=23176

Note that there is no coverage of the behavior here in the test suite, 
apparently, so Blink's implementation doesn't match what the spec 
currently has at all, and doesn't so much match sanity.  For example, this:

   var a = new MessageChannel();
   var b = new MessageEvent('message', { ports: [a.port1, a.port2] });
   alert(b.ports == b.ports);

alerts false in Blink.  I can't check in IE because in IE10 the 
MessageEvent constructor throws when called as above and in IE9 there is 
no MessageChannel.

In any case, this section of the spec needs fixing and tests...

Received on Friday, 6 September 2013 16:32:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:13 UTC