RESOLVED FIXED 23970
HTML parser double quote error recovery doesn't match Firefox 3.0.x
https://bugs.webkit.org/show_bug.cgi?id=23970
Summary HTML parser double quote error recovery doesn't match Firefox 3.0.x
David Kilzer (:ddkilzer)
Reported 2009-02-15 18:45:27 PST
* SUMMARY The page linked to in the URL is blank when loaded in Safari (WebKit) due to the way error recovery is handled for a missing double-quote character within <script></script> tags. The same page is displayed fully in Firefox 3.0.x. * STEPS TO REPRODUCE 1. Launch Safari/WebKit. 2. Open URL or attached test case. * EXPECTED RESULTS The contents of the page should be displayed. * ACTUAL RESULTS Nothing is displayed. * REGRESSION The original page and the test case both are blank in Safari 2.0.4, so this is likely not a regression.
Attachments
Reduced test case (779 bytes, text/html)
2009-02-15 18:46 PST, David Kilzer (:ddkilzer)
no flags
further reduced test case (99 bytes, text/html)
2009-02-15 23:19 PST, Alexey Proskuryakov
no flags
Patch (2.09 KB, patch)
2010-09-21 04:00 PDT, Adam Barth
no flags
David Kilzer (:ddkilzer)
Comment 1 2009-02-15 18:46:45 PST
Created attachment 27687 [details] Reduced test case Originally reported in Bug 12454 Comment #8.
Alexey Proskuryakov
Comment 2 2009-02-15 23:19:59 PST
Created attachment 27688 [details] further reduced test case In fact, the missing quote in JavaScript is handled correctly - it's another missing quote in <img alt="> that's causing the problem.
David Kilzer (:ddkilzer)
Comment 3 2009-02-16 05:47:43 PST
Adam Barth
Comment 4 2010-09-21 04:00:27 PDT
WebKit Commit Bot
Comment 5 2010-09-21 10:05:49 PDT
Comment on attachment 68212 [details] Patch Clearing flags on attachment: 68212 Committed r67962: <http://trac.webkit.org/changeset/67962>
WebKit Commit Bot
Comment 6 2010-09-21 10:05:54 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.