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

Unified Diff: content/test/data/service_worker/worker_install_rejected.js

Issue 1081953004: Add tests for console messages of waitUntil() and respondWith() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « content/test/data/service_worker/fetch_event_rejected.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/service_worker/worker_install_rejected.js
diff --git a/content/test/data/service_worker/worker_install_rejected.js b/content/test/data/service_worker/worker_install_rejected.js
index c57ab6f542fa3e67484d9535f5fffec968d302ff..1959277a158ea4d5c7c8df40648aa276efe67079 100644
--- a/content/test/data/service_worker/worker_install_rejected.js
+++ b/content/test/data/service_worker/worker_install_rejected.js
@@ -4,6 +4,6 @@
this.oninstall = function(event) {
event.waitUntil(new Promise(function(resolve, reject) {
- setTimeout(reject, 5);
+ setTimeout(function() { reject("Rejecting oninstall event"); }, 5);
}));
};
« no previous file with comments | « content/test/data/service_worker/fetch_event_rejected.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698