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

Unified Diff: chrome/test/data/extensions/api_test/clipboard/extension/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/manifest.json
diff --git a/chrome/test/data/extensions/api_test/clipboard/extension/manifest.json b/chrome/test/data/extensions/api_test/clipboard/extension/manifest.json
index f65eb234ad3a8b2be15d24ab16c141ec4ac74d36..102eb4579ab21606bd8c9843eb8d99b17bf6a735 100644
--- a/chrome/test/data/extensions/api_test/clipboard/extension/manifest.json
+++ b/chrome/test/data/extensions/api_test/clipboard/extension/manifest.json
@@ -6,5 +6,11 @@
"background": {
"page": "test.html"
},
- "permissions": ["clipboardRead"]
+ "permissions": ["clipboardRead", "clipboardWrite", "http://localhost/*"],
+ "content_scripts": [
+ {
+ "matches": ["http://*/*test_file_with_body.html"],
+ "js": ["content_script.js"]
+ }
+ ]
}

Powered by Google App Engine
This is Rietveld 408576698