mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
avoid EndDocument and AbortDocument + nasty dialogs during printing regression tests
bug 125053 r=karnaze,rods sr=attinasi
This commit is contained in:
parent
1347683650
commit
62b1dc6afe
@ -800,7 +800,7 @@ PrintData::~PrintData()
|
|||||||
|
|
||||||
OnEndPrinting(NS_OK); // removes listener
|
OnEndPrinting(NS_OK); // removes listener
|
||||||
|
|
||||||
if (mPrintDC) {
|
if (mPrintDC && !mDebugFilePtr) {
|
||||||
#ifdef DEBUG_PRINTING
|
#ifdef DEBUG_PRINTING
|
||||||
fprintf(mDebugFD, "****************** End Document ************************\n");
|
fprintf(mDebugFD, "****************** End Document ************************\n");
|
||||||
#endif
|
#endif
|
||||||
|
@ -800,7 +800,7 @@ PrintData::~PrintData()
|
|||||||
|
|
||||||
OnEndPrinting(NS_OK); // removes listener
|
OnEndPrinting(NS_OK); // removes listener
|
||||||
|
|
||||||
if (mPrintDC) {
|
if (mPrintDC && !mDebugFilePtr) {
|
||||||
#ifdef DEBUG_PRINTING
|
#ifdef DEBUG_PRINTING
|
||||||
fprintf(mDebugFD, "****************** End Document ************************\n");
|
fprintf(mDebugFD, "****************** End Document ************************\n");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user