Open
Bug 80572
Opened 23 years ago
Updated 2 years ago
window.print prints a blank page when called too early
Categories
(Core :: Printing: Output, defect, P3)
Tracking
()
NEW
Future
People
(Reporter: adamlock, Unassigned)
References
()
Details
The document specified by the URL above contains some Javascript that calls
window.print while the page is still loading. Instead of waiting for loading to
complete and printing the correct content, it just prints a single blank page.
See bug 66934 for some background on the problem.
Updated•23 years ago
|
Target Milestone: --- → mozilla0.9.3
Updated•23 years ago
|
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Updated•23 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Comment 1•23 years ago
|
||
0.9.5 is out the door. bumping TM up by one.
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Updated•23 years ago
|
Target Milestone: mozilla0.9.6 → mozilla1.0.1
Updated•23 years ago
|
Priority: -- → P1
Target Milestone: mozilla1.0.1 → Future
Updated•23 years ago
|
Priority: P1 → P2
(In reply to comment #0)
I don't think this is a bug at all. There are many cases where you cn can have Javascript try to do things too soon, before the page is completely loaded. The normal way to handle it is to call the print() method from the onload handler on the body. That handler only runs once everything has arraived.
Updated•15 years ago
|
Assignee: rods → nobody
QA Contact: sujay → printing
Comment 4•14 years ago
|
||
This is WFM.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
Comment 5•6 years ago
|
||
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•