Bug 467005. Be smarter about our removable script blockers. r=sicking, sr=jst, a=dveditz

git-svn-id: svn://10.0.0.236/trunk@259161 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2009-12-03 19:11:13 +00:00
parent 5e6b55bab6
commit dabf286525
9 changed files with 69 additions and 27 deletions

View File

@@ -498,7 +498,7 @@ nsGenericDOMDataNode::SetTextInternal(PRUint32 aOffset, PRUint32 aCount,
nsNodeUtils::CharacterDataChanged(this, &info);
if (haveMutationListeners) {
mozAutoRemovableBlockerRemover blockerRemover;
mozAutoRemovableBlockerRemover blockerRemover(GetOwnerDoc());
nsMutationEvent mutation(PR_TRUE, NS_MUTATION_CHARACTERDATAMODIFIED);