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

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

Issue 10829186: Tabs API is usable without tabs permission. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: ETU now SetString()'s for empty values Created 8 years, 4 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/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
« no previous file with comments | « chrome/renderer/extensions/dispatcher.cc ('k') | chrome/test/data/extensions/api_test/active_tab/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698