| Index: third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js
|
| index 470d3d7a49d77328ae916923e13293be9f64bfc7..92ccdd6fa936ce7de68cf1bd036eb4796230e336 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js
|
| @@ -45,7 +45,11 @@ function makeXHRForJSONArguments(jsonArgs)
|
|
|
| function makeFetch(url, requestInitializer)
|
| {
|
| - return fetch(url, requestInitializer).catch(e => e);
|
| + return fetch(url, requestInitializer).then(res => {
|
| + // Call text(). Otherwise the backpressure mechanism may block loading.
|
| + res.text();
|
| + return res;
|
| + }).catch(e => e);
|
| }
|
|
|
| var initialize_NetworkTest = function() {
|
|
|