New issue
Advanced search Search tips

Issue 652821 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 645285
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug-Regression



Sign in to add a comment

PDFs cannot be opened from Drive

Project Member Reported by w...@chromium.org, Oct 4 2016

Issue description

Version: 55.0.2842.0
OS: Chrome

What steps will reproduce the problem?
(1) Put a PDF file in Drive.
(2) Open the Files app.
(3) From the Files app, open the PDF.
(4) Copy the PDF out to Downloads, and open it from there.

What is the expected output?

Expect that the PDF is displayed in a tab.

What do you see instead?

At #3 The PDF is not displayed.  The Javascript console shows a Content Security Policy error.

At #4 the PDF displays correctly.

This issue may also affect M54, but I don't have an M54 device handy to check.
 

Comment 1 by w...@chromium.org, Oct 4 2016

Looks like the CSP allows file: scheme but not externalfile:, which is what the Drive filesystem uses?
Cc: tsepez@chromium.org
tsepez@ is this a dupe of 271452?
Mergedinto: 271452
Status: Duplicate (was: Untriaged)
Sure looks the same to me.  We've never felt it crucial to fix this.
Actually this might be  bug 645285 .

Comment 5 by w...@chromium.org, Oct 4 2016

Owner: tsepez@chromium.org
Status: Assigned (was: Duplicate)
Re-opening since this is a recent regression, not a long-standing issue.
Cc: dsinclair@chromium.org
Owner: dsinclair@chromium.org
Gotcha, thanks.

Comment 7 by w...@chromium.org, Oct 4 2016

Hmmm, definitely sounds like  issue 645285 , although there seems to be some dispute as to whether that's actually resolved. :-/
Mergedinto: -271452 645285
Status: Duplicate (was: Assigned)
Duping into 645285 and will re-open that issue.

Sign in to add a comment