Use UUID for ServiceWorker Client identifier (2/3, chromium)
We used to use ServiceWorkerVersion-local identifier for clients but this patch
changes the ID to global UUID one. Since it changes some security assumption
I also added code to check the origin, so that ServiceWorker can only talk to
the clients that are in the same origin.
Spec issue: https://github.com/slightlyoff/ServiceWorker/issues/634
More context: https://github.com/slightlyoff/ServiceWorker/issues/609
To be landed in 3 patches:
1/3: blink-side patch https://crrev.com/
990583002/
2/3: THIS
3/3: blink-side cleanup
BUG=464668
Review URL: https://codereview.chromium.org/
988063004
Cr-Commit-Position: refs/heads/master@{#320451}