DescriptionServiceWorker: Make "ready" fetches registration from browser process(1/3).
This's the Blink side patch to make ServiceWorkerContainer
.ready property more align with the current spec.
Before this change, "ready" could be resolved before user
access it. After this change, "ready" property promise will
only be created the first time accessed. And the request
will be handled by browser process as the associated
registration might not be the matched registration for
"ready".
This means now "ready" maybe resolved with a later
registered longer matched registration other than the
registration associated when navigation.
Chrome CL: https://codereview.chromium.org/894973003/
Test: https://codereview.chromium.org/912443002/
BUG=454726
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191183
Patch Set 1 #Patch Set 2 : add assertion #Patch Set 3 : rename get-ready -> get-for-ready #Patch Set 4 : disable test #Patch Set 5 : pass the build #Patch Set 6 : pass layout tests #
Messages
Total messages: 26 (9 generated)
|