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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/reject-install-worker.js

Issue 416003003: Test for register canceling an unregister. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: repurpose patch to assert what we currently do Created 6 years, 4 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
Index: LayoutTests/http/tests/serviceworker/resources/reject-install-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/reject-install-worker.js b/LayoutTests/http/tests/serviceworker/resources/reject-install-worker.js
new file mode 100644
index 0000000000000000000000000000000000000000..870127e4e8e1e1edbab1aee0b517aa61fb77d86f
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/resources/reject-install-worker.js
@@ -0,0 +1,3 @@
+self.oninstall = function(event) {
+ event.waitUntil(Promise.reject());
+}

Powered by Google App Engine
This is Rietveld 408576698