DescriptionOOP PDF: Fix access to chrome://resources in print preview.
When the PDF extension is iframed by the print preview page, it isn't
granted permission to access chrome://resources. This CL causes the
extension to be granted access to chrome://resources in the renderer
process for print-preview by adding it as a content script for
chrome://print/*. This is a temporary work-around until either print
preview uses an embed element for the OOP PDF plugin or OOP iframe
allows extensions to run with their normal permissions when iframed.
This also removes the need for the work-around added in r306307.
BUG=437417, 444752
Committed: https://crrev.com/7626c7325b71eaef6589d1490258efcf3a16cbe2
Cr-Commit-Position: refs/heads/master@{#310044}
Patch Set 1 : #
Total comments: 2
Patch Set 2 : comment on why the content script #Patch Set 3 : rebase #Patch Set 4 : add copyright header to content_script.js to pass presubmit #Patch Set 5 : rebase #
Messages
Total messages: 21 (10 generated)
|