commit | 9de442989747113525ec0b18fd15b93dd9677a5a | [log] [tgz] |
---|---|---|
author | Mugdha Lakhani <[email protected]> | Thu Jun 07 16:14:53 2018 |
committer | Commit Bot <[email protected]> | Thu Jun 07 16:14:53 2018 |
tree | 267ef1c7c3ffce8d55ea273f8c73e4555270340c | |
parent | d9cf0d0676d512c201d9c53017788bcaedeadc6d [diff] |
[Background Fetch] Abandon fetches when service worker is unavailable. This change adds logic to BackgroundFetch Context to observe service worker events, specifically, unregistration, and wiping of SW database, and implements logic for the unregistration case. It also adds a small unit test to verify the appropriate error code is returned when the service worker is unregistered mid-fetch. Bug: 841385 Change-Id: I0a22489ce79bbffb7a5528c8646522c40e59a799 Reviewed-on: https://chromium-review.googlesource.com/1071651 Commit-Queue: Mugdha Lakhani <[email protected]> Reviewed-by: Kinuko Yasuda <[email protected]> Reviewed-by: Peter Beverloo <[email protected]> Cr-Commit-Position: refs/heads/master@{#565287}
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 .