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

Unified Diff: chrome/test/data/extensions/api_test/executescript/navigation_race/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/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 {

Powered by Google App Engine
This is Rietveld 408576698