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

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 5 years 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 9bc2307ec84c15ab609bb33fd447f0cd275d02a3..4afb9fa8bd7523743016a6fa77799a98fe3b84d4 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-material.html",
"web_accessible_resources": [
- "index-material.html"
+ "*.js",
+ "*.html",
+ "*.css",
+ "*.png"
]
}

Powered by Google App Engine
This is Rietveld 408576698