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

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: Fixed tests. 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
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..09ea98b62203e916fb8808a59f3c2c3eb606a3dc 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
@@ -54,3 +54,8 @@ function notifyBackgroundPageClosing() {
pageToScriptTunnel.innerText = JSON.stringify(messageData(arguments));
pageToScriptTunnel.dispatchEvent(scriptMessageEvent);
}
+
+function notifyBackgroundPageClosed() {
+ pageToScriptTunnel.innerText = JSON.stringify(messageData(arguments));
+ pageToScriptTunnel.dispatchEvent(scriptMessageEvent);
+}

Powered by Google App Engine
This is Rietveld 408576698