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

Unified Diff: chrome/test/data/extensions/api_test/incognito/apis/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/incognito/apis/background.js
diff --git a/chrome/test/data/extensions/api_test/incognito/apis/background.js b/chrome/test/data/extensions/api_test/incognito/apis/background.js
index b67f5e5d9d85c9dc10776cca1e45352c7bd84581..7300b419dcf2b794ef5f37cdbc0fb9bf36e1efbd 100644
--- a/chrome/test/data/extensions/api_test/incognito/apis/background.js
+++ b/chrome/test/data/extensions/api_test/incognito/apis/background.js
@@ -92,7 +92,7 @@ chrome.test.getConfig(function(config) {
chrome.tabs.executeScript(tab.id,
{code: 'document.title = chrome.extension.inIncognitoContext'},
pass(function() {
- assertEq(undefined, chrome.extension.lastError);
+ assertEq(undefined, chrome.runtime.lastError);
chrome.tabs.get(tab.id, pass(function(tab) {
assertEq("true", tab.title);
}));
@@ -105,7 +105,7 @@ chrome.test.getConfig(function(config) {
chrome.tabs.executeScript(tab.id,
{code: 'document.title = chrome.extension.inIncognitoContext'},
pass(function() {
- assertEq(undefined, chrome.extension.lastError);
+ assertEq(undefined, chrome.runtime.lastError);
chrome.tabs.get(tab.id, pass(function(tab) {
assertEq("false", tab.title);
}));

Powered by Google App Engine
This is Rietveld 408576698