| Index: chrome/browser/resources/pdf/manifest-common.json.unflattened
|
| diff --git a/chrome/browser/resources/pdf/manifest-common.json.unflattened b/chrome/browser/resources/pdf/manifest-common.json.unflattened
|
| index 947593351c7cf514e4df790b3d4243b5d877fbc7..a2033143ab3441199096ddd506f1a7699ea9b43b 100644
|
| --- a/chrome/browser/resources/pdf/manifest-common.json.unflattened
|
| +++ b/chrome/browser/resources/pdf/manifest-common.json.unflattened
|
| @@ -22,4 +22,13 @@
|
| "mime_types": [
|
| "application/pdf"
|
| ],
|
| - "content_security_policy": "script-src 'self' chrome://resources; object-src *; plugin-types application/x-google-chrome-pdf"
|
| + "content_security_policy": "script-src 'self' chrome://resources; object-src *; 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"]
|
| + }
|
| + ]
|
|
|