Chromium PDF Viewer cannot view local PDF files |
|||||
Issue descriptionVersion: 54.0.2816.0 canary (64-bit) OS: Windows 10 What steps will reproduce the problem? (1) Visit https://msdn.microsoft.com/en-us/library/cc231196.aspx (2) Download v16 of the error codes as a PDF (3) Open the PDF in Chrome. What is the expected output? PDF should show pages. What do you see instead? PDF shows no pages. Please use labels and text to provide additional information. Works fine in Chrome Stable 52.0.2743.82 m (64-bit) and was working in previous canary (maybe a few weeks ago).
,
Aug 2 2016
bisect landed at https://chromium.googlesource.com/chromium/src/+log/c09dbeacff156f8712fcb69bd65188d11a711096..675757bdce38cba9d4cd4d619314734c2922b36b but there's no PDFium changes. Let's go in for a closer look...
,
Aug 2 2016
Actually, upon further testing I can't open any PDFs from my local drive. perhaps https://codereview.chromium.org/2160983002 ?
,
Aug 2 2016
Indeed. The same PDF accessed via a web server works just fine. I'm building in the regression. Will confirm + assign bug.
,
Aug 3 2016
r408654 it is.
,
Aug 3 2016
Not surprised. Chromium PDF Viewer sets Content Security Policy with a source-list "*" for that context somewhere. "*" used to allow file scheme, and with r408654 it has to be explicitly whitelisted, and tests have to be added.
,
Aug 3 2016
Reverting in https://codereview.chromium.org/2207643003/. We can reland once we track down PDFium's policy and adjust it accordingly.
,
Aug 3 2016
Issue 633371 has been merged into this issue.
,
Aug 3 2016
This should be fixed on ToT with the revert in https://chromium.googlesource.com/chromium/src/+/14f3d8cdac5f46ec73fd38e5d9d731e57966427f.
,
Aug 9 2016
Issue 635983 has been merged into this issue.
,
Aug 9 2016
Verified on ChromeOS 8688.0.0/54.0.2824.0 |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by thestig@chromium.org
, Aug 2 2016