[Webkit-unassigned] [Bug 36375] New: Worker's onerror handler should accept ErrorEvent as only argument instead of three arguments
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 19 10:29:54 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=36375
Summary: Worker's onerror handler should accept ErrorEvent as
only argument instead of three arguments
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: yurys at chromium.org
CC: fishd at chromium.org, levin at chromium.org,
jianli at chromium.org
According to the spec
(http://www.whatwg.org/specs/web-workers/current-work/#runtime-script-errors):
WorkerGlobalScope object's onerror attribute is an EventListener that is
supposed to be invoked with ErrorEvent instance. In the current implementation
onerror attribute is supposed to be a function that accepts three
params(matching fields of ErrorEvent). Once this is fixed we could try and use
EventListener::handleEvent for reporting the error and get rid of
EventListener::reportError.
--
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