Re: [whatwg] Web Workers and postMessage(): Questions

2009-08-12 Thread Ian Hickson
On Mon, 3 Aug 2009, Daniel Gredler wrote: On Sat, Aug 1, 2009 at 4:59 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 22 Jul 2009, Daniel Gredler wrote: Second, why not walk the prototype chain? Similar rules regarding host objects and regular objects could apply to prototypes. You

Re: [whatwg] Web Workers and postMessage(): Questions

2009-08-07 Thread Jonas Sicking
On Mon, Aug 3, 2009 at 4:14 PM, Robert O'Callahanrob...@ocallahan.org wrote: On Tue, Aug 4, 2009 at 5:34 AM, Daniel Gredler daniel.gred...@gmail.com wrote: I know Anne VK (Opera) and ROC (Mozilla) appear to read this list... any comments, guys? Should I just file bugs? Any Safari / Chrome /

Re: [whatwg] Web Workers and postMessage(): Questions

2009-08-03 Thread Daniel Gredler
On Sat, Aug 1, 2009 at 4:59 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 22 Jul 2009, Daniel Gredler wrote: First, why does the structured clone algorithm used by postMessage() [1] throw an exception if it encounters cycles? It seems to me that the memory-based logic which is used to

Re: [whatwg] Web Workers and postMessage(): Questions

2009-08-03 Thread Drew Wilson
On Mon, Aug 3, 2009 at 10:34 AM, Daniel Gredler daniel.gred...@gmail.comwrote: I know Anne VK (Opera) and ROC (Mozilla) appear to read this list... any comments, guys? Should I just file bugs? Any Safari / Chrome / IE guys out there with comments? I've often had the same thought (that

Re: [whatwg] Web Workers and postMessage(): Questions

2009-08-03 Thread Anne van Kesteren
On Mon, 03 Aug 2009 19:47:14 +0200, Maciej Stachowiak m...@apple.com wrote: I'd prefer to stick with JSONic object graphs for now. Correctly cloning more complicated object structures is a fair bit more complicated, so I'd like to get solid interop on the basic cases first. Also, the idea is

Re: [whatwg] Web Workers and postMessage(): Questions

2009-08-03 Thread Maciej Stachowiak
On Aug 3, 2009, at 10:34 AM, Daniel Gredler wrote: On Sat, Aug 1, 2009 at 4:59 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 22 Jul 2009, Daniel Gredler wrote: First, why does the structured clone algorithm used by postMessage() [1] throw an exception if it encounters cycles? It seems to

Re: [whatwg] Web Workers and postMessage(): Questions

2009-08-03 Thread Robert O'Callahan
On Tue, Aug 4, 2009 at 5:34 AM, Daniel Gredler daniel.gred...@gmail.comwrote: I know Anne VK (Opera) and ROC (Mozilla) appear to read this list... any comments, guys? Should I just file bugs? Any Safari / Chrome / IE guys out there with comments? I know very little about these issues. Jonas

[whatwg] Web Workers and postMessage(): Questions

2009-07-22 Thread Daniel Gredler
Hi all, I've been writing some code that uses web workers. It's a very nice addition to the HTML toolbox (kudos!), but I have some questions: First, why does the structured clone algorithm used by postMessage() [1] throw an exception if it encounters cycles? It seems to me that the memory-based