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

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

Issue 1708583003: Pass data saver pref value into embedded worker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits Created 4 years, 9 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: content/test/data/service_worker/fetch_in_install.js
diff --git a/chrome/test/data/extensions/api_test/executescript/http204/at_document_idle_unexpected.js b/content/test/data/service_worker/fetch_in_install.js
similarity index 68%
copy from chrome/test/data/extensions/api_test/executescript/http204/at_document_idle_unexpected.js
copy to content/test/data/service_worker/fetch_in_install.js
index 995450291446587641fa905e9416fe3c0899b3b4..68df2dc828fe9ef91a1b0ee535b11d743595be0e 100644
--- a/chrome/test/data/extensions/api_test/executescript/http204/at_document_idle_unexpected.js
+++ b/content/test/data/service_worker/fetch_in_install.js
@@ -2,4 +2,4 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-window.didRunAtDocumentIdleUnexpected = true;
+this.oninstall = function(e) { e.waitUntil(fetch('fetch_in_install.html')); };

Powered by Google App Engine
This is Rietveld 408576698