Closed Bug 1881328 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44712 - DOM: Implement the `drop()` 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 44712 into mozilla-central (this bug is closed when the sync is complete).

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

Dominic Farolino <dom@chromium.org> wrote:

DOM: Implement the drop() Observable operator

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

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

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

R=masonf@chromium.org

Bug: 40282760
Change-Id: I8c012c71675a2625c5120624c4f2a19a4d06462c
Reviewed-on: https://chromium-review.googlesource.com/5294714
WPT-Export-Revision: f8b242b46c143f7c756cbaf74fc65d7fb692290e

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

CI Results

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

Total 2 tests and 7 subtests

Status Summary

Firefox

OK : 2
FAIL: 14

Chrome

OK : 2
FAIL: 14

Safari

OK : 2
FAIL: 14

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /dom/observable/tentative/observable-drop.any.worker.html [wpt.fyi]
    • drop(): Observable should skip the first n values from the source observable, then pass through the rest of the values and completion: FAIL (Chrome: FAIL, Safari: FAIL)
    • drop(): Observable passes through errors from source Observable: FAIL (Chrome: FAIL, Safari: FAIL)
    • drop(): Observable passes through errors from source observable even before drop count is met: FAIL (Chrome: FAIL, Safari: FAIL)
    • drop(): Observable passes through completions from source observable even before drop count is met: FAIL (Chrome: FAIL, Safari: FAIL)
    • drop(): Unsubscribing from the Observable returned by drop() also unsubscribes from the source Observable: FAIL (Chrome: FAIL, Safari: FAIL)
    • drop(): A drop amount of 0 simply mirrors the source Observable: FAIL (Chrome: FAIL, Safari: FAIL)
    • drop(): Passing negative value wraps to maximum value : FAIL (Chrome: FAIL, Safari: FAIL)
  • /dom/observable/tentative/observable-drop.any.html [wpt.fyi]
    • drop(): Observable should skip the first n values from the source observable, then pass through the rest of the values and completion: FAIL (Chrome: FAIL, Safari: FAIL)
    • drop(): Observable passes through errors from source Observable: FAIL (Chrome: FAIL, Safari: FAIL)
    • drop(): Observable passes through errors from source observable even before drop count is met: FAIL (Chrome: FAIL, Safari: FAIL)
    • drop(): Observable passes through completions from source observable even before drop count is met: FAIL (Chrome: FAIL, Safari: FAIL)
    • drop(): Unsubscribing from the Observable returned by drop() also unsubscribes from the source Observable: FAIL (Chrome: FAIL, Safari: FAIL)
    • drop(): A drop amount of 0 simply mirrors the source Observable: FAIL (Chrome: FAIL, Safari: FAIL)
    • drop(): Passing negative value wraps to maximum value : FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/29ee4a773096 [wpt PR 44712] - DOM: Implement the `drop()` Observable operator, a=testonly https://hg.mozilla.org/integration/autoland/rev/2c3d8a9eb427 [wpt PR 44712] - Update wpt metadata, a=testonly
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.