W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2008

[whatwg] Combining the DedicatedWorker and SharedWorker interfaces

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 14 Nov 2008 07:14:30 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0811140713541.1041@hixie.dreamhostps.com>
On Thu, 13 Nov 2008, Jonas Sicking wrote:
> > 
> > I don't really see how we can do away with this without interop 
> > issues.
> 
> It sounds to me like simply saying:
> 
> setTimout(handler, ms):
>   When called will schedule a event 'ms' milliseconds after the function
>   is called. When the event fires 'handler' is called.
> 
> would make it a bug to not fire the event and produce any side effects 
> that it would have. For exactly the same reasons that canceling a 
> pending XHR request would be a bug.

The above would also mean that the timeout would fire even after the 
document has been closed, which is not what we want.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 13 November 2008 23:14:30 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:07 UTC