[whatwg] MessagePorts and message delivery ordering

2009-08-06 Thread Drew Wilson
I was writing some unit tests for SharedWorkers, and I saw some behavior that seems to be spec compliant, but which was counter-intuitive from a developer standpoint. Let's say that you have two message ports - some other window or a shared worker owns the other end of those ports. You then do

Re: [whatwg] MessagePorts and message delivery ordering

2009-08-06 Thread Ian Hickson
On Thu, 6 Aug 2009, Drew Wilson wrote: I was writing some unit tests for SharedWorkers, and I saw some behavior that seems to be spec compliant, but which was counter-intuitive from a developer standpoint. Let's say that you have two message ports - some other window or a shared worker owns