[wpt-sync] Sync PR 47877 - DOM: Implement the `Observable#catch()` operator
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox131 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 47877 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47877
Details from upstream follow.
Dominic Farolino <dom@chromium.org> wrote:
DOM: Implement the
Observable#catch()
operatorSee https://github.com/WICG/observable/pull/172.
Bug: 40282760
Change-Id: I6b117b34ddcbed0a7ac18d4c66121350b0e864c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5823731
Commit-Queue: Dominic Farolino \<dom@chromium.org>
Reviewed-by: Mason Freed \<masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1348932}
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Comment 1•6 months ago
|
||
Assignee | ||
Comment 2•6 months ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 9 subtests
Status Summary
Firefox
OK
: 2
FAIL
: 18
Chrome
FAIL
: 13
ERROR
: 2
Safari
OK
: 2
FAIL
: 18
Links
Details
New Tests That Don't Pass
- /dom/observable/tentative/observable-catch.any.worker.html [wpt.fyi]
- catch(): Returns an Observable that is a pass-through for next()/complete():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - catch(): Handle errors from source and flatten to a new Observable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - catch(): Errors thrown in the catch() callback are sent to the consumer's error handler:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - catch(): CatchHandler can return an empty iterable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - catch(): CatchHandler can return a Promise:
FAIL
(Safari:FAIL
) - catch(): should handle returning an async iterable:
FAIL
(Safari:FAIL
) - catch(): CatchHandler emits an error if the value returned is not convertible to an Observable:
FAIL
(Safari:FAIL
) - catch(): CatchHandler returns an Observable that throws immediately on subscription:
FAIL
(Safari:FAIL
) - catch(): Abort order between outer AbortSignal and inner CatchHandler subscriber's AbortSignal:
FAIL
(Safari:FAIL
)
- catch(): Returns an Observable that is a pass-through for next()/complete():
- /dom/observable/tentative/observable-catch.any.html [wpt.fyi]
- catch(): Returns an Observable that is a pass-through for next()/complete():
FAIL
(Chrome:FAIL
, Safari:FAIL
) - catch(): Handle errors from source and flatten to a new Observable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - catch(): Errors thrown in the catch() callback are sent to the consumer's error handler:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - catch(): CatchHandler can return an empty iterable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - catch(): CatchHandler can return a Promise:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - catch(): should handle returning an async iterable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - catch(): CatchHandler emits an error if the value returned is not convertible to an Observable:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - catch(): CatchHandler returns an Observable that throws immediately on subscription:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - catch(): Abort order between outer AbortSignal and inner CatchHandler subscriber's AbortSignal:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- catch(): Returns an Observable that is a pass-through for next()/complete():
Comment 4•6 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2bd918ac8037
https://hg.mozilla.org/mozilla-central/rev/6a0eedf2a189
Description
•