commit | d23de83631a64fc4079c9bf871ddafe72bede03f | [log] [tgz] |
---|---|---|
author | Ting Shao <ting.shao@intel.com> | Thu Apr 18 05:29:17 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Apr 18 05:29:17 2019 |
tree | adeac5204cefc8fefefb36e82c01263d14b22c01 | |
parent | 5f796464d4b1a855abab9409e33ee41e8e8b1d7c [diff] |
ServiceWorker: Extends ServiceWorkerNewScriptloader for resuming paused download If ServiceWorkerImportedScriptUpdateCheck is enabled, there are two phases in updating: byte-to-byte checking and launching a new service worker for install/activate events. If script change is found in phase one, the download of changed script is paused. In the second phase, we need to resume the paused download to avoid making new network request again. This patch is for second phase: Extends ServiceWorkerNewScriptLoader to support resuming download of remaining script data from network. Bug: 648295 Change-Id: I3bde3896d3093dfbfc0b9310a0410473adc3387d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1547410 Commit-Queue: Ting Shao <ting.shao@intel.com> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Reviewed-by: Makoto Shimazu <shimazu@chromium.org> Cr-Commit-Position: refs/heads/master@{#652042}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .