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

Unified Diff: chrome/test/data/extensions/api_test/app_background_page/common/common.js

Issue 10298002: No longer start BG mode until a BackgroundContents is loaded (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Prospective fix for cros test failures. Created 8 years, 8 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 | « chrome/test/data/extensions/api_test/app_background_page/common/close.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/app_background_page/common/common.js
diff --git a/chrome/test/data/extensions/api_test/app_background_page/common/common.js b/chrome/test/data/extensions/api_test/app_background_page/common/common.js
index b3d3458d371c6b93dd54705a910112aa68476441..987e746baf97637101f79b4c4e793715debbe5da 100644
--- a/chrome/test/data/extensions/api_test/app_background_page/common/common.js
+++ b/chrome/test/data/extensions/api_test/app_background_page/common/common.js
@@ -1,3 +1,6 @@
+// Copyright (c) 2012 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.
var scriptMessageEvent;
var pageToScriptTunnel;
var scriptToPageTunnel;
@@ -54,3 +57,8 @@ function notifyBackgroundPageClosing() {
pageToScriptTunnel.innerText = JSON.stringify(messageData(arguments));
pageToScriptTunnel.dispatchEvent(scriptMessageEvent);
}
+
+function notifyBackgroundPageClosed() {
+ pageToScriptTunnel.innerText = JSON.stringify(messageData(arguments));
+ pageToScriptTunnel.dispatchEvent(scriptMessageEvent);
+}
« no previous file with comments | « chrome/test/data/extensions/api_test/app_background_page/common/close.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698