PlzDedicatedWorker: Inherits the service worker of a creator document
According to the spec, "Window clients and worker clients with a blob URL can inherit the active service worker of their creator document or owner". https://w3c.github.io/ServiceWorker/#control-and-use-worker-client In this CL, DedicatedWorker created from a blob URL inherits its creator document's ServiceWorkerContainerHost. The creator's ServiceWorkerContainerHost is stored in SWMainResourceHandleCore. A container host inherits a controller from creator's host in SWMainResourceLoaderInterceptor if the URL is a blob URL and the creator's host exists. Bug: 1017034 Change-Id: I07599794c3a49d91898caa18a4cbfe395754085d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2409472Reviewed-by:Makoto Shimazu <shimazu@chromium.org> Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Hiroki Nakagawa <nhiroki@chromium.org> Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#825790}
Showing
Please register or sign in to comment