Bug 1441136: Add a fast way to enumerate ShadowRoots in a document. r=smaug

MozReview-Commit-ID: 7QffP56jsyk
This commit is contained in:
Emilio Cobos Álvarez
2018-03-29 18:49:10 +02:00
parent 12e993f341
commit c94e7011c1
5 changed files with 64 additions and 25 deletions

View File

@@ -8638,6 +8638,7 @@ nsIDocument::DestroyElementMaps()
#endif
mStyledLinks.Clear();
mIdentifierMap.Clear();
mComposedShadowRoots.Clear();
mResponsiveContent.Clear();
IncrementExpandoGeneration(*this);
}