New issue
Advanced search Search tips

Issue 696745 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

DevTools: explain why PDF does not load in device mode

Reported by bobflor...@planstone.com, Feb 27 2017

Issue description

Chrome Version       : 57.0.2987.74 beta (64-bit)
URLs (if applicable) : http://www.pdf995.com/samples/pdf.pdf
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari: n/a
    Firefox: OK 51.0.1 (32-bit) (with Developer Tools, Responsive Mode on)
         IE: OK 11 (with Developer Tools, Windows Phone Mode)

What steps will reproduce the problem?
(1) Open a new tab
(2) Open the developer tools
(3) Set Device mode to a mobile phone, i.e. iPhone 6
(4) Enter URL - http://www.pdf995.com/samples/pdf.pdf
(5) See PDF not load.

What is the expected result?
That the PDF should load using the Chrome PDF Viewer OR a message displays that Chrome cannot render PDFs in responsive/mobile testing mode.


What happens instead?
The PDF does not load, and you receive error message: "Resource interpreted as Document but transferred with MIME type application/pdf".  If you check the Response headers they are in fact "application/PDF"


Please provide any additional information below. Attach a screenshot if
possible.

 
Components: Internals>Plugins>PDF
Labels: -Pri-3 Needs-Triage-M57 OS-Windows Pri-2
Cc: dgozman@chromium.org
Components: Platform>DevTools
Labels: -Needs-Triage-M57 OS-Chrome OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
This regressed in https://chromium.googlesource.com/chromium/src/+log/a2e8a4030fc3da64a9d3c261fc5402213dcc443d..b0ed7040ca6afc56499cec7ea410962cd5322090 so it probably happened as a result of r359996. Since this happened as a result of devtools changes, I defer to devtools folks to triage this bug.
Labels: -Pri-2 Pri-3
Owner: dgozman@chromium.org
Status: Assigned (was: Untriaged)
Summary: DevTools: explain why PDF does not load in device mode (was: PDF does not load with Developer Tools open and simulating mobile/tablet device)
This is because we disable plugins during mobile emulation (to be closer to real device). Showing "PDFs are not supported in responsive mode" is a valid suggestion.
Status: Archived (was: Assigned)

Sign in to add a comment