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

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

Issue 1295373003: Remove sequential_promise_test helper, just use promise_test (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove testharness-helpers.js inclusion from bluetooth tests Created 5 years, 4 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 d64d5285dbeefe491336282c7305a4933aae2adc..1b653b2236a88b5a9c161578b4abe52ab7ce6408 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) {
« no previous file with comments | « LayoutTests/http/tests/fetch/script-tests/fetch.js ('k') | LayoutTests/http/tests/fetch/script-tests/stream-reader.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698