[wpt-sync] Sync PR 36046 - compute pressure: Remove promise with observe method
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox107 fixed)
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 36046 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36046
Details from upstream follow.
Arnaud Mandy <arnaud.mandy@intel.com> wrote:
compute pressure: Remove promise with observe method
The specifications has never used promises for observe method [1]
compute_pressure_disconnect wpt tests are also re-enabled.
Fenced frame testing introduced in [2] is re-implemented as a
content/browser unit test.[1] https://github.com/WICG/compute-pressure/commit/c74a21b66db316a1249f251378bcd2296d5e2f3e
[2] https://chromium-review.googlesource.com/c/chromium/src/+/3820425Bug: 1308303
Change-Id: Iac35115e10c7daa67c84c2bc637c97082bbf77be
Reviewed-on: https://chromium-review.googlesource.com/3867324
WPT-Export-Revision: f04787bab2ca23153a65dc7a0be7bf0028baf18a
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
CI Results
Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 12 tests and 2 subtests
Status Summary
Firefox
OK
: 12
PASS
: 1
FAIL
: 17
Chrome
OK
: 11
PASS
: 6
FAIL
: 12
ERROR
: 1
Safari
OK
: 12
PASS
: 1
FAIL
: 17
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /compute-pressure/compute_pressure_basic.tentative.https.window.html [wpt.fyi]
- An active PressureObserver calls its callback at least once:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- An active PressureObserver calls its callback at least once:
- /compute-pressure/compute_pressure_basic_async.tentative.https.window.html [wpt.fyi]
- Basic functionality test:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Removing observer before observe() resolves works:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Basic functionality test:
- /compute-pressure/compute_pressure_detached_iframe.tentative.https.html [wpt.fyi]
- PressureObserver.observe() on detached frame throws error.:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PressureObserver.disconnect() on detached frame returns:
FAIL
(Chrome:PASS
, Safari:FAIL
) - PressureObserver on detached frame returns with no callback:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- PressureObserver.observe() on detached frame throws error.:
- /compute-pressure/compute_pressure_disconnect.tentative.https.window.html [wpt.fyi]
- Stopped PressureObserver do not receive changes:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Stopped PressureObserver do not receive changes:
- /compute-pressure/compute_pressure_disconnect_idempotent.tentative.https.window.html [wpt.fyi]
- Stopped PressureObserver do not receive changes:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Stopped PressureObserver do not receive changes:
- /compute-pressure/compute_pressure_disconnect_immediately.tentative.https.window.html [wpt.fyi]
- Stopped PressureObserver do not receive changes:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Stopped PressureObserver do not receive changes:
- /compute-pressure/compute_pressure_duplicate_updates.tentative.https.window.html [wpt.fyi]
- Changes that fail the "has change in data" test are discarded.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Changes that fail the "has change in data" test are discarded.:
- /compute-pressure/compute_pressure_multiple.tentative.https.window.html [wpt.fyi]
- Three PressureObserver instances receive changes:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Three PressureObserver instances receive changes:
- /compute-pressure/compute_pressure_multiple_across_iframes.tentative.https.window.html [wpt.fyi]
- Three PressureObserver instances, in different iframes, receive changes:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Three PressureObserver instances, in different iframes, receive changes:
- /compute-pressure/compute_pressure_observe_idempotent.tentative.https.window.html [wpt.fyi]
- PressureObserver.observe() is idempotent:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- PressureObserver.observe() is idempotent:
- /compute-pressure/compute_pressure_observe_unobserve_failure.tentative.https.window.html [wpt.fyi]
- PressureObserver.observe() requires a valid source:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - PressureObserver.unobserve() requires a valid source:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- PressureObserver.observe() requires a valid source:
- /compute-pressure/compute_pressure_take_records.tentative.https.window.html [wpt.fyi]
- Calling takeRecords() before observe():
FAIL
(Chrome:PASS
, Safari:FAIL
) - takeRecords() returns empty record after callback invoke:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Calling takeRecords() before observe():
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2f5900c1ea77
https://hg.mozilla.org/mozilla-central/rev/3f8f762bf92a
Description
•