mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 13:40:17 -10:00
This is a hybrid of the previous two approaches. The nsParser weak reference sometimes stays alive after it's been detached from the document, after which attempting to remove it throws. This stores a reference to the original parser, and checks that it's still the current parser when it comes time to resume. MozReview-Commit-ID: 1JSi2FmPxt0