mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Bug 1352290 - Add assertion to CustomElementReactionsStack::Enqueue to ensure upgrade reactions aren't scheduled to BackupQueue;
Tag UXP Issue #1344
This commit is contained in:
parent
eb9d4bb8df
commit
c0e1a6e397
2 changed files with 15 additions and 0 deletions
|
|
@ -1045,6 +1045,8 @@ CustomElementReactionsStack::Enqueue(Element* aElement,
|
|||
|
||||
// If the custom element reactions stack is empty, then:
|
||||
// Add element to the backup element queue.
|
||||
MOZ_ASSERT(!aReaction->IsUpgradeReaction(),
|
||||
"Upgrade reaction should not be scheduled to backup queue");
|
||||
mBackupQueue.AppendElement(aElement);
|
||||
elementData->mReactionQueue.AppendElement(aReaction);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue