Open Bug 1442824 Opened 7 years ago Updated 2 years ago

Perform AddPostRefreshObserver for promiseDocumentFlushed called inside a MicroTask checkpoint in CallDocumentFlushedResolvers/CancelDocumentFlushedResolvers


(Core :: DOM: Core & HTML, enhancement, P3)





(Reporter: arai, Unassigned)



In bug 1442218, I added a logic to add observer when a Promise callback calls promiseDocumentFlushed inside a MicroTask checkpoint inside CallDocumentFlushedResolvers/CancelDocumentFlushedResolvers.

Basically we should be able to add observer inside promiseDocumentFlushed,
by detecting the fact that it's inside that MicroTask checkpoint, or just by unsetting mObservingDidRefresh while performing the checkpoint.
Component: Toolbars and Customization → DOM
Product: Firefox → Core
Priority: -- → P3
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.