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

Unified Diff: chrome/test/data/panels/context_menu2/test.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
« no previous file with comments | « chrome/test/data/panels/context_menu/test.js ('k') | tools/json_schema_compiler/test/permissions.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/panels/context_menu2/test.js
diff --git a/chrome/test/data/panels/context_menu2/test.js b/chrome/test/data/panels/context_menu2/test.js
index 4f27d9e4a6d794d39fff62fcf0425a9c526addb7..3604d5891bb9c236facade5d3bd904f62bc5df68 100644
--- a/chrome/test/data/panels/context_menu2/test.js
+++ b/chrome/test/data/panels/context_menu2/test.js
@@ -8,7 +8,7 @@ function onclick(info) {
chrome.contextMenus.create({"title":"Extension Item Bogey",
"onclick": onclick}, function() {
- if (!chrome.extension.lastError) {
+ if (!chrome.runtime.lastError) {
chrome.test.sendMessage("created bogey item");
}
});
« no previous file with comments | « chrome/test/data/panels/context_menu/test.js ('k') | tools/json_schema_compiler/test/permissions.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698