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

Unified Diff: chrome/test/data/extensions/browsertest/last_error/bg.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/browsertest/last_error/bg.js
diff --git a/chrome/test/data/extensions/browsertest/last_error/bg.js b/chrome/test/data/extensions/browsertest/last_error/bg.js
index e9f2309e5e76a33860573ddc587d9360fa43a57f..71563d953017bafc3b0d47e0bc0d040af9d1199e 100644
--- a/chrome/test/data/extensions/browsertest/last_error/bg.js
+++ b/chrome/test/data/extensions/browsertest/last_error/bg.js
@@ -36,8 +36,8 @@ function testLastError() {
// Now ask for the next highest tabId.
chrome.tabs.get(maxTabId + 1, function(tab) {
// Make sure lastError *is* set and tab is not.
- if (!chrome.extension.lastError ||
- !chrome.extension.lastError.message ||
+ if (!chrome.runtime.lastError ||
+ !chrome.runtime.lastError.message ||
tab)
fail();

Powered by Google App Engine
This is Rietveld 408576698