- From: Glenn Maynard <glenn@zewt.org>
- Date: Sun, 22 Apr 2012 11:11:56 -0500
- To: w3c@hoa-project.net
- Cc: public-webapps@w3.org
- Message-ID: <CABirCh_VUTtb4B3P_YwZYoo3O0Vrx6ipUyiTyLQXOoOhp=Xbtw@mail.gmail.com>
On Sun, Apr 22, 2012 at 8:47 AM, Ivan Enderlin @ Hoa <w3c@hoa-project.net>wrote: > Are they any reasons to not have the EventSource interface available in a > WorkerGlobalScope? > > The W3C specifies that they must be no interface objects and constructors > in this scope [1], It's available in workers. "... except for the following: ... Constructors defined by specifications that explicitly say that they should be visible when the script's global object is a DedicatedWorkerGlobalScope, a SharedWorkerGlobalScope, or an object implementing the WorkerUtils interface" and http://dev.w3.org/html5/eventsource says: "This constructor must be visible when the script's global object is either a Window object or an object implementing the WorkerUtils interface." > and the MDN documentation confirms that [2] This is just a random sample of interfaces, not an exhaustive list. [3] http://w3.org/TR/eventsource/ > Always click the "latest editor's draft" link at the top to get to the version that everyone is actually using. "TR" links are invariably out of date and incorrect. -- Glenn Maynard
Received on Sunday, 22 April 2012 16:12:25 UTC