Chrome print preview does not work |
||||
Issue descriptionChrome Version: Google Chrome 56.0.2924.87 (Official Build) (64-bit) Revision 0e9a9a6f3676ae439b78cd9b3f62b4193c3ac7d5-refs/branch-heads/2924@{#895} OS Linux JavaScript V8 5.6.326.50 Flash 24.0.0.221 What steps will reproduce the problem? Ctrl-P What is the expected result? Shows print preview What happens instead? Nothing shown JavaScript console has a ton of error /deep/ combinator is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details. pdf_preview.html:6 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/elements/viewer-error-screen/viewer-error-screen.html' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:7 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/elements/viewer-page-indicator/viewer-page-indicator.html' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:8 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/elements/viewer-page-selector/viewer-page-selector.html' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:9 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/elements/viewer-password-screen/viewer-password-screen.html' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:10 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/elements/viewer-pdf-toolbar/viewer-pdf-toolbar.html' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:11 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/elements/viewer-zoom-toolbar/viewer-zoom-toolbar.html' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:1 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/toolbar_manager.js' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:1 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/viewport.js' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:1 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/open_pdf_params_parser.js' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:1 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/navigator.js' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:1 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/viewport_scroller.js' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:1 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/zoom_manager.js' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:1 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/gesture_detector.js' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:1 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/pdf_scripting_api.js' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:1 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/browser_api.js' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:1 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/pdf.js' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'". pdf_preview.html:1 Refused to load the script 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/main.js' because it violates the following Content Security Policy directive: "script-src chrome://resources 'self' 'unsafe-eval'".
,
Mar 10 2017
Have not seen this before and don't think we have another open bug for it. Are there any specific pages that trigger this issue or does it happen on every webpage? Since pdf_preview.html just redirects to pdf/index.html, which is part of the PDF viewer, do these errors ever come up when just loading PDFs (not running print preview)?
,
Mar 10 2017
No specific page. Chrome simply not rendering the print preview. I did not try normal PDF pages. This symptom goes away after I killall -9 chrome and restart.
,
Mar 25 2017
I had this problem too, on Windows. Updating to version 57 seems to have fixed it.
,
Mar 28 2017
+mkwst if the CSP errors sound familiar. Not sure what's causing it but maybe Chrome 57+ won't have the same problem.
,
May 9 2017
Has the bug resurfaced? Not sure what we can do about it if it's not reproducible.
,
May 10 2017
I'm pretty sure it'd be reproducible by loading up the build of Chrome this issue was reported under (v56), but it was fixed in a later build, and has not yet regressed (at least, not for me).
,
May 10 2017
Thanks for letting us know. We'll close this for now. |
||||
►
Sign in to add a comment |
||||
Comment 1 by dpa...@chromium.org
, Mar 10 2017Components: UI>Browser>PrintPreview
Labels: -Pri-3 OS-Chrome OS-Linux Pri-2