mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 21:18:35 +00:00
7485b4ce5c
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 --HG-- extra : rebase_source : fc29ab7cd2074eda5f2c747ff7255a29bcc6f4a2