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"); |
} |
}); |