Re: [whatwg] Questions on error handling in web workers

2011-06-16 Thread Ian Hickson
On Wed, 15 Jun 2011, David Levin wrote: The wording in the Web Workers part of the spec about what to do for onerror has confused a number of people. Recently, when asked about it, I thought that it should send through an ErrorEvent when I was pointed at the spec (even though I had seen

Re: [whatwg] Questions on error handling in web workers

2011-06-16 Thread David Levin
On Wed, Jun 15, 2011 at 11:02 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 15 Jun 2011, David Levin wrote: The wording in the Web Workers part of the spec about what to do for onerror has confused a number of people. Recently, when asked about it, I thought that it should send through

Re: [whatwg] Questions on error handling in web workers

2011-06-15 Thread David Levin
On Wed, Jul 15, 2009 at 5:17 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 15 Jul 2009, Jian Li wrote: I have a couple questions regarding error handling in HTML 5 workers. In the spec, it says Whenever a runtime script error occurs in one of the worker's scripts, if the error did not

[whatwg] Questions on error handling in web workers

2009-07-15 Thread Jian Li
I have a couple questions regarding error handling in HTML 5 workers. In the spec, it says Whenever a runtime script error occurs in one of the worker's scripts, if the error did not occur while handling a previous script error, the user agent must report the error using the WorkerGlobalScope

Re: [whatwg] Questions on error handling in web workers

2009-07-15 Thread Ian Hickson
On Wed, 15 Jul 2009, Jian Li wrote: I have a couple questions regarding error handling in HTML 5 workers. In the spec, it says Whenever a runtime script error occurs in one of the worker's scripts, if the error did not occur while handling a previous script error, the user agent must