- From: Dimitri Glazkov <dimitri.glazkov@gmail.com>
- Date: Thu, 14 Feb 2008 13:34:54 -0600
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:34:54 UTC