Chromium Code Reviews| 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..6bc20f088e83efd7e89e22cab8a92c978a7f6be4 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 a page. ' + |
|
Devlin
2015/11/06 20:00:39
nitty nit: the page, instead of a page?
battre
2015/11/06 21:44:17
I was thinking that if you check "chrome.runtime.l
Devlin
2015/11/06 22:06:13
last error is pretty much set in the context of a
battre
2015/11/11 13:31:17
Done.
|
| + 'Extension manifest must request permission to access the ' + |
| + 'respective host.')); |
| chrome.automation.getTree(callbackFail( |
| 'Cannot request automation tree on url "' + details.url + |