Closed Bug 1752976 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 32630 - compute pressure: Adding supportedTargetTypes to API

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 32630 into mozilla-central (this bug is closed when the sync is complete).

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

Arnaud Mandy <arnaud.mandy@intel.com> wrote:

compute pressure: Adding supportedTargetTypes to API

To match existing observers API,
supportedTargetTypes read-only property has been added
to the ComputePressure interface.
It returns an array of TargetType values supported but the user agent.
As the list of supported targets may vary per browser
and will be evolving, this property allows web developers
to check which are available.

Change-Id: Ie1822dd90dcc4027624fc56d80424e6ea5484da1
Bug: 1292466
Reviewed-on: https://chromium-review.googlesource.com/3424278
WPT-Export-Revision: 7d2f5e5c293554ed8acab2499a9b70ae1743b309

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

CI Results

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

Total 1 tests and 3 subtests

Status Summary

Firefox

OK : 1
FAIL: 3

Chrome

OK : 1
PASS: 2
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/compute-pressure/compute_pressure_supported_sources.tentative.https.window.html
ComputePressureObserver should support at least "cpu": FAIL (Chrome: FAIL)
ComputePressureObserver must return always the same array: FAIL (Chrome: PASS)
ComputePressureObserver must return a frozen array: FAIL (Chrome: PASS)

Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6a1dd773ab88
[wpt PR 32630] - compute pressure: Adding supportedSources to API, a=testonly
https://hg.mozilla.org/integration/autoland/rev/34b2126eb612
[wpt PR 32630] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.