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

On 8/13/13 3:56 AM, ext Odin Hørthe Omdal wrote:
> 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.

Sorry, but would you please identify the specific part(s) of the test 
that asserts the sentence above?

(I don't understand what "This constructor must be _visible_" means and 
how it is being asserted by the test.)

-Thanks, AB


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

Received on Tuesday, 13 August 2013 12:47:49 UTC