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

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

Issue 912753002: Stop Service Workers that execute JavaScript for too long. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rethink Created 5 years, 10 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/while_true_in_install_worker.js
diff --git a/chrome/test/data/extensions/api_test/runtime/open_options_page/options.js b/content/test/data/service_worker/while_true_in_install_worker.js
similarity index 79%
copy from chrome/test/data/extensions/api_test/runtime/open_options_page/options.js
copy to content/test/data/service_worker/while_true_in_install_worker.js
index 9054ed56925a531f4577eb08b9f043d69900b640..33d1bf76930e595798a7170bad40c402fe6818fe 100644
--- a/chrome/test/data/extensions/api_test/runtime/open_options_page/options.js
+++ b/content/test/data/service_worker/while_true_in_install_worker.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.
-chrome.runtime.sendMessage('success');
+oninstall = function() { while(true) { } };

Powered by Google App Engine
This is Rietveld 408576698