Closed Bug 1758395 Opened 9 months ago Closed 8 months ago

[wpt-sync] Sync PR 33090 - CloseWatcher: add AbortSignal integration

Categories

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

task

Tracking

(firefox100 fixed)

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Domenic Denicola <domenic@chromium.org> wrote:

CloseWatcher: add AbortSignal integration

See https://github.com/WICG/close-watcher/pull/16.

Bug: 1171318
Change-Id: I775ff5c1ce443187ed3da7b120d4b626accbb129
Reviewed-on: https://chromium-review.googlesource.com/3507773
WPT-Export-Revision: 8fa4d5d4e6413357ceb14d60563ce13cd6795446

Whiteboard: [wptsync downstream] → [wptsync downstream error]

CI Results

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

Total 1 tests and 9 subtests

Status Summary

Firefox

OK : 1
FAIL: 9

Chrome

OK : 1
FAIL: 9

Safari

OK : 1
FAIL: 9

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/close-watcher/abortsignal.html
already-aborted AbortSignal then close() fires no events: FAIL (Chrome: FAIL, Safari: FAIL)
abortController.abort() then close() fires no events: FAIL (Chrome: FAIL, Safari: FAIL)
close() then abortController.abort() fires only one close event: FAIL (Chrome: FAIL, Safari: FAIL)
already-aborted AbortSignal then Esc key fires no events: FAIL (Chrome: FAIL, Safari: FAIL)
abortController.abort() then close via Esc key fires no events: FAIL (Chrome: FAIL, Safari: FAIL)
Esc key then abortController.abort() fires only one close event: FAIL (Chrome: FAIL, Safari: FAIL)
abortController.abort()ing a free CloseWatcher allows a new one to be created without a user activation: FAIL (Chrome: FAIL, Safari: FAIL)
abortController.abort() inside oncancel: FAIL (Chrome: FAIL, Safari: FAIL)
abortController.abort() inside onclose is benign: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3030cd1becef
[wpt PR 33090] - CloseWatcher: add AbortSignal integration, a=testonly
https://hg.mozilla.org/integration/autoland/rev/b400f39135ec
[wpt PR 33090] - Update wpt metadata, a=testonly
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b99f294c98b7
[wpt PR 33090] - CloseWatcher: add AbortSignal integration, a=testonly
https://hg.mozilla.org/integration/autoland/rev/748dae3d4efb
[wpt PR 33090] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.