WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
21381
Incremental parsing of html causes bogus line numbers in some cases
https://bugs.webkit.org/show_bug.cgi?id=21381
Summary
Incremental parsing of html causes bogus line numbers in some cases
Oliver Hunt
Reported
2008-10-04 23:50:03 PDT
When incremental parsing of an html document pauses midway through a <script> element, reentry to the parser resets the script start line number, leading to somewhat borken behaviour. Originally reported by Tim on
bug #20187
but it turned out be an unrelated issue. (from tim's comment: With the fix for
bug 19053
, this bug can be seen on webkit.org. Just attach the debugger, pause and reload the page. )
Attachments
Fixeration, but no layout test
(3.01 KB, patch)
2008-10-05 00:01 PDT
,
Oliver Hunt
timothy
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Oliver Hunt
Comment 1
2008-10-05 00:01:07 PDT
Created
attachment 24099
[details]
Fixeration, but no layout test I haaven't been able to make a layout test, but i'm sure it should be possible. I am going to see if weinig can help out -- however the patch itself should be reviewable.
Oliver Hunt
Comment 2
2008-10-05 01:29:15 PDT
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M LayoutTests/ChangeLog A LayoutTests/http/tests/incremental/pause-in-script-element-expected.txt A LayoutTests/http/tests/incremental/pause-in-script-element.pl M WebCore/ChangeLog M WebCore/html/HTMLTokenizer.cpp Committed
r37315
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