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

Unified Diff: chrome/common/extensions/docs/examples/api/debugger/live-headers/background.js

Issue 11745015: Update references to the extension messaging APIs to point to the "runtime" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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/common/extensions/docs/examples/api/debugger/live-headers/background.js
diff --git a/chrome/common/extensions/docs/examples/api/debugger/live-headers/background.js b/chrome/common/extensions/docs/examples/api/debugger/live-headers/background.js
index ad6595d2c905d7179ed2a490064f5abe2337508d..bba6065d84e793f9ecd24c9145f10a7eb7ab4ca2 100644
--- a/chrome/common/extensions/docs/examples/api/debugger/live-headers/background.js
+++ b/chrome/common/extensions/docs/examples/api/debugger/live-headers/background.js
@@ -15,8 +15,8 @@ function actionClicked(tab) {
}
function onAttach(tabId) {
- if (chrome.extension.lastError) {
- alert(chrome.extension.lastError.message);
+ if (chrome.runtime.lastError) {
+ alert(chrome.runtime.lastError.message);
return;
}

Powered by Google App Engine
This is Rietveld 408576698