WPT
wpt / dom / observable / tentative / observable-switchMap.any.worker.html
Spec: DOM ↗
Runs: Chrome 155.0.8043.0 (wpt@b89af32bc, 2026-09-05) | Firefox 157.0a1 (wpt@b89af32bc, 2026-09-05) | Safari 251 preview (wpt@9b965429d, 2026-09-05) | Ladybird 1.0-d25dc (wpt@b89af32bc, 2026-09-05) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 6/6 | 0/6 | 0/6 | 0/6 | 0/6 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| switchMap(): result subscribes to one inner observable at a time, unsubscribing from the previous active one when a new one replaces it | PASS | FAIL | FAIL | FAIL | FAIL | — |
| switchMap(): result does not complete when the source observable completes, if the inner observable is still active | PASS | FAIL | FAIL | FAIL | FAIL | — |
| switchMap(): result emits an error if Mapper callback throws an error | PASS | FAIL | FAIL | FAIL | FAIL | — |
| switchMap(): result emits an error if the source observable emits an error | PASS | FAIL | FAIL | FAIL | FAIL | — |
| switchMap(): result emits an error if the inner observable emits an error | PASS | FAIL | FAIL | FAIL | FAIL | — |
| switchMap(): should unsubscribe in the correct order when user aborts the subscription | PASS | FAIL | FAIL | FAIL | FAIL | — |