- From: Aaron Boodman <aa@google.com>
- Date: Thu, 14 Feb 2008 11:54:55 -0800
Well, as long as you've brought it up, I was working on a proposal too: http://code.google.com/p/google-gears/wiki/HTML5WorkerProposal - a On Thu, Feb 14, 2008 at 11:34 AM, Dimitri Glazkov <dimitri.glazkov at gmail.com> wrote: > Since postMessage API is looking more an more like the Gears worker > messaging API (or better), can we go one step further and introduce > workers into the HTML5, defined as invisible windows with limited > capabilities: > > WorkerWindow openWorker(in DOMString url); > > with: > > interface WorkerWindow { > > // for consistency with Window > readonly attribute Window window; > readonly attribute Window self; > > // caps > readonly attribute ClientInformation navigator; > > // session/local storage > readonly attribute Storage sessionStorage; > ... > > // database stuff > Database openDatabase(...) > > // to open new worker windows > WorkerWindow openWorker(in DOMString url); > > // messaging > void postMessage(...) > > // some events > attribute EventListener onabort; > attribute EventListener onload; > attribute EventListener onunload; > } > > or something like that? > > :DG< >
Received on Thursday, 14 February 2008 11:54:55 UTC