New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 668918 link

Starred by 3 users

Issue metadata

Status: Duplicate
Merged: issue 667224
Owner:
Buried. Ping if important.
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Print preview does not generate for page

Project Member Reported by alancutter@chromium.org, Nov 28 2016

Issue description

Version: 56
<b>OS: <please tell me it's not XP></b>

What steps will reproduce the problem?
(1) Open content.html.
(2) Print page.

What is the expected result?
You should see the print preview

What happens instead?
Print preview never loads.


This is a regression, the print preview works in Chrome 55.
 
working_chrome_55.png
469 KB View Download
not_working_chrome_56.png
75.1 KB View Download
content.html
26.6 KB View Download
Labels: Hotlist-Interop
Labels: M-56
Cc: tkonch...@chromium.org
Labels: Needs-Feedback
Unable to reproduce the issue on Linux 12.04 chrome dev version 56.0.2924.3 and 56.0.2924.8 - Print preview loads fine.

Please find the screenshot

Could you please let us know the chrome version where you are facing the issue.


Screenshot from 2016-11-28 11:21:38.png
512 KB View Download
Labels: -Needs-Feedback
Looks like this only repros with the --enable-experimental-web-platform-features.

I get the following error messages in the terminal:

[4012:4012:1128/173129:ERROR:CONSOLE(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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (6)
[4012:4012:1128/173129:ERROR:CONSOLE(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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (7)
[4012:4012:1128/173129:ERROR:CONSOLE(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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (8)
[4012:4012:1128/173129:ERROR:CONSOLE(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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (9)
[4012:4012:1128/173129:ERROR:CONSOLE(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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (10)
[4012:4012:1128/173129:ERROR:CONSOLE(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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (11)
[4012:4012:1128/173129:ERROR:CONSOLE(0)] "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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (0)
[4012:4012:1128/173129:ERROR:CONSOLE(0)] "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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (0)
[4012:4012:1128/173129:ERROR:CONSOLE(0)] "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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (0)
[4012:4012:1128/173129:ERROR:CONSOLE(0)] "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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (0)
[4012:4012:1128/173129:ERROR:CONSOLE(0)] "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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (0)
[4012:4012:1128/173129:ERROR:CONSOLE(0)] "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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (0)
[4012:4012:1128/173129:ERROR:CONSOLE(0)] "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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (0)
[4012:4012:1128/173129:ERROR:CONSOLE(0)] "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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (0)
[4012:4012:1128/173129:ERROR:CONSOLE(0)] "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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (0)
[4012:4012:1128/173129:ERROR:CONSOLE(0)] "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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (0)
[4012:4012:1128/173129:ERROR:CONSOLE(0)] "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'".
", source: chrome://print/pdf_preview.html?chrome://print/1/0/print.pdf (0)

Labels: Regressed-56
Unable to repro in Chrome 55 with --enable-experimental-web-platform-features enabled, this is a regression on Chrome 56.
Labels: -Needs-Bisect OS-Mac OS-Windows
Owner: mkwst@chromium.org
Status: Assigned (was: Available)
Able to reproduce the issue on Linux chrome version 56.0.2924.3 with --enable-experimental-web-platform-features enabled

This is reproducible in win and mac as well

This is a regression in M56 and below is the bisect info

Manual Bisect:
Good Build: 56.0.2902.0
Bad Build: 56.0.2903.0

Bisect Tool Info:
You are probably looking for a change made after 428039 (known good), but no later than 428040 (first known bad).

CHANGELOG URL:
  https://chromium.googlesource.com/chromium/src/+log/2ce641d6fa80fc0a9ea2fe1484f6040224e2a6a3..e285ee2fbabbe223bb36fe96f83bdb70d93ef643

Please reassign if this is not related to your change

Comment 7 by mkwst@chromium.org, Nov 29 2016

Mergedinto: 667224
Status: Duplicate (was: Assigned)
Duping against 667224. Should be fixed with https://codereview.chromium.org/2528903002. 

Sign in to add a comment