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

Unified Diff: chrome/test/data/extensions/api_test/clipboard/extension_no_permission/manifest.json

Issue 498513002: Respect the clipboardRead and clipboardWrite permissions in content scripts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address more comments Created 6 years, 3 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/clipboard/extension_no_permission/manifest.json
diff --git a/chrome/test/data/extensions/api_test/clipboard/extension_no_permission/manifest.json b/chrome/test/data/extensions/api_test/clipboard/extension_no_permission/manifest.json
index 58a5d3148de2b722f56ebf4e6df189399445110d..1ce8cf927996dbcbf774f1f33b76efceaea08dea 100644
--- a/chrome/test/data/extensions/api_test/clipboard/extension_no_permission/manifest.json
+++ b/chrome/test/data/extensions/api_test/clipboard/extension_no_permission/manifest.json
@@ -5,5 +5,12 @@
"description": "end-to-end browser test for clipboard permissions",
"background": {
"page": "test.html"
- }
+ },
+ "permissions": ["http://localhost/*"],
+ "content_scripts": [
+ {
+ "matches": ["http://*/*test_file_with_body.html"],
+ "js": ["content_script.js"]
+ }
+ ]
}

Powered by Google App Engine
This is Rietveld 408576698