Description[ServiceWorker] Don't send fetch event to the ServiceWorker if the page is not controled by it yet.
Currenty active_version() is used to check whether the page is under the control of the ServiceWorker.
But this is not correct.
We have to use controlling_version().
BUG=417351
TEST=http/tests/serviceworker/uncontrolled-page.html in https://codereview.chromium.org/600843003
Committed: https://crrev.com/bb0a225bc67c750c0c53c5ce99be9f505954409e
Cr-Commit-Position: refs/heads/master@{#296643}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|