W3C home > Mailing lists > Public > public-html@w3.org > July 2008

Re: Workers

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Sat, 19 Jul 2008 20:35:25 -0700
Message-ID: <4882B27D.8060605@terrainformatica.com>
To: Ian Hickson <ian@hixie.ch>
CC: public-html@w3.org

More questions, sorry.

has following:
#5 Let script's script execution context (and thus also global object) 
be worker.
#6 Let script's script browsing context be owner browsing context.
#7 Let script's script document context be owner document.

But[1] tells us that:
"A browsing context is a collection of one or more Document objects, and 
one or more views."

Intention is to isolate Worker so it is not clear what #6 and #7 mean.

Also it is not clear how method:

MessagePort createWorker(in DOMString scriptURL);

downloads that script. If it is an asynchronous operation then it should 
be some event. If it is synchronous operation than it should be some 
timeout or so defined.

Something tells me that createWorker shall accept reference to JS 
function. Only. Otherwise it will either hang up application in case of 
synchronous downloading or will complicate logic a lot in case of
acync. operations.

[1] http://www.whatwg.org/specs/web-apps/current-work/#script3

Andrew Fedoniouk.

Received on Sunday, 20 July 2008 03:36:07 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:34 UTC