WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
42142
HTMLTreeBuilder: JavaScript line numbers are wrong if there is more than one script tag
https://bugs.webkit.org/show_bug.cgi?id=42142
Summary
HTMLTreeBuilder: JavaScript line numbers are wrong if there is more than one ...
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug