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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigate-on-install-worker.js

Issue 1604893002: ServiceWorker: Rewrite windowclient-navigate.html test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigate-on-install-worker.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigate-on-install-worker.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigate-on-install-worker.js
new file mode 100644
index 0000000000000000000000000000000000000000..d64c6766eaa99134e69bbec6c129f82696bc403a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/navigate-on-install-worker.js
@@ -0,0 +1,4 @@
+self.addEventListener('install', function(e) {
+ importScripts('windowclient-navigate-worker.js');
nhiroki 2016/01/25 09:50:31 I think importing non-library file (other worker f
zino 2016/01/29 05:36:38 Done.
+ e.waitUntil(get_message().then(client_navigate));
nhiroki 2016/01/25 09:50:31 Let me confirm... you mean to test the case where
zino 2016/01/29 05:36:38 I tried it but I couldn't yet. I'm not sure but th
nhiroki 2016/02/01 07:13:55 Commented in the patchset 5.
+});

Powered by Google App Engine
This is Rietveld 408576698