Closed Bug 1754196 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 32745 - compute pressure: adding takeRecords()

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

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

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

compute pressure: adding takeRecords()

takeRecords returns all a list of entries since
the last takeRecords.

After takeRecords call, the list is emptied.

disconnect and unobserve also empty the list.

Change-Id: I47c5730436f364d26477958725714b1b339b622c

Reviewed-on: https://chromium-review.googlesource.com/3447268
WPT-Export-Revision: d7739774ee923845d97a9a284073456e14def98e

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

CI Results

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

Total 1 tests and 2 subtests

Status Summary

Firefox

OK : 1
FAIL : 2

Chrome

FAIL : 2
ERROR: 1

Safari

OK : 1
FAIL : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/compute-pressure/compute_pressure_take_records.tentative.https.window.html
Calling takeRecords() before observe(): FAIL (Chrome: FAIL, Safari: FAIL)
takeRecords() returns empty record after callback invoke: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/91c462e52a01
[wpt PR 32745] - compute pressure: Adding takeRecords(), a=testonly
https://hg.mozilla.org/integration/autoland/rev/1bc6c9ba13f9
[wpt PR 32745] - Update wpt metadata, a=testonly
Whiteboard: [wptsync downstream error] → [wptsync downstream]
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.