[Background Fetch] Remove records_ from BackgroundFetchRegistration.
This had been introduced to simplify access to active fetches, but has the following issues: 1. It makes match() and matchAll() inconsistent with Cache API's match() and matchAll(), which return new independently-consumable response(s) every time they're called. 2. It breaks retries for responses, when downloading from a server that doesn't support resuming of downloads. For details, see https://docs.google.com/document/d/1CrbWrnnshhyp_SfiAeuODpnQX36GK3Bsi19rXQGez6Q/edit?usp=sharing The CL also updates the WPT test accordingly. Bug: 875201 Change-Id: I2c33717cbee36f0d707e814506c0bae9b5a4f31f Reviewed-on: https://chromium-review.googlesource.com/c/1355121 Commit-Queue: Mugdha Lakhani <nator@chromium.org> Reviewed-by:Peter Beverloo <peter@chromium.org> Cr-Commit-Position: refs/heads/master@{#613079}
Showing
Please register or sign in to comment