W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: Shared workers - use .source instead of .ports[0] ?

From: Simon Pieters <simonp@opera.com>
Date: Wed, 11 Apr 2012 07:12:10 +0200
To: "Jarred Nicholls" <jarred@webkit.org>, "Travis Leithead" <travis.leithead@microsoft.com>
Cc: "Jonas Sicking" <jonas@sicking.cc>, "public-webapps@w3c.org" <public-webapps@w3c.org>
Message-ID: <op.wck4qk0hidj3kv@simons-macbook-pro.local>
On Tue, 10 Apr 2012 20:26:04 +0200, Travis Leithead  
<travis.leithead@microsoft.com> wrote:

> IE10 does not implement SharedWorkers at the present time. We also don’t  
> yet implement the updated "Transferrable" notion for MessagePorts in the  
> structured clone algorithm.

Ah, OK.

> We do ship Workers now, and so my primary concern is that the spec  
> doesn't remove the "ports" property of the MessageEvent.

Yep, I'm not suggesting to remove it.

> I don't mind the proposal to re-use .source of MessageEvent for a  
> "connect" event on a SharedWorker. I think it's a bit ugly to swap the  
> "WindowProxy" type of .source to "any" just for this case.

Anne said the type could be (WindowProxy or MessagePort)?.

> I am curious to see where this latest discussion on perhaps using a  
> different Event interface for "connect" events will lead...

-- 
Simon Pieters
Opera Software
Received on Wednesday, 11 April 2012 05:12:48 GMT

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