[Webkit-unassigned] [Bug 35302] New: Worker error events do not have their message, filename, and lineno fields properly set
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 23 09:48:14 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=35302
Summary: Worker error events do not have their message,
filename, and lineno fields properly set
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: atwilson at chromium.org
CC: dimich at chromium.org, jianli at chromium.org
If you get an error from trying to load a non-existent script, the resulting
ErrorEvent does not have its message, filename, or lineno fields set - I
expected that at least the message field would be set.
Fail case: put this in a file and load it up in a browser - note that there's
no message field, which makes it hard for developers to figure out why their
worker script isn't loading.
<body>
<script>
var worker = new Worker("foobar.js");
worker.onerror = function(event) {
var a = "";
for (x in event) {
a += x + ": " + event[x] + "\n";
}
alert(a);
}
</script>
</body>
--
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