Index: chrome/test/data/extensions/api_test/executescript/navigation_race/test.js |
diff --git a/chrome/test/data/extensions/api_test/executescript/navigation_race/test.js b/chrome/test/data/extensions/api_test/executescript/navigation_race/test.js |
index fe539469be93366ace3f82b550faf8661171fede..40c28afea9e7e279fa0bacb6a56fc24b083995d3 100644 |
--- a/chrome/test/data/extensions/api_test/executescript/navigation_race/test.js |
+++ b/chrome/test/data/extensions/api_test/executescript/navigation_race/test.js |
@@ -16,9 +16,9 @@ chrome.test.getConfig(function(config) { |
// Generally, the tab navigation hasn't happened by the time we execute |
// the script, so it's still showing a.com, where we don't have |
// permission to run it. |
- if (chrome.extension.lastError) { |
+ if (chrome.runtime.lastError) { |
chrome.test.assertTrue( |
- chrome.extension.lastError.message.indexOf( |
+ chrome.runtime.lastError.message.indexOf( |
'Cannot access contents of url "http://a.com:') == 0); |
chrome.test.notifyPass(); |
} else { |