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

Side by Side Diff: chrome/browser/resources/pdf/manifest.json

Issue 1217503012: Avoid cross-origin iframe issues when loading PDF in print preview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 // chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai 2 // chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai
3 "manifest_version": 2, 3 "manifest_version": 2,
4 "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDN6hM0rsDYGbzQPQfOygqlRtQgKUXMfn SjhIBL7LnReAVBEd7ZmKtyN2qmSasMl4HZpMhVe2rPWVVwBDl6iyNE/Kok6E6v6V3vCLGsOpQAuuNVye /3QxzIldzG/jQAdWZiyXReRVapOhZtLjGfywCvlWq7Sl/e3sbc0vWybSDI2QIDAQAB", 4 "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDN6hM0rsDYGbzQPQfOygqlRtQgKUXMfn SjhIBL7LnReAVBEd7ZmKtyN2qmSasMl4HZpMhVe2rPWVVwBDl6iyNE/Kok6E6v6V3vCLGsOpQAuuNVye /3QxzIldzG/jQAdWZiyXReRVapOhZtLjGfywCvlWq7Sl/e3sbc0vWybSDI2QIDAQAB",
5 "name": "<NAME>", 5 "name": "<NAME>",
6 "version": "1", 6 "version": "1",
7 "description": "", 7 "description": "",
8 "offline_enabled": true, 8 "offline_enabled": true,
9 "incognito": "split", 9 "incognito": "split",
10 "permissions": [ 10 "permissions": [
11 "<all_urls>" 11 "<all_urls>"
12 ], 12 ],
13 "mime_types": [ 13 "mime_types": [
14 "application/pdf" 14 "application/pdf"
15 ], 15 ],
16 "content_security_policy": "script-src 'self' blob: filesystem: chrome://resou rces; object-src *; plugin-types application/x-google-chrome-pdf", 16 "content_security_policy": "script-src 'self' blob: filesystem: chrome://resou rces; object-src *; plugin-types application/x-google-chrome-pdf",
17 // This is to work-around an issue where this extension is not granted
18 // permission to access chrome://resources when iframed for print preview.
19 // See https://crbug.com/444752.
20 "content_scripts": [
21 {
22 "matches": ["chrome://print/*"],
23 "js": ["content_script.js"]
24 }
25 ],
26 "mime_types_handler": "<INDEX>", 17 "mime_types_handler": "<INDEX>",
27 "web_accessible_resources": [ 18 "web_accessible_resources": [
28 "index.html", 19 "index.html",
29 "<INDEX>" 20 "<INDEX>",
21 "*.js",
22 "*.html",
Charlie Reis 2015/07/16 19:25:03 Why do you need both this and index.html?
raymes 2015/07/17 01:58:29 Good point, we actually don't now. Done.
23 "*.css",
24 "*.png"
30 ] 25 ]
31 } 26 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698