diff --git a/fetch/api/cors/cors-preflight-status.any.js b/fetch/api/cors/cors-preflight-status.any.js index 2c3e5acd23076f..037526e618ce9b 100644 --- a/fetch/api/cors/cors-preflight-status.any.js +++ b/fetch/api/cors/cors-preflight-status.any.js @@ -15,7 +15,7 @@ function corsPreflightStatus(desc, corsUrl, preflightStatus) { urlParameters += "&preflight_status=" + preflightStatus; promise_test(function(test) { - fetch(RESOURCES_DIR + "clean-stash.py?token=" + uuid_token).then(function(resp) { + return fetch(RESOURCES_DIR + "clean-stash.py?token=" + uuid_token).then(function(resp) { assert_equals(resp.status, 200, "Clean stash response's status is 200"); if (200 <= preflightStatus && 299 >= preflightStatus) { return fetch(url + urlParameters, requestInit).then(function(resp) {