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

Unified Diff: chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_race.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/tabs/capture_visible_tab/test_race.js
diff --git a/chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_race.js b/chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_race.js
index df04f0f2f37d7c01148fb1ccaa6cf7dfc4a2e623..65d4aeae2ee6f91311ad280ceb4cffde96fdaac2 100644
--- a/chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_race.js
+++ b/chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_race.js
@@ -64,9 +64,9 @@ chrome.test.runTests([
{'format': 'png'},
function(imgDataUrl) {
log('captured ' + windowId);
- if (chrome.extension.lastError) {
+ if (chrome.runtime.lastError) {
chrome.test.fail('captureVisibleTab error: ' +
- chrome.extension.lastError.message);
+ chrome.runtime.lastError.message);
}
testPixelsAreExpectedColor(
imgDataUrl, kWindowRect, expectedColor);

Powered by Google App Engine
This is Rietveld 408576698