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 4a0df82391f08e8e45578d50feadcf7cf8558915..b102f0c27eb3eec4444d26f68054b9fddf8f994a 100644 |
--- a/chrome/test/data/extensions/api_test/active_tab/background.js |
+++ b/chrome/test/data/extensions/api_test/active_tab/background.js |
@@ -17,7 +17,9 @@ chrome.browserAction.onClicked.addListener(function() { |
chrome.webNavigation.onCompleted.addListener(function(details) { |
inject(function() { |
- chrome.test.assertLastError("Access to extension API denied."); |
+ chrome.test.assertLastError('Cannot access contents of url "' + |
+ details.url + |
+ '". Extension manifest must request permission to access this host.'); |
if (details.url.indexOf("final_page") >= 0) |
theOnlyTestDone(); |
else |