Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reland "[fetch-later] Force sending when BackgroundSync permission is…
… off" This reverts commit 2e63732c1a8b8120630c8678f1443282be5bae59. Reason for revert: Fixed broken WPT. Rebased on the latest change. Original change's description: > Revert "[fetch-later] Force sending when BackgroundSync permission is off" > > This reverts commit d32dc3635147aa9cb4638864865aa6f86f42f2f2. > > Reason for revert: > Caused consistent failures for virtual/fetch-later/wpt_internal/fetch/fetch-later/send-on-deactivate-with-background-sync.tentative.https.window.html > > https://ci.chromium.org/ui/p/chromium/builders/ci/Mac10.15%20Tests/42380/overview > > Original change's description: > > [fetch-later] Force sending when BackgroundSync permission is off > > > > The [privacy decision][1] suggests: after user navigates away from > > a page, any pending requests left in the page should not be sent > > if [BackgroundSync permission][2] is off (default is on in Chrome). > > > > This CL forces sending out deferred requests on entering > > BackForwardCache if the page's BackgroundSync permission is off. > > > > [1]: WICG/pending-beacon#3 (comment) > > [2]: https://wicg.github.io/background-sync/spec/ > > > > Bug: 1465781 > > Change-Id: I120fbbc13294c40fcf13162d5d786f97e2131367 > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4845750 > > Reviewed-by: Nidhi Jaju <nidhijaju@chromium.org> > > Auto-Submit: Ming-Ying Chung <mych@chromium.org> > > Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> > > Reviewed-by: Adam Rice <ricea@chromium.org> > > Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> > > Cr-Commit-Position: refs/heads/main@{#1204080} > > Bug: 1465781 > Change-Id: I09e342e97d52745610d751eb21ee694ccf24976c > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4908141 > Reviewed-by: Cammie Smith Barnes <cammie@chromium.org> > Owners-Override: Cammie Smith Barnes <cammie@chromium.org> > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> > Commit-Queue: Cammie Smith Barnes <cammie@chromium.org> > Auto-Submit: Jian Li <jianli@chromium.org> > Commit-Queue: Jian Li <jianli@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1204260} Bug: 1465781 Change-Id: I7abf6340a23066c0794e4d6010b5ce5ce64c8943
- Loading branch information