[wpt-sync] Sync PR 49589 - [Observable#reduce] Test for complex objects as initial values
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox135 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 49589 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/49589
Details from upstream follow.
Marais Rossouw <me@marais.co> wrote:
[Observable#reduce] Test for complex objects as initial values
We should probably have tests that check that complex objects as initial values, make its way through the promise.
Much like we were doing here: https://github.com/web-platform-tests/wpt/pull/49021
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 1•2 months ago
|
||
Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 8 subtests
Status Summary
Firefox
OK
: 2
FAIL
: 16
Chrome
OK
: 2
PASS
: 16
Safari
OK
: 2
FAIL
: 16
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /dom/observable/tentative/observable-reduce.any.html [wpt.fyi]
- reduce(): Reduces the values of the Observable, starting with the initial seed value:
FAIL
(Chrome:PASS
, Safari:FAIL
) - reduce(): Rejects if the source observable emits an error:
FAIL
(Chrome:PASS
, Safari:FAIL
) - reduce(): Seeds with the first value of the source, if no initial value is provided:
FAIL
(Chrome:PASS
, Safari:FAIL
) - reduce(): Errors thrown in reducer reject the promise and abort the source:
FAIL
(Chrome:PASS
, Safari:FAIL
) - reduce(): When source is empty, promise resolves with initial value:
FAIL
(Chrome:PASS
, Safari:FAIL
) - reduce(): When source is empty, AND no seed value is provided, the promise rejects with a TypeError:
FAIL
(Chrome:PASS
, Safari:FAIL
) - reduce(): Reject with an AbortError if the subscription is aborted before the source completes:
FAIL
(Chrome:PASS
, Safari:FAIL
) - reduce(): Reduces the values for different objects:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- reduce(): Reduces the values of the Observable, starting with the initial seed value:
- /dom/observable/tentative/observable-reduce.any.worker.html [wpt.fyi]
- reduce(): Reduces the values of the Observable, starting with the initial seed value:
FAIL
(Chrome:PASS
, Safari:FAIL
) - reduce(): Rejects if the source observable emits an error:
FAIL
(Chrome:PASS
, Safari:FAIL
) - reduce(): Seeds with the first value of the source, if no initial value is provided:
FAIL
(Chrome:PASS
, Safari:FAIL
) - reduce(): Errors thrown in reducer reject the promise and abort the source:
FAIL
(Chrome:PASS
, Safari:FAIL
) - reduce(): When source is empty, promise resolves with initial value:
FAIL
(Chrome:PASS
, Safari:FAIL
) - reduce(): When source is empty, AND no seed value is provided, the promise rejects with a TypeError:
FAIL
(Chrome:PASS
, Safari:FAIL
) - reduce(): Reject with an AbortError if the subscription is aborted before the source completes:
FAIL
(Chrome:PASS
, Safari:FAIL
) - reduce(): Reduces the values for different objects:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- reduce(): Reduces the values of the Observable, starting with the initial seed value:
https://hg.mozilla.org/mozilla-central/rev/d98647235c29
https://hg.mozilla.org/mozilla-central/rev/98db2912b839
Description
•