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

Unified Diff: chrome/test/data/extensions/context_menus/frames/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/frames/test.js
diff --git a/chrome/test/data/extensions/context_menus/frames/test.js b/chrome/test/data/extensions/context_menus/frames/test.js
index 65d65619c6fb2414341df246819820c260cb356b..2a2bad1701a3dda0d86c2112e8ec85324b5dfda5 100644
--- a/chrome/test/data/extensions/context_menus/frames/test.js
+++ b/chrome/test/data/extensions/context_menus/frames/test.js
@@ -6,11 +6,11 @@ window.onload = function() {
chrome.contextMenus.create(
{"title":"Page item", contexts: ["page"]},
function() {
- if (!chrome.extension.lastError) {
+ if (!chrome.runtime.lastError) {
chrome.contextMenus.create(
{"title":"Frame item", contexts: ["frame"]},
function() {
- if (!chrome.extension.lastError) {
+ if (!chrome.runtime.lastError) {
chrome.test.sendMessage("created items");
}
});

Powered by Google App Engine
This is Rietveld 408576698