If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

NEW
Unassigned

Status

()

Core
HTML: Parser
P4
trivial
8 years ago
7 years ago

People

(Reporter: hsivonen, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
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.
(Reporter)

Updated

8 years ago
Priority: -- → P3
(Reporter)

Updated

7 years ago
Priority: P3 → P4
You need to log in before you can comment on or make changes to this bug.