W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: [EventSource] Make it available in Worker

From: Rick Waldron <waldron.rick@gmail.com>
Date: Sun, 22 Apr 2012 11:53:30 -0400
To: w3c@hoa-project.net
Cc: public-webapps@w3.org
Message-ID: <74B8DD9CB3F94B7FB1C4BC0C478BCE07@gmail.com>
Are you saying this is no longer possible? 

https://gist.github.com/552549 

-Rick


On Sunday, April 22, 2012 at 9:47 AM, Ivan Enderlin @ Hoa wrote:

> Hello folks,
> 
> 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], and the MDN documentation confirms that 
> [2]. Indeed, the EventSource interface [3] has no DOM-related impact 
> (e.g. it never uses document or window) and it could be useful to 
> receive events from server-side in a Worker.
> Moreover, I don't see any particular technical reason that coud be blocking.
> 
> Thoughts?
> Best regards.
> 
> [1] http://w3.org/TR/workers/#interface-objects-and-constructors
> [2] 
> https://developer.mozilla.org/En/DOM/Worker/Functions_available_to_workers
> [3] http://w3.org/TR/eventsource/
> 
> -- 
> Ivan Enderlin
> Developer of Hoa
> http://hoa.42/ or http://hoa-project.net/
> 
> PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis)
> http://disc.univ-fcomte.fr/ and http://www.inria.fr/
> 
> 
Received on Sunday, 22 April 2012 15:54:06 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:51 GMT