DescriptionServiceWorker: Use scheduler's default task queue for posting tasks on main thread
This fixes a task ordering bug between WebMessagePortChannelImpl and
ServiceWorkerScriptContext. The former posts tasks via the Blink
scheduler's default task queue, and the latter was using the MessageLoop
directly. This patch makes tasks from service worker to the main thread
go through the scheduler.
BUG=460833
TEST=http/tests/serviceworker/postmessage-msgport-to-client.html
Committed: https://crrev.com/a7fe515e3ca07e260b58ebf460f842601266ed87
Cr-Commit-Position: refs/heads/master@{#318022}
Patch Set 1 #
Messages
Total messages: 11 (2 generated)
|