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); |
+} |