Summary: | [JSC] window.onerror lacks file and line number information for ReferenceErrors | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Offbeatmammal <offbeatmammal> | ||||||||
Component: | WebCore JavaScript | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | NEW --- | ||||||||||
Severity: | Normal | CC: | dominicc, j.mont, rafael.lobo | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
URL: | http://jsErrLog.appspot.com | ||||||||||
Attachments: |
|
Description
Offbeatmammal
2011-06-27 20:23:44 PDT
Created attachment 98857 [details]
Attempt at a repro
(In reply to comment #2) > Works for me in WebKit nightly r89812. the sample repro works fine in r89815 (sorry about earlier typo) but if you change your reference to foo(); to the same as the error above... it fails (if I can work out how to add the sample I will) Created attachment 98859 [details]
Demonstrates the failure case described
Attachment 98859 [details] works as expected on Mac OS X in WebKit nightly r89812 on Mac but fails in WebKit nightly r89815 on Win. This may be specific to JSC on Windows. There are no JSC changes in 89812-89815. Created attachment 99032 [details] screen shot of "foo" sample failing on OSX don't want to be a pain, but on OSX 10.6.7 with r89812 both the "foo" and the "messSage" samples fail to give either line number or script for me Looks like the problem is both OSX and Windows updated to remove [win] specific designation It's also not working for me. I'm using openSUSE 11.4 (x86_64) and I just came across this bug. appears to be working on Safari 6.0 on OSX 10.7.4 (my current test platform) not working in Safari on iOS 5.1.1 (no access to 6.0 yet to test) |