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