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

Unified Diff: chrome/test/data/extensions/context_menus/simple/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/extensions/context_menus/simple/test.js
diff --git a/chrome/test/data/extensions/context_menus/simple/test.js b/chrome/test/data/extensions/context_menus/simple/test.js
index 67494aa7a1297ff4cb33d2471f2ded4c2721c258..75011dd17e5af8a89ddf3ce0e5126f090c915cd7 100644
--- a/chrome/test/data/extensions/context_menus/simple/test.js
+++ b/chrome/test/data/extensions/context_menus/simple/test.js
@@ -9,7 +9,7 @@ function onclick(info) {
window.onload = function() {
chrome.contextMenus.create({"title":"Extension Item 1",
"onclick": onclick}, function() {
- if (!chrome.extension.lastError) {
+ if (!chrome.runtime.lastError) {
chrome.test.sendMessage("created item");
}
});

Powered by Google App Engine
This is Rietveld 408576698