Issue metadata
Sign in to add a comment
|
printing an iframe can omit <object> and <embed> tags
Reported by
alecdu...@gmail.com,
Apr 23 2018
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36 Steps to reproduce the problem: 1. Extract the attached zip file somewhere. 2. Run "python3 -m http.server" or another web server from the directory you unzipped to 3. Open http://localhost:8000/test.html in Chrome. 4. Enter "document.querySelector('iframe').contentWindow.print()" in the console. 5. Cancel the print preview, and run the above command again. What is the expected behavior? Both times you call print(), you should see three images as you see in the iframe on the page. What went wrong? The first time you call print(), you only see the <img> tag. When you call print() again after cancelling the preview, you see all three images. Did this work before? Yes 65 Does this work in other browsers? Yes Chrome version: 66.0.3359.117 Channel: stable OS Version: 10 Flash Version:
,
Apr 23 2018
,
Apr 24 2018
Unable to reproduce the issue on chrome reported version 66.0.3359.117 using Windows-10 with steps mentioned below: 1) Launched chrome reported version, unzipped(provided in comment#0) and placed the file on desktop 2) Created a local server and navigated to URL: http://localhost:8000/test.html and opened Devtools>Console 3) Entered "document.querySelector('iframe').contentWindow.print()" in console, print preview window appears, able to see three images on it 4) Clicked on cancel button and again entered "document.querySelector('iframe').contentWindow.print()" in console, able to three images on print preview window @Reporter: Please find the attached screencast for your reference and let us know if we missed anything in reproducing the issue, try to test this issue by creating new person with no apps and extensions in it and let us know if the issue still persists, provide your feedback on it which help in further triaging the issue in better way. Thanks!
,
May 10 2018
I also consistently see 3 images every time.
,
Jun 6 2018
I would suggest asking a friend to try this on there computer and see if they can reproduce the problem.
,
Jun 7 2018
Hi, Thanks for looking into this. I'll try to reproduce this again and create a screencast. This was definitely a real issue - it was discovered and reported to us on the same day after a Chrome update by several of our clients, and was happening across multiple platforms. We fixed it by changing our code to use (IIRC) iframe instead of object. Cheers, Alex
,
Jun 7 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 8 2018
As per comment#6 adding Needs-Feedback label, waiting for a screen cast from the reporter. @Reporter: In C#6 "We fixed it by changing our code to use (IIRC) iframe instead of object." does this mean the issue is no longer seen...? Thanks!
,
Sep 26
,
Sep 26
Closing since we can't reproduce and the bug reporter found a workaround. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by alex...@chromium.org
, Apr 23 2018