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

Unified Diff: chrome/test/data/extensions/api_test/debugger/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/test/data/extensions/api_test/debugger/background.js
diff --git a/chrome/test/data/extensions/api_test/debugger/background.js b/chrome/test/data/extensions/api_test/debugger/background.js
index 21ff1b5b972bbad2341e8111db2477ac300cb018..0ca46c96a3bb130dba39384b31f4233213b97be4 100644
--- a/chrome/test/data/extensions/api_test/debugger/background.js
+++ b/chrome/test/data/extensions/api_test/debugger/background.js
@@ -48,8 +48,8 @@ chrome.test.runTests([
function sendCommand() {
function onResponse() {
- if (chrome.extension.lastError &&
- chrome.extension.lastError.message.indexOf("invalidMethod") != -1)
+ if (chrome.runtime.lastError &&
+ chrome.runtime.lastError.message.indexOf("invalidMethod") != -1)
chrome.test.succeed();
else
chrome.test.fail();

Powered by Google App Engine
This is Rietveld 408576698