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

Unified Diff: chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_jpeg.js

Issue 1414223005: Remove URLs from chrome.tabs.executeScript permission warning. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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_jpeg.js
diff --git a/chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_jpeg.js b/chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_jpeg.js
index a5c627c9e5c5440eb2da5427f1a5bc819813773b..2ec9a1572eadf22be67b496d9e5e24caadf6b833 100644
--- a/chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_jpeg.js
+++ b/chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_jpeg.js
@@ -84,9 +84,9 @@ chrome.test.getConfig(function(config) {
chrome.tabs.getSelected(winId, pass(function(tab) {
assertEq('complete', tab.status); // waitForAllTabs ensures this.
chrome.tabs.captureVisibleTab(winId, fail(
- 'Cannot access contents of url "' + fail_url +
- '". Extension manifest must request permission ' +
- 'to access this host.'));
+ 'Cannot access contents of a page. ' +
+ 'Extension manifest must request permission ' +
+ 'to access the respective host.'));
}));
}));
}));

Powered by Google App Engine
This is Rietveld 408576698