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

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

Issue 127573002: Add basic browser test for EmbeddedWorker/ServiceWorker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright fix Created 6 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
« no previous file with comments | « content/test/data/service_worker/index.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/service_worker/worker.js
diff --git a/chrome/test/data/extensions/platform_apps/ephemeral_apps/messaging_receiver/index.js b/content/test/data/service_worker/worker.js
similarity index 60%
copy from chrome/test/data/extensions/platform_apps/ephemeral_apps/messaging_receiver/index.js
copy to content/test/data/service_worker/worker.js
index dc590d190815d0645476120ece798c9fb5b4db35..b6b90d432e42f131ee402341494d728d5f268d58 100644
--- a/chrome/test/data/extensions/platform_apps/ephemeral_apps/messaging_receiver/index.js
+++ b/content/test/data/service_worker/worker.js
@@ -2,6 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-onload = function() {
- chrome.test.sendMessage('launched');
-};
+// Has no content yet, this just needs to exist for script loading.
+this.oninstalled = function(event) {};
« no previous file with comments | « content/test/data/service_worker/index.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698