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

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: fix timeout value 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/ssl/write_to_title.js b/content/test/data/service_worker/while_true_in_install_worker.js
similarity index 78%
copy from chrome/test/data/ssl/write_to_title.js
copy to content/test/data/service_worker/while_true_in_install_worker.js
index 747eb604156d99ab8c8b638a0085ce3152af4a94..33d1bf76930e595798a7170bad40c402fe6818fe 100644
--- a/chrome/test/data/ssl/write_to_title.js
+++ b/content/test/data/service_worker/while_true_in_install_worker.js
@@ -1,4 +1,5 @@
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-document.title = "This script has loaded";
+
+oninstall = function() { while(true) { } };

Powered by Google App Engine
This is Rietveld 408576698