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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/fetch-cors-xhr-iframe.html

Issue 588093003: [ServiceWorker] Add test for the rejected result of FetchEvent using XHR. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add resolve-null test Created 6 years, 3 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 | « no previous file | LayoutTests/http/tests/serviceworker/resources/fetch-rewrite-worker.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/serviceworker/resources/fetch-cors-xhr-iframe.html
diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-cors-xhr-iframe.html b/LayoutTests/http/tests/serviceworker/resources/fetch-cors-xhr-iframe.html
index 020742891523629ecbfcd9938caff9d01a147c57..f9c2e184f4d8146cd65c4861504b9e92706857a9 100644
--- a/LayoutTests/http/tests/serviceworker/resources/fetch-cors-xhr-iframe.html
+++ b/LayoutTests/http/tests/serviceworker/resources/fetch-cors-xhr-iframe.html
@@ -42,6 +42,12 @@ window.addEventListener('message', function(evt) {
false);
})
.then(function() {
+ return create_failure_test_promise('./dummy?reject', false);
+ })
+ .then(function() {
+ return create_failure_test_promise('./dummy?resolve-null', false);
+ })
+ .then(function() {
return create_success_test_promise(
'./dummy?url=' +
encodeURIComponent(host_info['HTTP_ORIGIN'] + path),
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/resources/fetch-rewrite-worker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698