Closed Bug 1846903 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 41311 - [ComputePressure] Use AbortError for unobserve/disconnect method

Categories

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

task

Tracking

(firefox118 fixed)

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Wei4 Wang <wei4.wang@intel.com> wrote:

[ComputePressure] Use AbortError for unobserve/disconnect method

According to the spec [1][2], pendingPromise should reject with an
AbortError when calling unobserve/disconnect method.

[1] https://www.w3.org/TR/compute-pressure/#the-unobserve-method
[2] https://www.w3.org/TR/compute-pressure/#the-disconnect-method

Bug: none
Change-Id: Icd83d62ae391738d883ba249d27a366673d48094
Reviewed-on: https://chromium-review.googlesource.com/4738336
WPT-Export-Revision: 7c65a4a350fa9f740de9f22c606426e125d53f1c

CI Results

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

Total 9 tests and 2 subtests

Status Summary

Firefox

OK : 9
FAIL: 24

Chrome

OK : 9
FAIL: 24

Safari

OK : 9
FAIL: 24

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by ctuns@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/94e6df83423d [wpt PR 41311] - [ComputePressure] Use AbortError for unobserve/disconnect method, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in before you can comment on or make changes to this bug.