mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1365184 - Fix docgroup mismatch during cycle collection (r=smaug)
MozReview-Commit-ID: Ld68RGU6lmB
This commit is contained in:
parent
32f9f451fa
commit
c1a1aeca32
@ -5087,7 +5087,7 @@ nsDocument::BeginUpdate(nsUpdateType aUpdateType)
|
||||
// in the wrong DocGroup. We're unlikely to run JS or do anything else
|
||||
// observable at this point. We reach this point when cycle collecting a
|
||||
// <link> element and the unlink code removes a style sheet.
|
||||
if (mDocGroup && !mIsGoingAway && !mIgnoreDocGroupMismatches) {
|
||||
if (mDocGroup && !mIsGoingAway && !mInUnlinkOrDeletion && !mIgnoreDocGroupMismatches) {
|
||||
mDocGroup->ValidateAccess();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user