Issue metadata
Sign in to add a comment
|
iFrame failing at contentWindow.print()
Reported by
caitlin....@gmail.com,
Sep 25
|
||||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Steps to reproduce the problem:
1. When creating and requesting iFrame to Print and view Preview PDF (code is called)
viewInvoiceDialog.append("<iframe id='ViewInvoiceDialogIframe' src='" + url + "' style='width:98%; height:98%;'></iframe>");
$("#ViewInvoiceDialogIframe").ready(function () {
document.getElementById("ViewInvoiceDialogIframe").focus();
document.getElementById("ViewInvoiceDialogIframe").contentWindow.print();
});
2. Chrome crashes. The network request was called but stops at opening the iFrame.
HTML:
<div id="ViewInvoiceDialog" style="display:none">
<iframe id="ViewInvoiceIframe" src="" style='width:98%; height:98%'></iframe>
</div>
What is the expected behavior?
Open Print Preview PDF. Was working up until this past week. Working on IE & FireFox
What went wrong?
Browser crashes. I do not have a crash report in my Chrome Folder
Did this work before? Yes
Does this work in other browsers? Yes
Chrome version: 69.0.3497.100 Channel: stable
OS Version: 10.0
Flash Version:
When 'contentWindow.print()` is commented out, Chrome does not crash.
Was updated on 9/19
69.0.3497.100_68.0.3440.106_
,
Sep 26
Wanted to note this application is secured, served on a VPN, although uses HTTP. Console Error: site.bundle..... Resource interpreted as Document but transferred with MIME type application/pdf: "http://filelocationrnd=1537931149268&invoiceFileName=Invoicenumber.pdf".
,
Sep 26
,
Sep 26
Unable to reproduce the issue on chrome reported version# 69.0.3497.100 using Windows-10 with steps mentioned below:
1) Launched chrome reported version and created '.html' file with data provided in comment# 0
(HTML:
<div id="ViewInvoiceDialog" style="display:none">
<iframe id="ViewInvoiceIframe" src="" style='width:98%; height:98%'></iframe>
</div>)
2) Dragged and dropped the file into new tab page, didn't observed anything on the page
3) Also tried by creating local server and opened the file, but didn't observed any print preview page.
Observations: Tried by pasting the below in console, seen "Uncaught ReferenceError"
(viewInvoiceDialog.append("<iframe id='ViewInvoiceDialogIframe' src='" + url + "' style='width:98%; height:98%;'></iframe>");
$("#ViewInvoiceDialogIframe").ready(function () {
document.getElementById("ViewInvoiceDialogIframe").focus();
document.getElementById("ViewInvoiceDialogIframe").contentWindow.print();
});)
@Reporter: Please find the attached screencsat for your reference and let us know if we missed anything in reproducing the issue. Provide your feedback on it which help ion further triaging it in better way. If possible could you please provide screencast of the issue which help in better understanding.
Thanks!
,
Sep 28
,
Sep 28
I am setting the 'src' value of an <iFrame> to a PDF on our own private server.
,
Sep 28
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
,
Sep 28
It should render like the screen shot below, this was on IE.
,
Oct 1
As per screencast attached in comment# 5, we tried to test this issue using the URL: https://hub.autotruck.com. But, on navigating to that URL it shows a message " This site can't provide secure connection". @Reporter: Please find the attached screenshots for your reference and provide your feedback on it. If possible could you please any sample Test file/URL(sample credentials if required) that reproduces the issue which helps us in further triaging it in better way. Thanks!
,
Oct 1
That's because the site is secured and only employees can have access to it. I initially stated that you need to VPN into the site. Which is why I provided the code for the call to render the iFrame.
,
Oct 1
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
,
Oct 3
@Reporter: As mentioned in comment# 0(step-2 in steps to reproduce the problem), you are facing a chrome crash when you clicked on print preview of PDF. Could you please provide crash ID by navigating to chrome://crashes, which will helps us in further triaging it. Thanks!
,
Oct 3
Local Crash ID 1fce931e-61cf-450b-919f-d19ace95fe3f
,
Oct 3
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
,
Oct 3
Crash report captured on Wednesday, October 3, 2018 at 8:17:39 AM (upload requested by user, not yet uploaded)
,
Oct 3
Please let me know if you need anything else!
,
Oct 4
,
Oct 8
@ Reporter: Could you please provide 16 digit crash ID by navigating to chrome://crashes as highlighted in the screenshot. Thanks!
,
Oct 8
,
Oct 8
This is all that is given.
,
Oct 8
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
,
Oct 9
Comment 19: Would you be willing to click the "Send now" button on that report to send us the crash report? It looks like you otherwise have crash reporting disabled, so we aren't able to look into it (since we aren't able to reproduce the crash ourselves). If so, please reply with the "Uploaded Crash Report ID" that should appear shortly after sending the report, and we'll be able to investigate what's happening. Thanks! (CC'ing thestig@, weili@, and ekaramad@ in case this is in the printing/PDF logic.)
,
Oct 10
If you can kindly hit the "Send now" link to upload the crash report, we can take a look and see what went wrong.
,
Nov 8
Just to follow up, we still need a crash report ID.
,
Nov 16
,
Jan 16
(6 days ago)
We never heard back. If you are still experiencing a crash, please get the crash report ID. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 Deleted