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

Unified Diff: chrome/test/data/extensions/management/uninstall_extension/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/management/uninstall_extension/background.js
diff --git a/chrome/test/data/extensions/management/uninstall_extension/background.js b/chrome/test/data/extensions/management/uninstall_extension/background.js
index bc7360bd09caece4219c33064f870948f645ac6b..5ea92dd57847f9f8192ddc5234cc423fd54db20e 100644
--- a/chrome/test/data/extensions/management/uninstall_extension/background.js
+++ b/chrome/test/data/extensions/management/uninstall_extension/background.js
@@ -14,7 +14,7 @@ chrome.management.getAll(function(items) {
chrome.management.uninstall(id, function() {
// Check that the right error occured.
var expectedError = 'Extension ' + id + ' cannot be modified by user';
- chrome.test.assertEq(expectedError, chrome.extension.lastError.message);
+ chrome.test.assertEq(expectedError, chrome.runtime.lastError.message);
chrome.test.sendMessage('ready');
});
}
« no previous file with comments | « chrome/test/data/extensions/management/launch_app/test.js ('k') | chrome/test/data/extensions/uitest/window_open/newtab.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698