Closed
Bug 273324
Opened 20 years ago
Closed 20 years ago
Hang on unclosed comments in standards mode
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
FIXED
People
(Reporter: mrbkap, Assigned: mrbkap)
References
()
Details
(Keywords: hang, regression)
Attachments
(1 file)
1.16 KB,
patch
|
jst
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
More fallout from bug 88952. I forgot a case where we call
CCommentToken::Consume(), and so on the above page, we never call ConsumeText()
(we just try to consume it as a comment over and over again).
Assignee | ||
Comment 1•20 years ago
|
||
Since I could, I also now set unterminated comments (in standards mode only) as
in error in view-source. The specific fix for this bug is the block in
nsHTMLTokenizer::ConsumeSpecial(). There are no other places that create
comment tokens.
Assignee | ||
Updated•20 years ago
|
Severity: normal → critical
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•20 years ago
|
||
Comment on attachment 167976 [details] [diff] [review]
patch v1
Asking for r=. jst, if you feel like it, feel free to give r+sr=.
Attachment #167976 -
Flags: review?(jst)
Assignee | ||
Comment 3•20 years ago
|
||
Comment on attachment 167976 [details] [diff] [review]
patch v1
As a note, in my tree, I've removed the calls to SetInError(), because if the
text following (in) the comment is longer than a packet, then the highlighting
in view-source will be inconsistant (It'll be <red><!-- Blah blah</red> blah
blah).
Comment 4•20 years ago
|
||
Comment on attachment 167976 [details] [diff] [review]
patch v1
r=jst, but requesting sr from bz.
Attachment #167976 -
Flags: superreview?(bzbarsky)
Attachment #167976 -
Flags: review?(jst)
Attachment #167976 -
Flags: review+
![]() |
||
Comment 5•20 years ago
|
||
Comment on attachment 167976 [details] [diff] [review]
patch v1
Looks reasonable. sr=bzbarsky
Attachment #167976 -
Flags: superreview?(bzbarsky) → superreview+
Assignee | ||
Comment 6•20 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•