Bug 19800

Summary: Exception given wrong line number
Product: WebKit Reporter: Oliver Hunt <oliver>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: barraclough, ggaren, mjs, sam, zwarich
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://kevlindev.com/alife/lsystems/lsystems.svg
Attachments:
Description Flags
Reduction none

Oliver Hunt
Reported 2008-06-28 03:46:13 PDT
The referenced page reports an exception at line 83, when it actually happens at line 69
Attachments
Reduction (349 bytes, image/svg+xml)
2009-04-20 21:13 PDT, Cameron Zwarich (cpst)
no flags
Cameron Zwarich (cpst)
Comment 1 2009-04-20 21:13:11 PDT
Created attachment 29639 [details] Reduction Here's a reduction that's off by one line.
Cameron Zwarich (cpst)
Comment 2 2009-04-20 21:22:01 PDT
This off-by-one error occurs because the inspector doesn't include the first line of the document: <?xml version="1.0" encoding="utf-8" standalone="no"?> I think Oliver's original example is more complicated than this.
Gavin Barraclough
Comment 3 2012-03-08 17:59:27 PST
Works for me in ToT, please reopen if you can still reproduce a problem.
Note You need to log in before you can comment on or make changes to this bug.