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

Unified 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 4 years, 12 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/browser/resources/pdf/manifest.json
diff --git a/chrome/browser/resources/pdf/manifest.json b/chrome/browser/resources/pdf/manifest.json
index d819757fe8507769f57e84cef37b704dc4a5c7e5..b153845327e5b17ec354abedfc44d8013e254218 100644
--- a/chrome/browser/resources/pdf/manifest.json
+++ b/chrome/browser/resources/pdf/manifest.json
@@ -15,17 +15,11 @@
"application/pdf"
],
"content_security_policy": "script-src 'self' blob: filesystem: chrome://resources; object-src * blob: filesystem: data:; plugin-types application/x-google-chrome-pdf",
- // This is to work-around an issue where this extension is not granted
- // permission to access chrome://resources when iframed for print preview.
- // See https://crbug.com/444752.
- "content_scripts": [
- {
- "matches": ["chrome://print/*"],
- "js": ["content_script.js"]
- }
- ],
"mime_types_handler": "index.html",
"web_accessible_resources": [
- "index.html"
+ "*.js",
+ "*.html",
+ "*.css",
+ "*.png"
]
}

Powered by Google App Engine
This is Rietveld 408576698