Open Bug 529501 Opened 15 years ago Updated 2 years ago

[HTML5] Make fragment modeness a permanent characteristic of a parser instance

Categories

(Core :: DOM: HTML Parser, defect, P4)

defect

Tracking

()

People

(Reporter: hsivonen, Unassigned)

Details

Currently, any given instance of the HTML5 parser will either be a one-time full document parser or a recycled fragment parser. Yet, this isn't documented or asserted anywhere and calling Reset() on the parser hasn't been tested to work right for full-document parsing.

Since there are currently no plans to recycle full document parsers, fragment parser instances should be permanently flagged as fragment parsers (so that Reset() doesn't change this) and entry points should assert accordingly.
Priority: -- → P3
Priority: P3 → P4
Severity: trivial → S4
You need to log in before you can comment on or make changes to this bug.