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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/fetch-access-control-util.js

Issue 921673003: [Fetch] Split layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « LayoutTests/http/tests/fetch/workers/fetch-access-control-redirect-nocors-other-https.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/serviceworker/resources/fetch-access-control-util.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-access-control-util.js b/LayoutTests/http/tests/serviceworker/resources/fetch-access-control-util.js
index e9b67a6b3024c91f6b975ee7f95d211cd79718c6..09dbf29a81700ba8b3935302f94ac95bf0878d46 100644
--- a/LayoutTests/http/tests/serviceworker/resources/fetch-access-control-util.js
+++ b/LayoutTests/http/tests/serviceworker/resources/fetch-access-control-util.js
@@ -368,6 +368,9 @@ function report(data) {
}
function executeTest(test_target) {
+ if (test_target.length == 0) {
+ return Promise.resolve();
+ }
return doFetch(test_target[0])
.then(function(message) {
var checks = test_target[1].concat(showComment);
« no previous file with comments | « LayoutTests/http/tests/fetch/workers/fetch-access-control-redirect-nocors-other-https.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698