[wpt-sync] Sync PR 35960 - [beacon-api] Fix sendondiscard web tests's assertions
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox107 fixed)
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 35960 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/35960
Details from upstream follow.
Ming-Ying Chung <mych@chromium.org> wrote:
[beacon-api] Fix sendondiscard web tests's assertions
Move sendondiscard web tests to
wpt_internal/
:Tests in this file were not working properly as the BackgroundSync
permission is set toDenied
by default in the web test runner.
Moving towpt_internal/
allows the use of
internals.setPermission()
API.There was also a bug in
expectBeacon()
function which didn't
check the total number of sent beacons properly.This CL fixes the above issues.
Bug: 1293679,1364348
Change-Id: Ia037080f94303279154fa0d71d33cf364712590c
Reviewed-on: https://chromium-review.googlesource.com/3907264
WPT-Export-Revision: 2078510cf36d6b56358cf9e000c0f734f80cdfda
Assignee | ||
Comment 1•9 months ago
|
||
PR 35960 applied with additional changes from upstream: 55f82d7bde45475d65ca1ca9f71d62f740517801
Assignee | ||
Comment 2•8 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=cd8ea114d1cc6ef3ed7176c815d6f501ab845828
Assignee | ||
Comment 3•8 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=32a6314a977ca2e63386555ed066439b1102e68e
Assignee | ||
Comment 4•8 months ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 7 tests
Status Summary
Firefox
ERROR
: 7
Chrome
ERROR
: 7
Safari
ERROR
: 7
Links
Details
New Tests That Don't Pass
- /pending_beacon/pending_beacon-basic.tentative.window.html [wpt.fyi]:
ERROR
(Chrome:ERROR
, Safari:ERROR
) - /pending_beacon/pending_beacon-deactivate.tentative.window.html [wpt.fyi]:
ERROR
(Chrome:ERROR
, Safari:ERROR
) - /pending_beacon/pending_beacon-sendnow.tentative.window.html [wpt.fyi]:
ERROR
(Chrome:ERROR
, Safari:ERROR
) - /pending_beacon/pending_get_beacon-cors.tentative.https.window.html [wpt.fyi]:
ERROR
(Chrome:ERROR
, Safari:ERROR
) - /pending_beacon/pending_get_beacon-send.tentative.window.html [wpt.fyi]:
ERROR
(Chrome:ERROR
, Safari:ERROR
) - /pending_beacon/pending_post_beacon-cors.tentative.https.window.html [wpt.fyi]:
ERROR
(Chrome:ERROR
, Safari:ERROR
) - /pending_beacon/pending_post_beacon-sendwithdata.tentative.window.html [wpt.fyi]:
ERROR
(Chrome:ERROR
, Safari:ERROR
)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3c939d46ada4 [wpt PR 35960] - [beacon-api] Fix sendondiscard web tests's assertions, a=testonly https://hg.mozilla.org/integration/autoland/rev/066b8de74130 [wpt PR 35960] - Update wpt metadata, a=testonly
Comment 6•8 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3c939d46ada4
https://hg.mozilla.org/mozilla-central/rev/066b8de74130
Description
•