Closed Bug 102171 Opened 24 years ago Closed 24 years ago

[WFM]The page http://www.cnn.com does not print, because of uninitialized variable.

Categories

(Core :: Printing: Output, defect)

x86
Other
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: amardare, Assigned: rods)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) BuildID: Some pages ( ex: http://www.cnn.com ) do not print on our platform (QNX Rtp). I was debugging this and I think this is because of an uninitialized variable on the stack. Go to mozilla/content/base/src/nsDocumentViewer.cpp line:3650 The variable donePrinting it's not initialized and is also not modified in the DoPrint function. On windows and other platforms printing is ok because it happens to be a nonzero value on the stack. I think it should be initialized with PR_TRUE ( or make sure it's set in the DoPrint function ). Reproducible: Always Steps to Reproduce: 1. Read the description please. 2. 3.
I just downloaded the 9/28 branch build and this worksforme...I can print cnn.com w/o any problems
Asa, can you try this on the trunk ?
I tried in 9/28 trunk build also...worksforme on win98
This is not fixed yet, I just looked in the code. There are still cases in DoPrint() where we can leave the method without setting the aDonePrinting as the reporter pointed out.
Status: UNCONFIRMED → NEW
Ever confirmed: true
This prints fine with taday's tip build, taking bug
Assignee: dcone → rods
Status: NEW → ASSIGNED
Summary: The page http://www.cnn.com does not print, because of uninitialized variable. → [WFM]The page http://www.cnn.com does not print, because of uninitialized variable.
re-open if still a problem
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
marking verified....please REOPEN if you still see this...
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.