Bug 28838 - DOM parser dies while parsing some comment tags
Summary: DOM parser dies while parsing some comment tags
Status: RESOLVED DUPLICATE of bug 16722
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://crbug.com/19356
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-30 22:55 PDT by Jerome Leclanche
Modified: 2009-09-01 10:36 PDT (History)
0 users

See Also:


Attachments
Testcase (309 bytes, text/html)
2009-08-30 22:56 PDT, Jerome Leclanche
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Leclanche 2009-08-30 22:55:15 PDT
The parser seems to die if there is an open comment (<!--) within a script tag which is closed outside the script tag.
See testcase.

Originally reported at http://crbug.com/19356

(This is pretty major, but I'm not sure about severity levels here so leaving Normal)
Comment 1 Jerome Leclanche 2009-08-30 22:56:18 PDT
Created attachment 38800 [details]
Testcase
Comment 2 Jerome Leclanche 2009-08-31 02:30:50 PDT
Happens on all platforms
Comment 3 Alexey Proskuryakov 2009-09-01 10:36:23 PDT
According to html5lib, WebKit behavior matches the spec here.

*** This bug has been marked as a duplicate of bug 16722 ***