requestIdleCallback: Schedule idle timeout tasks asynchronously when unpausing
When the execution context is unpaused, schedule any pending idle callback timeout tasks as asynchronous tasks instead of running them directly. This is because it's not allowed to execute script directly from lifecycle callbacks. Bug: 1110503 Change-Id: I37dc6a6a41bf1f1bf7953073f7824222409cdffa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2335446Reviewed-by:Ross McIlroy <rmcilroy@chromium.org> Reviewed-by:
Mason Freed <masonfreed@chromium.org> Commit-Queue: Sami Kyöstilä <skyostil@chromium.org> Cr-Commit-Position: refs/heads/master@{#794974}
Showing
Please register or sign in to comment