Description[Background Sync] Allow sync manager access from uncontrolled clients
This patch removes the requirement for the caller of a BackgroundSync
manager method to be either a service worker or a controlled client.
Now, uncontrolled clients are also able to access the manager, and Blink
informs the browser whether a registration request came from a Service
Worker or not. (Service Workers are still required to have at least one
active window client in order to register sync events; this is enforced
in the browser).
This is part 3 of a four-part blink-chromium-blink dance.
Part 1: https://codereview.chromium.org/1309393003
Part 2: https://codereview.chromium.org/1324903002
Part 3: https://codereview.chromium.org/1316743002 (this patch)
Part 4: https://codereview.chromium.org/1314453003
(This was originally landed as https://crrev.com/d7c429ff6d306e720d6b0e7b64be25c8efad82d8
Cr-Commit-Position: refs/heads/master@{#346459}
but was reverted.)
BUG=518884
Committed: https://crrev.com/6371c54e48ba7b74d6cd3f0d161f52e0a69b111a
Cr-Commit-Position: refs/heads/master@{#346719}
Patch Set 1 #Patch Set 2 : Rebase #
Total comments: 2
Messages
Total messages: 26 (6 generated)
|