Backed out changeset 760107333833 (bug 1420178) for assertion failure at dom/base/CustomElementRegistry.cpp:1065 in browser-chrome on Windows. r=backout on a CLOSED TREE

This commit is contained in:
Csoregi Natalia 2018-01-10 11:27:26 +02:00
parent 5ec8060d2b
commit ce986a196a

View File

@ -1061,8 +1061,6 @@ CustomElementReactionsStack::Enqueue(Element* aElement,
// Add element to the backup element queue.
MOZ_ASSERT(mReactionsStack.IsEmpty(),
"custom element reactions stack should be empty");
MOZ_ASSERT(!GetIncumbentGlobal(),
"Custom element reaction should not be scheduled to backup queue if it is from author code");
MOZ_ASSERT(!aReaction->IsUpgradeReaction(),
"Upgrade reaction should not be scheduled to backup queue");
mBackupQueue.AppendElement(aElement);