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

Side by Side Diff: LayoutTests/http/tests/fetch/resources/thorough-util.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 var SCOPE = BASE_ORIGIN + 1 var SCOPE = BASE_ORIGIN +
2 '/fetch/resources/thorough-iframe.html?' + TEST_OPTIONS; 2 '/fetch/resources/thorough-iframe.html?' + TEST_OPTIONS;
3 var IFRAME_ORIGIN = BASE_ORIGIN; 3 var IFRAME_ORIGIN = BASE_ORIGIN;
4 var BASE_URL = BASE_ORIGIN + 4 var BASE_URL = BASE_ORIGIN +
5 '/serviceworker/resources/fetch-access-control.php?'; 5 '/serviceworker/resources/fetch-access-control.php?';
6 var OTHER_BASE_URL = OTHER_ORIGIN + 6 var OTHER_BASE_URL = OTHER_ORIGIN +
7 '/serviceworker/resources/fetch-access-control.php?'; 7 '/serviceworker/resources/fetch-access-control.php?';
8 var REDIRECT_URL = BASE_ORIGIN + 8 var REDIRECT_URL = BASE_ORIGIN +
9 '/serviceworker/resources/redirect.php?Redirect='; 9 '/serviceworker/resources/redirect.php?Redirect=';
10 var OTHER_REDIRECT_URL = OTHER_ORIGIN + 10 var OTHER_REDIRECT_URL = OTHER_ORIGIN +
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 390
391 test_target[2].forEach(function(checkFunc) { 391 test_target[2].forEach(function(checkFunc) {
392 checkFunc.call(this, test_target[0], report_data); 392 checkFunc.call(this, test_target[0], report_data);
393 }); 393 });
394 } 394 }
395 }); 395 });
396 } 396 }
397 397
398 function executeTests(test_targets) { 398 function executeTests(test_targets) {
399 for (var i = 0; i < test_targets.length; ++i) { 399 for (var i = 0; i < test_targets.length; ++i) {
400 sequential_promise_test( 400 promise_test(
401 function(counter, t) { 401 function(counter, t) {
402 return executeTest(test_targets[counter]); 402 return executeTest(test_targets[counter]);
403 }.bind(this, i), 403 }.bind(this, i),
404 "executeTest-" + i); 404 "executeTest-" + i);
405 } 405 }
406 } 406 }
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/fetch/chromium/error-messages.html ('k') | LayoutTests/http/tests/fetch/script-tests/body-mixin.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698