Don't run normal end-of-parse code when parsing full doc from a string

RESOLVED FIXED in mozilla12

Status

()

Core
HTML: Parser
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: hsivonen, Assigned: hsivonen)

Tracking

Trunk
mozilla12
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
When parsing a full doc from a string, nsHtml5TreeOpExecutor unblocks onload an extra time and causes an assertion. Layout start and scroll to ref code unnecessary, too.
(Assignee)

Comment 1

6 years ago
Created attachment 591715 [details] [diff] [review]
Return earlier from DidBuildModel when working for an nsHtml5StringParser

We didn't have enough DOMParser reftest/crashtest coverage to catch the assertion earlier.
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Attachment #591715 - Flags: review?(bugs)

Updated

6 years ago
Attachment #591715 - Flags: review?(bugs) → review+
(Assignee)

Comment 2

6 years ago
Thanks for the r+.

https://hg.mozilla.org/integration/mozilla-inbound/rev/39b235bc0ac4
https://hg.mozilla.org/mozilla-central/rev/39b235bc0ac4
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
You need to log in before you can comment on or make changes to this bug.