| Index: third_party/WebKit/LayoutTests/http/tests/fetch/resources/fetch-test-helpers.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/fetch/resources/fetch-test-helpers.js b/third_party/WebKit/LayoutTests/http/tests/fetch/resources/fetch-test-helpers.js
|
| index 0fb8dd787cb37aa43e6d5bd5b6a4d13d5240b691..0d8426e37cfb924d405e3c91fb5f6cfac14bb9d8 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/fetch/resources/fetch-test-helpers.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/fetch/resources/fetch-test-helpers.js
|
| @@ -187,7 +187,7 @@ function testBlockMixedContent(mode) {
|
| return fetch(HTTPS_REDIRECT_URL +
|
| encodeURIComponent(HTTPS_BASE_URL + 'test4-' + mode),
|
| {mode: mode})
|
| - .then(function(res) {assert_equals(res.status, 200); },
|
| + .then(function(res) {assert_equals(res.status, mode == 'no-cors' ? 0 : 200); },
|
| t.unreached_func('Test 4: Must success (' +
|
| mode + ', HTTPS->HTTPS->HTTPS)'));
|
| })
|
|
|