ServiceWorker: Implement SWInstalledScriptsSender
This is 7th patch of script streaming project split off from https://chromium-review.googlesource.com/c/538477. Design doc: https://docs.google.com/document/d/1BbETxB2K1GeGUv4XIvGGforAJRRgYSNX5x4vPTGsCPU/edit This patch implements SWInstalledScriptsSender to push the installed scripts over mojo pipes from the browser to the renderer. The sender is started when ServiceWorkerVersion asks EmbeddedWorkerInstance to start the worker. That means that scripts will be received on the io thread immediately after binding the Mojo interface. From this patch, "--enable-features=ServiceWorkerScriptStreaming" takes effect. When LayoutTests under virtual/service-worker-script-streaming fail, please add TestExpectations and report it to https://crbug.com/683037. Bug: 683037 Change-Id: I5aef2cff6026ae3afa004932f77064f24ba8bfc7 Reviewed-on: https://chromium-review.googlesource.com/563144 Commit-Queue: Makoto Shimazu <shimazu@chromium.org> Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#488576}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment