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

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 UTC