ServiceWorker: Ensure live registration during starting worker
Starting service worker requires a reference to the live registration in
order to expose a registration object within SWGlobalScope but no one has
ensured the liveness of the registration during the startup sequence.
This CL makes SWVersion to ensure the live registration during the period.
BUG=465254
TEST=content_browsertests --gtest_filter=ServiceWorkerVersionBrowserTest.*
TEST=content_unittests --gtest_filter=ServiceWorkerVersion*
Review URL: https://codereview.chromium.org/
996123002
Cr-Commit-Position: refs/heads/master@{#320477}