diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index d199996a1..7cb5279bc 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -8379,6 +8379,8 @@ nsCSSFrameConstructor::EndUpdate() void nsCSSFrameConstructor::RecalcQuotesAndCounters() { + nsAutoScriptBlocker scriptBlocker; + if (mQuotesDirty) { mQuotesDirty = false; mQuoteList.RecalcAll();