DescriptionServiceWorker: Add a function to abort all pending jobs in SWJobCoordinator
This will be used in the corruption recovery process.
The process try to shutdown ServiceWorkerCoordinator and abort pending jobs
retained by the coordinator to reject waiting promises.
BUG=371675
TEST=content_unittest --gtest_filter=ServiceWorkerJobTest.AbortAll_*
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278677
Patch Set 1 : #
Total comments: 10
Patch Set 2 : address comments and add test cases #
Total comments: 12
Patch Set 3 : fix for falken@'s comments #
Total comments: 2
Patch Set 4 : revert to PS2 #Messages
Total messages: 13 (0 generated)
|