- From: Andrew Fedoniouk <news@terrainformatica.com>
- Date: Sat, 19 Jul 2008 20:35:25 -0700
- To: Ian Hickson <ian@hixie.ch>
- CC: public-html@w3.org
More questions, sorry. Chapter: http://www.whatwg.org/specs/web-workers/current-work/#processing 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. http://terrainformatica.com
Received on Sunday, 20 July 2008 03:36:07 UTC