[Webkit-unassigned] [Bug 28932] WorkerContext::reportException() should dispatch exceptions to event listeners

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 5 08:32:17 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28932


Andrew Wilson <atwilson at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|                            |INVALID
             Status|NEW                         |RESOLVED




--- Comment #1 from Andrew Wilson <atwilson at chromium.org>  2009-09-05 08:32:16 PDT ---
Re-reading the spec, I believe this I was incorrect.

Section 4.7 says:
"Whenever an uncaught 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 object's onerror
attribute. [HTML5]"

Once the error has been fired at the onerror attribute, *then* it's turned into
an event and sent back to the parent worker (which we correctly do now). But we
don't need to fire an event in worker scope.

Resolving this bug as invalid.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list