Closed
Bug 483158
Opened 16 years ago
Closed 15 years ago
[HTML5] Make CRLF normalization work with stream rewinding
Categories
(Core :: DOM: HTML Parser, defect, P2)
Tracking
()
RESOLVED
FIXED
People
(Reporter: hsivonen, Assigned: hsivonen)
References
Details
Currently, CRLF normalization in the HTML5 tokenizer overwrites original data in an irreversible and later undetectable way.
Need to make it so that the stream can be tokenized twice correctly. (For speculative parsing.)
The best solution I have come up with so far involves reversing CRLF pairs to LFCR on the first run and skipping CRs on the second run.
Assignee | ||
Updated•16 years ago
|
Priority: -- → P2
Assignee | ||
Updated•16 years ago
|
Summary: Make CRLF normalization work with stream rewinding → [HTML5] Make CRLF normalization work with stream rewinding
Assignee | ||
Comment 1•16 years ago
|
||
Probably the right way to go is to make the tokenizer not write into its input buffer at all.
Assignee | ||
Comment 2•15 years ago
|
||
Fixed in rev 965664cbf73b in HTML5 repo.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•