Bug 42142

Summary: HTMLTreeBuilder: JavaScript line numbers are wrong if there is more than one script tag
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: abarth, tonyg
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Eric Seidel (no email)
Reported 2010-07-12 22:19:17 PDT
HTMLTreeBuilder: JavaScript line numbers are wrong if there is more than one script tag Example: <script></script> <script>var\u0009x;</script> CONSOLE MESSAGE: line 1: SyntaxError: Parse error Even though it should be line number 5.
Attachments
Eric Seidel (no email)
Comment 1 2010-07-12 22:20:25 PDT
It's because we haven't done the , m_lastScriptElementStartLine(uninitializedLineNumberValue) stuff.
Note You need to log in before you can comment on or make changes to this bug.