DescriptionServiceWorker: Make '.ready' return a promise to be resolved with ServiceWorkerRegistration (1/3)
This change makes navigator.serviceWorker.ready return a promise to be resolved
with ServiceWorkerRegistration object instead of ServiceWorker object.
Tests for '.ready' (ie. 'ready.html') are now disabled and those will be
re-enabled by the 3rd patch.
1) Blink: THIS PATCH
2) Chromium: https://codereview.chromium.org/477593007/
3) Blink: https://codereview.chromium.org/532653002/
Spec: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#service-worker-container
BUG=399533
TEST=run_webkit_tests.py --debug http/tests/serviceworker/
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181435
Patch Set 1 : #Patch Set 2 : fix win build #
Total comments: 8
Patch Set 3 : address michaeln@'s comments #Patch Set 4 : remove checkReadyChanged() #
Total comments: 2
Patch Set 5 : update trace() #Patch Set 6 : rebase on 478693005 (Ship Oilpan for serviceworkers/) #
Messages
Total messages: 18 (3 generated)
|