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

Unified Diff: chrome/test/data/extensions/api_test/content_scripts/about_blank_srcdoc/manifest.json

Issue 226663003: Allow content script insertion on about:-URLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address reviewer's comments (matches->match) Created 6 years, 8 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/content_scripts/about_blank_srcdoc/manifest.json
diff --git a/chrome/test/data/extensions/api_test/content_scripts/about_blank_srcdoc/manifest.json b/chrome/test/data/extensions/api_test/content_scripts/about_blank_srcdoc/manifest.json
new file mode 100644
index 0000000000000000000000000000000000000000..e75f7f2f7ef8c336ffb12466e13a87ee1f4ba152
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/content_scripts/about_blank_srcdoc/manifest.json
@@ -0,0 +1,18 @@
+{
+ "name": "about:blank and about:srcdoc",
+ "version": "1.0",
+ "manifest_version": 2,
+ "description": "Tests that content scripts are injected in about:blank and about:srcdoc frames if it has access to the parent frame.",
+ "background": {
+ "page": "test.html"
+ },
+ "permissions": ["*://*/*"],
+ "content_scripts": [
+ {
+ "matches": ["*://*/*"],
not at google - send to devlin 2014/04/21 22:34:41 if you test with "permissions" and "matches" that
robwu 2014/04/21 23:21:46 After removing "permissions": ["*://*/*"], the bro
+ "match_about_blank": true,
+ "js": ["content_script.js"],
+ "all_frames": true
+ }
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698