Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /dom/observable/tentative/crashtests/observable-takeUntil-toArray.any.html - WPT Dashboard Interop Dashboard
- /dom/observable/tentative/crashtests/observable-takeUntil-toArray.any.worker.html - WPT Dashboard Interop Dashboard
// Because we test that the global error handler is called at various times.
promise_test(async () => {
return new Observable(() => {})
.takeUntil(new Observable(() => {})
.inspect({subscribe: () => { throw "KABOOM"; }}))
.toArray();
}, "takeUntil correctly passes error on inner observable to outer observables");