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

Unified Diff: chrome/test/data/extensions/context_menus/incognito/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/incognito/test.js
diff --git a/chrome/test/data/extensions/context_menus/incognito/test.js b/chrome/test/data/extensions/context_menus/incognito/test.js
index c64b01a36adb066af595813c26981945f84d9274..499577452fc6a08ad94c85ea6314bfbaa9904c9e 100644
--- a/chrome/test/data/extensions/context_menus/incognito/test.js
+++ b/chrome/test/data/extensions/context_menus/incognito/test.js
@@ -12,7 +12,7 @@ function onclick(info) {
window.onload = function() {
chrome.contextMenus.create({title: "item " + incognitoStr,
onclick: onclick}, function() {
- if (!chrome.extension.lastError) {
+ if (!chrome.runtime.lastError) {
chrome.test.sendMessage("created item " + incognitoStr);
}
});
« no previous file with comments | « chrome/test/data/extensions/context_menus/frames/test.js ('k') | chrome/test/data/extensions/context_menus/long_title/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698