| OLD | NEW |
| 1 var SCOPE = BASE_ORIGIN + | 1 var SCOPE = BASE_ORIGIN + |
| 2 '/fetch/resources/fetch-access-control-iframe.html?' + TEST_OPTIONS; | 2 '/fetch/resources/fetch-access-control-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 Loading... |
| 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 } |
| OLD | NEW |