Re: [eventsource-tests] {dedicated-worker,shared-worker}/eventsource-constructor-non-same-origin

On Mon, Aug 12, 2013, at 18:50, Arthur Barstow wrote:
> Hi Tina, Odin,
> 
> Would you please explain which part(s) of [eventsource] these two tests 
> cover:
> 
> 1. 
> <http://w3c-test.org/web-platform-tests/master/eventsource/dedicated-worker/eventsource-constructor-non-same-origin.htm>
> 
> 2. 
> <http://w3c-test.org/web-platform-tests/master/eventsource/shared-worker/eventsource-constructor-non-same-origin.htm>
> 
> -Thanks, AB
> 
> [eventsource] <http://www.w3.org/TR/2012/CR-eventsource-20121211/>


http://www.w3.org/TR/2012/CR-eventsource-20121211/#dom-eventsource
Algorithm step 7. (the CORS part)

It is connected to dedicated-worker and shared-worker by this language:
This constructor must be visible when the script's global object is
either a Window object or an object implementing the WorkerUtils
interface.

Which is under the note. Shared worker and dedicated worker implement
the WorkerUtils interface. :)

-- 
  Odin Hørthe Omdal
  odinho@opera.com

Received on Tuesday, 13 August 2013 07:56:31 UTC