diff --git a/content/base/src/nsDocument.cpp b/content/base/src/nsDocument.cpp index 4071426dc1f..ff97dbbd12f 100644 --- a/content/base/src/nsDocument.cpp +++ b/content/base/src/nsDocument.cpp @@ -346,9 +346,6 @@ nsIdentifierMapEntry::FireChangeCallbacks(Element* aOldElement, Element* aNewElement, PRBool aImageOnly) { - NS_ASSERTION(!nsContentUtils::IsSafeToRunScript(), - "Missing script blockers around code that modifies id-hash"); - if (!mChangeCallbacks) return;