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

Unified Diff: chrome/test/data/extensions/api_test/lazy_background_page/on_unload/background.js

Issue 10310182: Hack to restrict runtime API to dev channel rather than experimental. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: docs Created 8 years, 7 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/lazy_background_page/on_unload/background.js
diff --git a/chrome/test/data/extensions/api_test/lazy_background_page/on_unload/background.js b/chrome/test/data/extensions/api_test/lazy_background_page/on_unload/background.js
index 4f24c53f48317cf7eb1ab72eddbff8228492df34..c8419403ee5f045290a6ab537194761c2aebfae4 100644
--- a/chrome/test/data/extensions/api_test/lazy_background_page/on_unload/background.js
+++ b/chrome/test/data/extensions/api_test/lazy_background_page/on_unload/background.js
@@ -3,7 +3,7 @@
// found in the LICENSE file.
chrome.browserAction.setTitle({title: "Failure"});
-chrome.experimental.runtime.onBackgroundPageUnloadingSoon.addListener(
+chrome.runtime.onBackgroundPageUnloadingSoon.addListener(
function() {
chrome.browserAction.setTitle({title: "Success"});
});

Powered by Google App Engine
This is Rietveld 408576698