Closed Bug 203334 Opened 22 years ago Closed 19 years ago

Printing of secure pages hangs print process, can't cancel, can never print again

Categories

(Core :: Printing: Output, defect)

Sun
Solaris
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 297669

People

(Reporter: PlaceHolder, Unassigned)

References

()

Details

Attachments

(5 files)

User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4b) Gecko/20030419 Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4b) Gecko/20030419 When using Mozilla for web banking, if I try and print a page from a secure server, the "Printing" dialog box comes up Shows the URL in the Title (in this case Title: https://easyweb99a.tdcanadatrust.com/servlet/ca.banking...) and Progres shows "Preparing..." and the Cancel button never becomes active so you cannot cancel the operation. Then you cannot print from anywhere else (another tab or window) becuase you get a message that "You cannot print while in print preview." Reproducible: Always Steps to Reproduce: 1. Load a secure page 2. Attempt to print Actual Results: 1. Page loads 2. See Details (print dialog "hangs") Expected Results: 1. Page loads 2. Printing is successfull [All account numbers/names/balances in this HTML have been modified to protect my privacy] Here is a copy of the HTML from the secure page, in case that help point at the problem: <html> <head> <meta http-equiv="pragma" content="no-cache" /> <script language="JavaScript"> function activitySubmit(){ document.holdings.submit(); } </script> <base href="https://easyweb35d.tdcanadatrust.com/" /> <basefont face="verdana,arial,sans-serif" size="2" /> <link rel="stylesheet" href="styles/ns.css" type="text/css" /> </head> <body bgcolor="#ffffff" link="#006666" vlink="#999999" alink="#336699" topmargin="0" marginheight="0" onload=" pageLoad(); "> <script language="JavaScript" src="https://easyweb35d.tdcanadatrust.com/include/easyWeb2.js"></script> <script language="JavaScript"> var da = (document.all) ? 1 : 0; var pr = (window.print) ? 1 : 0; var mac = (navigator.userAgent.indexOf("Mac") != -1); function checkPrint(url){ if(pr){ return true; }else if(da && !mac){ return true; }else{ winAtts="toolbar=0,scrollbars=1,resizable=1,width=525,height=400"; var newWindow = window.open("","_new",winAtts); newWindow.location.replace(url); newWindow.focus(); return false; } } </script> <table width="760" height="63" border="0" cellspacing="0" cellpadding="0" bgcolor="#2d5c3d"> <tr> <td> <img src="/images/EasywbLogo.gif" alt="TD Canada Trust" width="203" height="59" border="0" />&nbsp;&nbsp;&nbsp;&nbsp; </td> <td valign="top" align="right"> <div style="margin-top:20px"></div> <table bgcolor="#2d5c3d" cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" align="right" class="GlobalLink"> <font class="GlobalLink" color="#c8ddca"> <a class="GlobalLink" href="servlet/com.td.easyweb.servlet.InfositeTransferOutServlet?RequestedPage=search/index.jsp"> <font color="#c8ddca">Search</font></a>&nbsp;|&nbsp; <a class="GlobalLink" href="servlet/com.td.easyweb.servlet.InfositeTransferOutServlet?RequestedPage=custserv/contact.jsp"> <font color="#c8ddca">Contact Us </font></a> </font>&nbsp; </td> <td> <a href="servlet/ca.tdbank.banking.servlet.LogoffServlet" class="logout"><img src="/images/logout.gif" alt="Logout" width="49" height="18" border="0" /></a> </td> </tr> <tr> <td valign="bottom" align="right" colspan="2"> <a class="personalize" href="servlet/ca.tdbank.banking.servlet.CustomizeGreetingServlet">TEST T TESTING</a> </td> </tr> </table> </td> <td>&nbsp;&nbsp;&nbsp;</td> </tr> </table> <table width="760" height="22" border="0" cellpadding="0" cellspacing="0" background="images/PrimaryNav.gif"> <tr><td> <table height="22" border="0" cellpadding="0" cellspacing="0"><tr> <td background="images/PrimaryNav.gif" class="PrimaryNav"> &nbsp;&nbsp; </td> <td background="images/PrimaryNavOn.gif" class="PrimaryNavOn"> &nbsp; <a class="PrimaryNavOn" href="servlet/ca.tdbank.banking.servlet.FinancialSummaryServlet"> My Accounts</a> &nbsp; </td> <td background="images/PrimaryNav.gif" class="PrimaryNav"> &nbsp; <a class="PrimaryNav" href="servlet/com.td.easyweb.servlet.InfositeTransferOutServlet?RequestedPage=custserv/"> Customer Service</a> &nbsp; </td> <td background="images/PrimaryNav.gif" class="PrimaryNav"> &nbsp; <a class="PrimaryNav" href="servlet/com.td.easyweb.servlet.InfositeTransferOutServlet?RequestedPage=index.jsp"> Products & Services</a> &nbsp; </td> <td background="images/PrimaryNav.gif" class="PrimaryNav"> &nbsp; <a class="PrimaryNav" href="servlet/com.td.easyweb.servlet.InfositeTransferOutServlet?RequestedPage=markets/"> Markets & Research</a> &nbsp; </td> <td background="images/PrimaryNav.gif" class="PrimaryNav"> &nbsp; <a class="PrimaryNav" href="servlet/com.td.easyweb.servlet.InfositeTransferOutServlet?RequestedPage=planning/"> Planning</a> &nbsp; </td> </tr></table></td></tr> </table> <table width="760" height="20" border="0" cellpadding="0" cellspacing="0" background="images/SecondaryNav.gif"> <tr><td> <table height="20" border="0" cellpadding="0" cellspacing="0"><tr> <td background="images/SecondaryNav.gif" class="SecondaryNav"> &nbsp;<img src="images/SecondaryNavBullet.gif" /> <a class="SecondaryNav" href="servlet/ca.tdbank.banking.servlet.FinancialSummaryServlet"> View Accounts</a> &nbsp; </td> <td background="images/SecondaryNav.gif" class="SecondaryNav"> &nbsp;<img src="images/SecondaryNavBullet.gif" /> <a class="SecondaryNav" href="servlet/ca.tdbank.banking.servlet.BillPaymentFormServlet"> Payments & Transfers</a> &nbsp; </td> <td background="images/SecondaryNav.gif" class="SecondaryNavOn"> &nbsp;<img src="images/SecondaryNavOnBullet.gif" /> <a class="SecondaryNavOn" href="/servlet/com.td.funds.servlet.AccountBalancesServlet?USERTYPE=1"> Investing</a> &nbsp; </td> <td background="images/SecondaryNav.gif" class="SecondaryNav"> &nbsp;<img src="images/SecondaryNavBullet.gif" /> <a class="SecondaryNav" href="EservicesOverview.jsp"> eServices</a> &nbsp; </td> <td background="images/SecondaryNav.gif" class="SecondaryNav"> &nbsp;<img src="images/SecondaryNavBullet.gif" /> <a class="SecondaryNav" href="servlet/ca.tdbank.banking.servlet.ChequeOrderSelectionServlet"> Special Requests</a> </td> </tr></table></td></tr> </table> <br /> <table width="760" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="151" valign="top"> <table width="151" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#c8ddca" height="1"> <td colspan="4"><img src="images/transp.gif" width="1" height="1" /></td> </tr> <tr bgcolor="#8bb093"> <td>&nbsp;</td> <td><img src="images/LeftNavBulletOn.gif" width="11" height="15" /></td> <td colspan="2"><a class="nav3selected" href="servlet/com.td.funds.servlet.AccountBalancesServlet?USERTYPE=1">Personal</a></td> </tr> <tr bgcolor="#ddebde"> <td colspan="2">&nbsp;</td> <td valign="top" width="9"><img src="images/nav4button.gif" border="0" width="9" height="13" /></td> <td><a class="nav4" target="new-window" onClick="top.fnHelp('http://tdfunds.tdam.com/tden/FundTable/fundTable.cfm'); return false;" href="#">Fund Prices</a></td> </tr> <tr bgcolor="#ddebde"> <td colspan="2">&nbsp;</td> <td valign="top" width="9"><img src="images/nav4button.gif" border="0" width="9" height="13" /></td> <td><a class="nav4" href="servlet/com.td.funds.servlet.FundOrderEntryVerifyServlet">Order Mutual Funds</a></td> </tr> <tr bgcolor="#ddebde"> <td colspan="2">&nbsp;</td> <td valign="top" width="9"><img src="images/nav4button.gif" border="0" width="9" height="13" /></td> <td><a class="nav4" href="https://easyweb35d.tdcanadatrust.com/servlet/ca.tdbank.banking.servlet.GICSelectionServlet">Purchase GIC</a></td> </tr> <tr bgcolor="#ddebde"> <td colspan="2">&nbsp;</td> <td valign="top" width="9"><img src="images/nav4button.gif" border="0" width="9" height="13" /></td> <td><a class="nav4" href="https://easyweb35d.tdcanadatrust.com/servlet/com.td.easyweb.servlet.InfositeTransferOutServlet?RequestedPage=apply/credit/rsploan.jsp">RSP Loan</a></td> </tr> <tr bgcolor="#ddebde"> <td colspan="2">&nbsp;</td> <td valign="top" width="9"><img src="images/nav4button.gif" border="0" width="9" height="13" /></td> <td><a class="nav4" href="servlet/com.td.funds.servlet.PPPListServlet">Purchase Plans</a></td> </tr> <tr bgcolor="#ddebde"> <td colspan="2">&nbsp;</td> <td valign="top" width="9"><img src="images/nav4button.gif" border="0" width="9" height="13" /></td> <td><a class="nav4" href="https://easyweb35d.tdcanadatrust.com/servlet/com.td.easyweb.servlet.InfositeTransferOutServlet?RequestedPage=easyweb5/invest/inv_acc_mp.jsp">Open New Account</a></td> </tr> </table> <br /> <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#c8ddca"> <tr bgcolor="#c8ddca"> <td>&nbsp;</td> <td class="toolboxheader">Quick Links</td> <td align="right"><a class="footerlink" href="servlet/ca.tdbank.banking.servlet.CustomizeQuicklinksServlet">Edit</a>&nbsp;</td> </tr> <tr> <td bgcolor="#ddebde">&nbsp;</td> <td bgcolor="#ddebde" colspan="2"> <div style="margin-top:4px"></div> <table border="0" cellpadding="1" cellspacing="0"> <tr> <td colspan="2">&nbsp;</td> <td valign="top" width="9"><img src="images/ToolBxBullet_new.gif" width="6" height="10" border="0" /></td> <td><a href="servlet/ca.tdbank.banking.servlet.BillPaymentFormServlet" class="nav4">Pay Bills</a></td> </tr> <tr> <td colspan="2">&nbsp;</td> <td valign="top" width="9"><img src="images/ToolBxBullet_new.gif" width="6" height="10" border="0" /></td> <td><a href="servlet/ca.tdbank.banking.servlet.FundsTransferSelectionServlet" class="nav4">Make a Transfer</a></td> </tr> <tr> <td colspan="2">&nbsp;</td> <td valign="top" width="9"><img src="images/ToolBxBullet_new.gif" width="6" height="10" border="0" /></td> <td><a href="servlet/com.td.funds.servlet.FundOrderEntryVerifyServlet" class="nav4">Order Mutual Funds</a></td> </tr> <tr> <td colspan="2">&nbsp;</td> <td valign="top" width="9"><img src="images/ToolBxBullet_new.gif" width="6" height="10" border="0" /></td> <td><a href="servlet/ca.tdbank.banking.servlet.SiteTransferOutServlet?dest=BROKER" class="nav4">WebBroker</a></td> </tr> <tr> <td colspan="2">&nbsp;</td> <td valign="top" width="9"><img src="images/ToolBxBullet_new.gif" width="6" height="10" border="0" /></td> <td><a href="servlet/ca.tdbank.banking.servlet.FinancialSummaryServlet" class="nav4">Download Accounts</a></td> </tr> <tr> <td colspan="2">&nbsp;</td> <td valign="top" width="9"><img src="images/ToolBxBullet_new.gif" width="6" height="10" border="0" /></td> <td><a href="servlet/ca.tdbank.banking.servlet.SiteTransferOutServlet?dest=USBANK" class="nav4">US Banking</a></td> </tr> <tr> <td colspan="2">&nbsp;</td> <td valign="top" width="9"><img src="images/ToolBxBullet_new.gif" width="6" height="10" border="0" /></td> <td><a href="servlet/ca.tdbank.banking.servlet.WebBillsServlet" class="nav4">webdoxs</a></td> </tr> </table> <div style="margin-top:7px"></div> </td> </tr> </table> </td> <td>&nbsp;&nbsp;</td> <td valign="top"> <table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top"> <img alt="Investing" border="0" src="images/investing_title.gif"/> </td> <td align="right"> <a class="pageutility" target="new-window" href="#" onClick="top.fnHelpEW('acc00154.htm');return false;" >Help</a>&nbsp; </td> </tr> <tr><td valign="top" colspan="2"><img src="images/line_dot.gif" width="100%" height="1" border="0" /></td></tr> <tr> <td valign="top"> <font class="pageTitleB">Account Details</font></td> <td align="right" valign="top"> <a class="pageutility" href="#" onclick="if(checkPrint('https://easyweb35d.tdcanadatrust.com/servlet/com.td.funds.servlet.HoldingsActivityServlet?funds_printable=funds_printable_true&holding_page=true')){top.frames[1].location.replace('https://easyweb35d.tdcanadatrust.com/servlet/com.td.funds.servlet.HoldingsActivityServlet?funds_printable=funds_printable_true&holding_page=true')};return false;" >Print this Page</a> </td> </tr> <tr> <td valign="top" align="right" colspan="2"> <img src="images/TDIS.gif" alt="TD Investment Services" border="0" align="right" /></td> </tr> <tr> <td class="table" colspan="2" valign="top" width="100%"> <div style="MARGIN-TOP: 10px" /> <form name="holdings" method="get" action="servlet/ca.tdbank.banking.servlet.AccountDetailsServlet"> <table class="element" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="1">&nbsp;<input type="hidden" name="dummy" value="0.9999888866663333"></td> <td align="left"><br /> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td><select class="Select" name="selectedAccount" size="1" maxlength="1"><option class="Option" value="C-9900998888">SELECT SERVICE - 7000700 $999.99</option><option class="Option" value="C9999786543">MUTUAL FUND ACCOUNT - 9992222 $932.50</option><option class="Option" selected="selected" value="C-9993334444">RESP - 9007776 $1550.75</option><option class="Option" value="C999922233">RRSP - 99887765 $199,996.54</option><option class="Option" value="C-9977553311">DAILY INTEREST SAVINGS RSP - 9933881 $905.55</option><option class="Option" value="C-999966999">RSP LOANS - 9999900-91 $5,555.55</option><option class="Option" value="V-888999888">THE VM CARD - 9999888888887777 $100.58</option></select></td> <td>&nbsp;</td> <td><input type="image" src="images/ok_green.gif" width="26" height="19" alt="OK" border="0"/></td> </tr> </table> <div style="MARGIN-TOP: 4px" /> <select class="select" name="SELECTEDACTION" onchange="activitySubmit();"> <option selected="selected" value="holdings"> Holdings </option> <option value="allactivity"> All Activity by Date </option> <option value="allactivitybyfund"> All Activity by Fund </option> <option value="444"> TD MGD ACT GR** </option> </select> <div style="margin-top:10px" /> </td> </tr> <tr bgcolor="#aecab4"> <td width="1">&nbsp;</td> <div style="margin-top:10px"></div> <td class="formtitle">Portfolio Summary</td> </tr> <tr> <td width="1">&nbsp;</td> <td align="left" class="table"> <div style="margin-bottom:6px; margin-top:6px"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td class="table"> Market Value as of Apr 24, 2003: </td> <td class="table">&nbsp;&nbsp;&nbsp;&nbsp;</td> <td align="left" class="table"> $1550.75 </td> </tr> <tr> <td class="table">Foreign Content:</td> <td class="table">&nbsp;&nbsp;&nbsp;&nbsp;</td> <td align="left" class="table"> <font color="red"> 100.0% </font></td> </tr> </table> </div> </td> </tr> </table> <br /> <table class="element" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr bgcolor="#aecab4"> <td width="1">&nbsp;</td> <td align="left" class="formtitle" colspan="16">Portfolio Details</td> </tr> <tr> <td width="1">&nbsp;</td> <td align="left" class="table" colspan="16"> <div class="table" style="MARGIN-BOTTOM: 4px"> Fund prices are as of&nbsp;Apr 24, 2003 <br /> All values in Canadian Dollars unless otherwise stated </div> </td> </tr> <tr> <td colspan="11"><img alt="" border="0" height="3" src="images/transp.gif" width="1" /><br /></td> </tr> <tr bgcolor="#ddebde"> <td>&nbsp;</td> <td class="formtitle">Action</td> <td bgcolor="#FFFFFF"><img src="images/transp.gif" width="1" height="1"></td> <td class="formtitle">&nbsp;Investments</td> <td bgcolor="#FFFFFF"><img src="images/transp.gif" width="1" height="1"></td> <td align="middle" class="formtitle">Units<br>Held</td> <td bgcolor="#FFFFFF"><img src="images/transp.gif" width="1" height="1"></td> <td align="middle" class="formtitle"> Price Per<br />Unit</td> <td bgcolor="#FFFFFF"><img src="images/transp.gif" width="1" height="1"></td> <td align="middle" class="formtitle"> Market<br>Value</td> <td bgcolor="#FFFFFF"><img src="images/transp.gif" width="1" height="1"></td> <td align="middle" class="formtitle">%<br />Holdings</td> <td bgcolor="#FFFFFF"><img src="images/transp.gif" width="1" height="1"></td> <td align="middle" class="formtitle"> Average <br /> Cost </td> <td bgcolor="#FFFFFF"><img src="images/transp.gif" width="1" height="1"></td> <td align="middle" class="formtitle"> % of <br /> Average Cost </td> </tr> <tr valign="top"> <td>&nbsp;</td> <td class="table" nowrap="nowrap"> <a class="table" href="servlet/com.td.funds.servlet.FundOrderEntryVerifyServlet ?dummy=0.9999998888555333 &SELECTEDACTION=2 &SELECTEDFUND=444 &SELECTEDACCOUNT=-9988779966" >Buy</a> <a class="table" href="servlet/com.td.funds.servlet.FundOrderEntryVerifyServlet ?dummy=0.8888777766663331 &SELECTEDACTION=0 &SELECTEDFROMFUND=444 &SELECTEDACCOUNT=-9988779966" >Sell</a> </td> <td bgcolor="#FFFFFF"><img src="images/transp.gif" width="1" height="1"></td> <td class="table"> <font color="red">*</font> TD MGD AGG GR**</td> <td bgcolor="#FFFFFF"><img src="images/transp.gif" width="1" height="1"></td> <td align="right" class="table" nowrap="nowrap"> 999.099</td> <td bgcolor="#FFFFFF"><img src="images/transp.gif" width="1" height="1"></td> <td align="right" class="table" nowrap="nowrap"> $110.99</td> <td bgcolor="#FFFFFF"><img src="images/transp.gif" width="1" height="1"></td> <td align="right" class="table" nowrap="nowrap"> $1770.50</td> <td bgcolor="#FFFFFF"><img src="images/transp.gif" width="1" height="1"></td> <td align="right" class="table" nowrap="nowrap"> 100.000</td> <td bgcolor="#FFFFFF"><img src="images/transp.gif" width="1" height="1"></td> <td align="right" class="table" nowrap="nowrap"> $999.99</td> <td bgcolor="#FFFFFF"><img src="images/transp.gif" width="1" height="1"></td> <td align="right" class="table" nowrap="nowrap"> 100.000</td> </tr> </table> <p class="table">** An early redemption fee may apply if this Fund is redeemed or transferred within 90 days of purchase. (180 days for certain e-Series units). Please see the Fund&#146;s Prospectus for details.</p> </form> </td> </tr> </table> <table> <tr> <td class=table align="left"> <font color="red">*</font>Fund qualifies as foreign content in registered accounts. </td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%" class="table" align="right"> <a class="pageutility" href="#" onclick="if(checkPrint('https://easyweb35d.tdcanadatrust.com/servlet/com.td.funds.servlet.HoldingsActivityServlet?funds_printable=funds_printable_true&holding_page=true')){top.frames[1].location.replace('https://easyweb35d.tdcanadatrust.com/servlet/com.td.funds.servlet.HoldingsActivityServlet?funds_printable=funds_printable_true&holding_page=true')};return false;" >Print this Page</a> </td> </tr> </table></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td> <br /><table width="100%"> <tr> <td class="footer"> <a class="footerLink" target="new-window" onClick="top.fnFooter('https://www.tdcanadatrust.com/mutualfunds/webfundcond_inc.html');return false;" href="https://www.tdcanadatrust.com/mutualfunds/webfundcond_inc.html">Terms and Conditions</a>&nbsp;|&nbsp; <a class="footerLink" target="new-window" onClick="top.fnFooter('https://www.tdcanadatrust.com/mutualfunds/tdam_disclaimer_inc.html');return false;" href="https://www.tdcanadatrust.com/mutualfunds/tdam_disclaimer_inc.html">Disclosure for TD Mutual Funds Investors</a> </td> </tr> <tr> <td class="footer"> <a class="footerLink" href="#" onclick="top.fnFooter('http://www.td.com/privacy/index_inc.html');return false;" target="_blank">Privacy Policy</a>&nbsp;|&nbsp; <a class="footerLink" href="#" onclick="top.fnFooter('http://www.td.com/security/index_inc.html');return false;" target="_blank">Internet Security</a>&nbsp;|&nbsp; <a class="footerLink" href="#" onclick="top.fnFooter('http://www.td.com/legal/index_inc.html');return false;" target="_blank">Legal</a>&nbsp;|&nbsp; TD Group Financial Services site - Copyright &copy; TD </td> </tr> <tr> <td align="right" class="footer"> <br />(Server ID: 99E : 9966778877880 ) </td> </tr> </table></td> </tr> </table> </body> </html>
In case the html got wrecked in the details
Reporter: Which name does your printer have in the print dialog ?
OS: SunOS → Solaris
The print dialog lists the printer as PostScript/default. I forgot to mention before that I am selecting the URL in the document to print itself... in case that matters. (Which was the reason why I included all the HTML.)
worksforme with linux trunk 20030425. I was able to print attachment 121665 [details] and a secure page on a different site. Can you print the attachment? Can you print secure pages from other sites?
Okay... so it gets a little stranger... If I print the page myself (without the help of their "print this page" link, what I get is not very useful (probably a frames issue or something silly)... but it does print... as do other https:// pages I have tried... it seems to really dislike my webbanking site... When I click the "print this page" link is where I seem to have the problem... any idea on how we could further diagnose what's wrong? (After all, I'm not really willing to let someone else log into my bank account ;-)
Can you save the page after you click on "Print this page"
Re: can I save the page after clicking "print this page" Well that is the attachment... the page doesn't change from before to after clicking the URL as near as I can tell... It doesn't appear to open a new window... if you look at the HTML it appears to just request a print of a specific URL, at least that is if I understand it, and that matches with what actually happens, which is: You click the link The print dialog opens, you select okay The print progress popup opens but cancel is grey'ed out Nothing ever prints and you can never cancel the print in progress
FWIW, the javascript in question does: onclick="if(checkPrint('https://foobar')) { top.frames[1].location.replace('https://foobar') }; return false;" checkPrint() should return true, so the "top.frames..." code should execute. if clicking the link pops open the print dialog, it has to be from javascript on the new URL
From the "Root window": <script language="JavaScript"> var da = (document.all) ? 1 : 0; var pr = (window.print) ? 1 : 0; var mac = (navigator.userAgent.indexOf("Mac") != -1); function checkPrint(url){ if(pr){ return true; }else if(da && !mac){ return true; }else{ winAtts="toolbar=0,scrollbars=1,resizable=1,width=525,height=400"; var newWindow = window.open("","_new",winAtts); newWindow.location.replace(url); newWindow.focus(); return false; } } </script>
I have access to an Windows XP machine running the official 1.4a release: Mozilla 1.4a Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401 and the same problem duplicates on that machine. (Granted the machine has other issues with printing (long story) but I am 99.99% sure this is the same problem because it has all the same symptoms.)
Can you still reproduce this problem with a recent build (1.7 or 1.8b)?
Yes, on Firefox 1.02 I can reproduce this at will.
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
I can still reproduce this on Firefox 1.0.7. The progress stays at "Preparing. .." and the cancel button never ever becomes active.
Does Print Preview work?
>Does Print Preview work? That's not relevant in this particular case as it is the javascript link on the page that is kicking off the print, and it causes a printer dialog to come up, and no where along that path is there an option to select print preview. If I select print preview from the menu on the page it works fine (or indeed if I print the page) but the content is not the same, as I get the whole page with extra layout, rather than just the content in the frame from the javascript link.
Clicking "Print this Page" from the testcase you attached is not working. It says "can't find server easyweb35d.tdcanadatrust.com". For this bug to be fixed, a working testcase is needed.
It seems that before printing, you're trying to replace the url to a printable version of the page. Is that right? You may achieve the same results by using the below css class to hide unneccessary html blocks from printing. @media print { .hidefromprinter { display: none } }
*I* am not trying to do anything with the HTML... I am trying to be able to print my bank statement from inside of Firefox. To the person that complained the URL is not valid... well obviously I am not willing to allow just anyone to log into my bank account. I thought I provided all the relevant HTML from the different pages as attachments before. Surely it must be possible to take some similar HTML and make your own pages that behave the sameway off of the Mozilla webserver somewhere? (You're not going to tell me that the Mozilla developers don't have their own sandbox somewhere?)
(In reply to comment #8) > checkPrint() should return true, so the "top.frames..." code should execute. if > clicking the link pops open the print dialog, it has to be from javascript on > the new URL the new URL is https://easyweb35d.tdcanadatrust.com/servlet/com.td.funds.servlet.HoldingsActivityServlet?funds_printable=funds_printable_true&holding_page=true Reporter, even though in comment #7 you say "the page doesn't change from before to after clicking the URL as near as I can tell...", the new URL MUST be different because it triggers printing dialog. Reporter, could you try copy/pasting the new URL (or whatever the checkPrint() function argument is) directly into address location and see whether it triggers the printing dialog and hangs the browser? p.s. I'm also interested in what function pageLoad() does. Another strange thing with the testcase is that javascript in "Print this Page" assumes that there're two frames on the page (top.frame[1]) :/
Please note that while I have a basic understanding of HTML, my Javascript is shakey at best... I code embedded apps in C and haven't spent any time learning to code complex web code. My analysis of the site is that it puts some code in a hidden frame, and the one frame somehow executes the code in the other frame. I assume what the print wants to do is to print only the frame, and not the whole page, but for whatever reason they produce a different output when you view it on screen then when you use their provided print functionality (I'm guessing that's because of different parameters to the Java servlet indicated in the print URL.) Since this seems to be pretty hard to debug without having access to my bank account, perhaps what we need to do is have someone make me a debug build of the code that logs a bunch of data to a file that I could then send here?
The function pageLoad() should be defined in this javascript file https://easyweb35d.tdcanadatrust.com/include/easyWeb2.js My guess is that function is constructing the frames. If you could add this file easyWeb2.js as an attachment that would be great.
Nevermind I got this javascript but it didn't contain much usefull information. https://easyweb.tdcanadatrust.com/include/easyWeb2.js
Bug 191878 should probably be closed as duplicate of this bug. This one has more details.
Ok, I was able to reproduce this hang with Firefox1.0.7 :) Firefox1.5beta2 was working fine. I'm working on a reduced testcase now.
Attached file blank.html
Attached file print_fr.html
Attached file main_fr.html
Load the testcase easyweb.tdcanadatrust.html and then click Print this page. It should hang your firefox1.0.x.
On trunk this bug was fixed by bug 297669.
In reply to comment #29, yes, that reproduced what I have been seeing.
Reporter, I think you should close this bug as a duplicate of bug 297669. You could request this to be fixed for 1.0.8 (setting flag blocking-aviary1.0.8 to ?) but I believe drivers accept only security fixes for 1.0 branch.
*** This bug has been marked as a duplicate of 297669 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: