Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Unified Diff: LayoutTests/http/tests/fetch/script-tests/filtered-response.js

Issue 1216203003: Replace all sequential_promise_tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@update-testharnessjs
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/fetch/script-tests/filtered-response.js
diff --git a/LayoutTests/http/tests/fetch/script-tests/filtered-response.js b/LayoutTests/http/tests/fetch/script-tests/filtered-response.js
index 1080c0d54a4af8a69df03238037d9d22a25ac187..08cfe327492254e56d1457853e039e12d26c9050 100644
--- a/LayoutTests/http/tests/fetch/script-tests/filtered-response.js
+++ b/LayoutTests/http/tests/fetch/script-tests/filtered-response.js
@@ -48,7 +48,7 @@ var headers_cookies = ['sEt-cOokie', 'sEt-cOokie2'];
// basic filtered response
['same-origin', 'cors'].forEach(function(mode) {
- sequential_promise_test(function(t) {
+ promise_test(function(t) {
return fetch(base_url, {mode: mode})
.then(function(response) {
assert_equals(response.type, 'basic');
@@ -59,14 +59,14 @@ var headers_cookies = ['sEt-cOokie', 'sEt-cOokie2'];
});
// CORS filtered response
-sequential_promise_test(function() {
+promise_test(function() {
return fetch(other_url, {mode: 'cors'})
.then(function(response) {
check_headers(response.headers, headers_common, [], false);
});
}, 'CORS filtered response');
-sequential_promise_test(function() {
+promise_test(function() {
// Access-Control-Expose-Headers with a single header name
return fetch(other_url + '?ACEHeaders=x-teSt', {mode: 'cors'})
.then(function(response) {

Powered by Google App Engine
This is Rietveld 408576698