Bug 12700 - JavaScript errors in XML documents have incorrect line numbers
Summary: JavaScript errors in XML documents have incorrect line numbers
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2007-02-08 12:27 PST by Geoffrey Garen
Modified: 2008-11-28 13:12 PST (History)
1 user (show)

See Also:

reduction.xhtml (262 bytes, application/xhtml+xml)
2007-02-08 12:28 PST, Geoffrey Garen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoffrey Garen 2007-02-08 12:27:14 PST
Reduction forthecoming.
Comment 1 Geoffrey Garen 2007-02-08 12:28:24 PST
Created attachment 13062 [details]

This reduction reports an exception on line 1, instead of 9. Change it to a .html extension and you get line 9.
Comment 2 Sam Weinig 2007-02-08 15:17:12 PST
I am having trouble reproducing this. In ToT and shipping I am sometimes getting the error on line 857 (which is admittedly not line 9) and not always line 1.  
Comment 3 Alexey Proskuryakov 2008-11-28 13:12:08 PST
Works for me with r38816.