DevTools: explain why PDF does not load in device mode
Reported by
bobflor...@planstone.com,
Feb 27 2017
|
||||
Issue descriptionChrome 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.
,
Feb 28 2017
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.
,
Feb 28 2017
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.
,
Oct 4 2017
|
||||
►
Sign in to add a comment |
||||
Comment 1 by manoranj...@chromium.org
, Feb 27 2017Labels: -Pri-3 Needs-Triage-M57 OS-Windows Pri-2