[Webkit-unassigned] [Bug 43658] Calling window.print() before the page is loaded results in a blank printed page
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 20 13:41:58 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=43658
--- Comment #20 from Lei Zhang <thestig at chromium.org> 2011-01-20 13:41:57 PST ---
(In reply to comment #19)
> > I tried changing the test page to call print() multiple times. On Windows, we have the following behavior:
> >
> > IE 8: prompts once always
> > FF 3.6: prompts once always
> <...>
> > Based on this, I'd say it's ok if the WebKit based browser match IE/FF.
>
> This is not what I see in Firefox 3.6 on Mac or Windows. What I see is that window.print() is always synchronous in Firefox, just like in Safari 5 - as evidenced by the included test case, which fails in Firefox.
>
> So, this patch has changed WebKit from matching Firefox to matching IE. What am I missing? Why does the original issue with Bank of America not occur with Firefox?
Which test case did you try exactly? On Windows XP, with Firefox 3.6.12 and a CutePDF dummy printer, I loaded up http://leiz.org/chromium/25027_test2.html, which calls window.print() 3 times, but only pops up the print dialog once.
screen capture of what I described above:
http://leiz.org/chromium/25027_ff.avi
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list