Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'android'
- Manifest: dom/streams/test/xpcshell/xpcshell.toml
// This test fails if there is an unhandled promise rejection
var stream = new ReadableStream({
pull() {
return Promise.reject("foobar");
},
});
var response = new Response(stream);
var text = response.text().then(
() => {},
() => {}
);