зеркало из https://github.com/mozilla/pjs.git
Backout asserts added for bug 637214 (a=orange).
This commit is contained in:
Родитель
5f491761d5
Коммит
9d4c7c5620
|
@ -2625,9 +2625,6 @@ nsDocument::RemoveFromNameTable(Element *aElement, nsIAtom* aName)
|
|||
void
|
||||
nsDocument::AddToIdTable(Element *aElement, nsIAtom* aId)
|
||||
{
|
||||
NS_ASSERTION(!nsContentUtils::IsSafeToRunScript(),
|
||||
"Scripts should be blocked when manipulating the ID table");
|
||||
|
||||
nsIdentifierMapEntry *entry =
|
||||
mIdentifierMap.PutEntry(nsDependentAtomString(aId));
|
||||
|
||||
|
@ -2640,8 +2637,6 @@ void
|
|||
nsDocument::RemoveFromIdTable(Element *aElement, nsIAtom* aId)
|
||||
{
|
||||
NS_ASSERTION(aId, "huhwhatnow?");
|
||||
NS_ASSERTION(!nsContentUtils::IsSafeToRunScript(),
|
||||
"Scripts should be blocked when manipulating the ID table");
|
||||
|
||||
// Speed up document teardown
|
||||
if (mIdentifierMap.Count() == 0) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче