Index: third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/body-mixin.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/body-mixin.js b/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/body-mixin.js |
index c391b7930e48992072dad6d4a30f56cd717e5d95..078afab5c8ad91752021a0c62b62a9a71192dfd3 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/body-mixin.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/body-mixin.js |
@@ -295,4 +295,12 @@ promise_test(t => { |
}); |
}, 'Locked => text'); |
+promise_test(t => { |
+ return fetch('/fetch/resources/slow-failure.cgi').then(response => { |
+ return response.text().then(unreached_fulfillment(t), e => { |
+ assert_equals(e.name, 'TypeError'); |
+ }); |
+ }); |
+ }, 'streaming error'); |
+ |
done(); |