Closed Bug 1788763 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 35748 - [beacon-api] Don't send out beacons if background sync is disabled

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox106 fixed)

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 35748 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/35748
Details from upstream follow.

Ming-Ying Chung <mych@chromium.org> wrote:

[beacon-api] Don't send out beacons if background sync is disabled

Context:

  1. Spec: Post-unload beacons are not sent if background sync is disabled for a site.
  2. Background Sync: the setting available in chrome://settings/content/backgroundSync, which says After you leave a site, it can keep syncing to finish tasks, like uploading photos or sending a chat message.

Bug: 1293679
Change-Id: Idf0d47b7d4e62641c6b2f114f7e8e519fe0644d6
Reviewed-on: https://chromium-review.googlesource.com/3865576
WPT-Export-Revision: 6bf0faec6a149d70748224d184d9b45ed8707507

PR 35748 applied with additional changes from upstream: 74938560647321aed597aa158a4bff731edbd759, f1ef84ca14e9e7f18d82544dfa2191ccab027757, 132606abb6068abac3aad510ede995caa37032de, ac84adaa5a4190f4937db37882ba1e3f00511c68, 3fe0bbd42b7f71b3d5e19fe8306e353081b8a85f

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 8 tests

Status Summary

Firefox

ERROR: 8

Chrome

ERROR: 8

Safari

ERROR: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bfd1bf58c070 [wpt PR 35748] - [beacon-api] Don't send out beacons if background sync is disabled, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.