Closed
Bug 370966
Opened 17 years ago
Closed 17 years ago
Fix error handling in nsPrintEngine
Categories
(Core :: Printing: Output, defect)
Core
Printing: Output
Tracking
()
RESOLVED
FIXED
People
(Reporter: sharparrow1, Assigned: sharparrow1)
References
Details
Attachments
(1 file)
37.20 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
I'll post a patch sometime pretty soon. One major issue: FirePrintCompletionEvent can destroy a subsequent print engine in the case where a print dialog get cancelled, e.g. data:text/html,<script>print();print();</script> crashes if you cancel the first print dialog.
Assignee | ||
Updated•17 years ago
|
Assignee: printing → sharparrow1
Assignee | ||
Comment 1•17 years ago
|
||
In the interest of making things easier to read, I merged Print() and PrintPreview(). This makes it clearer where they are the same and where they differ. This patch makes the error handling much more consistent; also, it uses NS_ENSURE_*, so it should consistently warn when something unexpected happens.
Attachment #256122 -
Flags: review?(roc)
Attachment #256122 -
Flags: superreview+
Attachment #256122 -
Flags: review?(roc)
Attachment #256122 -
Flags: review+
Assignee | ||
Comment 2•17 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•