Closed
Bug 99633
Opened 24 years ago
Closed 24 years ago
printing regression tests ask for a printer
Categories
(Core :: Layout: Tables, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.6
People
(Reporter: bernd_mozilla, Assigned: rods)
References
Details
(Whiteboard: [PDT+])
Attachments
(1 file, 1 obsolete file)
|
1.27 KB,
patch
|
karnaze
:
review+
attinasi
:
superreview+
|
Details | Diff | Splinter Review |
with a current CVS under win98 if I run rtest baseline in the table/printing
directory it creates only rgd files for the first two files and ask's for a printer
at file:///s|/mozilla/layout/html/tests/table/printing/bug54829.html. If I
dismiss the dialog it stalles.
This is a hack as usual, the problem is that we start a print job even if we are
in regression tests. Further in DoPrint we check for the regression output, but
this is already to late as we started already a print job.
| Assignee | ||
Comment 4•24 years ago
|
||
*** Bug 102763 has been marked as a duplicate of this bug. ***
| Assignee | ||
Updated•24 years ago
|
Attachment #50387 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•24 years ago
|
||
| Assignee | ||
Comment 6•24 years ago
|
||
r=rods for the patch
| Assignee | ||
Comment 7•24 years ago
|
||
Actually now that I think of it, shouldn't we also skip the EndDocument call
and there is a file pointer?
OnEndPrinting(NS_OK); // removes listener
>>>> NS_ASSERTION(0!=0, "gotcha");
if (mPrintPS) {
mPrintDC->EndDocument();
#ifdef DEBUG_PRINTING
fprintf(mDebugFD, "****************** End Document ************************\n");
#endif
}
I added an assertion its never called during regression tests so it looks that
the patch is sufficient
Comment 9•24 years ago
|
||
Comment on attachment 51854 [details] [diff] [review]
should use NS_OK instead of '0' and it includes a small debug fix for me.
sr=attinasi
Attachment #51854 -
Flags: superreview+
Comment 10•24 years ago
|
||
Comment on attachment 51854 [details] [diff] [review]
should use NS_OK instead of '0' and it includes a small debug fix for me.
r=karnaze
Attachment #51854 -
Flags: review+
Comment 11•24 years ago
|
||
Adding nsbranch keyword, since printing regression testing is mandatory prior to
layout checkins.
Comment 12•24 years ago
|
||
Marking nsbranch+. Needed to make printing regression tests work.
| Reporter | ||
Comment 14•24 years ago
|
||
fix checked in into trunk, reassigning the bug to rods, as I do not build branch
Assignee: bernd.mielke → rods
Comment 15•24 years ago
|
||
This looks like a candidate for the branch. Can we talk about it in the PDT today?
| Assignee | ||
Comment 17•24 years ago
|
||
checked into the branch
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 18•24 years ago
|
||
can someone verify this bug.. I do not have a debug build on win98..
Thanks
Comment 19•24 years ago
|
||
bernd.mielke@snafu.de (Bernd Mielke) - can you help to verify this? Thank you.
Comment 20•24 years ago
|
||
I got a debug build and ran the regression tests(rtests) in the directory
/mozilla/layout/html/tests/table/printing.. It did create all the baselines for
all the testcases in that directory but finally it gave an asserstion
"NS_ENSURE_TRUE() in file \mozilla\docshell\base\nsWebShell.cpp
But I think this is different form this bug
Marking verified
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•