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

Unified Diff: chrome/test/data/extensions/api_test/active_tab/background.js

Issue 1414223005: Remove URLs from chrome.tabs.executeScript permission warning. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test case 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/active_tab/background.js
diff --git a/chrome/test/data/extensions/api_test/active_tab/background.js b/chrome/test/data/extensions/api_test/active_tab/background.js
index 74e587b41ea73344d70493959c2fdddb1a9a9232..dbf83fcb198c27bb08c0775bc0ffeac98b518e44 100644
--- a/chrome/test/data/extensions/api_test/active_tab/background.js
+++ b/chrome/test/data/extensions/api_test/active_tab/background.js
@@ -56,8 +56,9 @@ chrome.browserAction.onClicked.addListener(function(tab) {
chrome.webNavigation.onCompleted.addListener(function(details) {
chrome.tabs.executeScript({ code: 'true' }, callbackFail(
- 'Cannot access contents of url "' + details.url +
- '". Extension manifest must request permission to access this host.'));
+ 'Cannot access contents of the page. ' +
+ 'Extension manifest must request permission to access the ' +
+ 'respective host.'));
chrome.automation.getTree(callbackFail(
'Cannot request automation tree on url "' + details.url +
« no previous file with comments | « chrome/browser/extensions/extension_tabs_apitest.cc ('k') | chrome/test/data/extensions/api_test/executescript/basic/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698