Closed Bug 1879644 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 44514 - DOM: Implement the `filter()` Observable operator

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Dominic Farolino <dom@chromium.org> wrote:

DOM: Implement the filter() Observable operator

This CL implements the semantics specified in
https://wicg.github.io/observable/#dom-observable-filter.

See https://github.com/WICG/observable/pull/112.

For WPTs:
Co-authored-by: ben@benlesh.com

R=masonf@chromium.org

Bug: 1485981
Change-Id: I507cd7bd4117e81e718bb31e496cc4b763d9570a
Reviewed-on: https://chromium-review.googlesource.com/5280443
WPT-Export-Revision: 87d6fc5f65169b4c7108306db6de8e8fe84b7446

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 2 tests and 5 subtests

Status Summary

Firefox

OK : 2
FAIL: 10

Chrome

OK : 2
FAIL: 10

Safari

OK : 2
FAIL: 10

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /dom/observable/tentative/observable-filter.any.worker.html [wpt.fyi]
    • filter(): Returned Observable filters out results based on predicate: FAIL (Chrome: FAIL, Safari: FAIL)
    • filter(): Errors thrown in filter predicate are emitted to Observer error() handler: FAIL (Chrome: FAIL, Safari: FAIL)
    • filter(): Passes complete() through from source Observable: FAIL (Chrome: FAIL, Safari: FAIL)
    • filter(): Passes error() through from source Observable: FAIL (Chrome: FAIL, Safari: FAIL)
    • filter(): Upon source completion, source Observable teardown sequence happens after downstream filter complete() is called: FAIL (Chrome: FAIL, Safari: FAIL)
  • /dom/observable/tentative/observable-filter.any.html [wpt.fyi]
    • filter(): Returned Observable filters out results based on predicate: FAIL (Chrome: FAIL, Safari: FAIL)
    • filter(): Errors thrown in filter predicate are emitted to Observer error() handler: FAIL (Chrome: FAIL, Safari: FAIL)
    • filter(): Passes complete() through from source Observable: FAIL (Chrome: FAIL, Safari: FAIL)
    • filter(): Passes error() through from source Observable: FAIL (Chrome: FAIL, Safari: FAIL)
    • filter(): Upon source completion, source Observable teardown sequence happens after downstream filter complete() is called: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/abfcfb10cf40 [wpt PR 44514] - DOM: Implement the `filter()` Observable operator, a=testonly https://hg.mozilla.org/integration/autoland/rev/203be3388905 [wpt PR 44514] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.