Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1705222 [wpt PR 28484] - Background Fetch: use permission context…
… directly when initiating fetch., a=testonly Automatic update from web-platform-tests Background Fetch: use permission context directly when initiating fetch. This reduces duplicated logic between BackgroundFetchDelegateImpl and BackgroundFetchPermissionContext. It also forces the logic to align. Specifically, the permission context returned ALLOW when automatic DLs were allowed, but the implementation enforced ASK even if auto DLs are allowed. This temporarily regresses WebLayer because there's no Background Fetch permission context there, but that will be addressed soon. Bug: 1189247, 1057770 Change-Id: I5441f00835c186826927d2ef38612c8e55eb049f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2800512 Commit-Queue: Evan Stade <[email protected]> Reviewed-by: Nasko Oskov <[email protected]> Reviewed-by: Mugdha Lakhani <[email protected]> Cr-Commit-Position: refs/heads/master@{#872641} -- wpt-commits: c7646854131fe696fa38ae8b5e3e611dc6f52d19 wpt-pr: 28484
- Loading branch information