DescriptionServiceWorker: Support SWRegistration.unregister() in SWGlobalScope [2/2]
SWRegistration.unregister() depends on WebSWProvider, but it's not available
in SWGlobalScope because the provider isn't supplied on the worker startup
sequence. This series of CLs make it available and support unregister() in
the service worker context.
This CL defines createServiceWorkerProvider() interface and actually provides
ServiceWorkerContainerClient object.
[1] Chromium: https://codereview.chromium.org/893363003/
[2] Blink: THIS PATCH
BUG=452910
TEST=run-webkit-tests http/tests/serviceworker/ServiceWorkerGlobalScope
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189616
Patch Set 1 #Patch Set 2 : WIP: add test #
Total comments: 2
Patch Set 3 : ready to review #
Total comments: 2
Patch Set 4 : return nullptr instead of 0 #
Total comments: 12
Patch Set 5 : rebase #Patch Set 6 : update layout tests and header comment #
Messages
Total messages: 18 (8 generated)
|