WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
further reduced test case
(99 bytes, text/html)
2009-02-15 23:19 PST
,
Alexey Proskuryakov
no flags
Details
Patch
(2.09 KB, patch)
2010-09-21 04:00 PDT
,
Adam Barth
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
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
Thanks, Alexey! Note that WebKit matches the html5lib parser <
http://james.html5.org/parsetree.html
>:
http://james.html5.org/cgi-bin/parsetree/parsetree.py?uri=https%3A%2F%2Fbugs.webkit.org%2Fattachment.cgi%3Fid%3D27688
Adam Barth
Comment 4
2010-09-21 04:00:27 PDT
Created
attachment 68212
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug