mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
Bug 1419305 - Part 1: Use MicroTask on CustomElements correctly
Tag UXP Issue #1344
This commit is contained in:
parent
249667092c
commit
8a0e7286e0
2 changed files with 7 additions and 8 deletions
|
|
@ -1019,9 +1019,8 @@ CustomElementReactionsStack::Enqueue(Element* aElement,
|
|||
}
|
||||
|
||||
CycleCollectedJSContext* context = CycleCollectedJSContext::Get();
|
||||
RefPtr<ProcessBackupQueueRunnable> processBackupQueueRunnable =
|
||||
new ProcessBackupQueueRunnable(this);
|
||||
context->DispatchToMicroTask(processBackupQueueRunnable.forget());
|
||||
RefPtr<BackupQueueMicroTask> bqmt = new BackupQueueMicroTask(this);
|
||||
context->DispatchMicroTaskRunnable(bqmt.forget());
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue