Index: chrome/common/extensions/docs/examples/api/eventPage/basic/background.js |
diff --git a/chrome/common/extensions/docs/examples/api/eventPage/basic/background.js b/chrome/common/extensions/docs/examples/api/eventPage/basic/background.js |
index e9b2d250e369f12e4c217641ec6db411abae00c2..606eb94c1dd7621f6cd08752924e92187a6d3258 100644 |
--- a/chrome/common/extensions/docs/examples/api/eventPage/basic/background.js |
+++ b/chrome/common/extensions/docs/examples/api/eventPage/basic/background.js |
@@ -18,7 +18,7 @@ sendMessage(); |
chrome.browserAction.setBadgeText({text: "ON"}); |
console.log("Loaded."); |
-chrome.experimental.runtime.onInstalled.addListener(function() { |
+chrome.runtime.onInstalled.addListener(function() { |
console.log("Installed."); |
// localStorage is persisted, so it's a good place to keep state that you |
@@ -79,7 +79,7 @@ chrome.alarms.onAlarm.addListener(function() { |
alert("Time's up!"); |
}); |
-chrome.experimental.runtime.onBackgroundPageUnloadingSoon.addListener( |
+chrome.runtime.onBackgroundPageUnloadingSoon.addListener( |
function() { |
chrome.tabs.query({active: true, currentWindow: true}, function(tabs) { |
// After the unload event listener runs, the page will unload, so any |