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. )
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.
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