W3C home > Mailing lists > Public > public-webapps-testsuite@w3.org > August 2013

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

From: Odin Hørthe Omdal <odinho@opera.com>
Date: Tue, 13 Aug 2013 09:56:09 +0200
Message-Id: <1376380569.14964.9177227.23ABCB16@webmail.messagingengine.com>
To: Arthur Barstow <art.barstow@nokia.com>, Tina Zhao <tina.zhao@intel.com>, public-webapps-testsuite@w3.org
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:52:58 UTC