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

Unified Diff: chrome/test/data/panels/context_menu/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
Index: chrome/test/data/panels/context_menu/test.js
diff --git a/chrome/test/data/panels/context_menu/test.js b/chrome/test/data/panels/context_menu/test.js
index 17e7902b51b41761dca59750a682cd2ba582e089..1f957900dc89d56fee37bd984a8ccbda02053047 100644
--- a/chrome/test/data/panels/context_menu/test.js
+++ b/chrome/test/data/panels/context_menu/test.js
@@ -10,7 +10,7 @@ function onclick(info) {
function panelCallback() {
chrome.contextMenus.create({"title":"Extension Item 1",
"onclick": onclick}, function() {
- if (!chrome.extension.lastError) {
+ if (!chrome.runtime.lastError) {
chrome.test.sendMessage("created item");
}
});
« no previous file with comments | « chrome/test/data/extensions/uitest/window_open/newtab.js ('k') | chrome/test/data/panels/context_menu2/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698