Open
Bug 778106
Opened 12 years ago
Updated 2 years ago
nsPrintProgress::CloseProgressDialog uses bool as nsresult
Categories
(Toolkit :: Printing, defect)
Toolkit
Printing
Tracking
()
REOPENED
People
(Reporter: ayg, Unassigned)
References
Details
return OnStateChange(nsnull, nsnull, nsIWebProgressListener::STATE_STOP, forceClose); forceClose is a bool, but the fourth param of OnStateChange is an nsresult.
Reporter | ||
Comment 1•12 years ago
|
||
The Mac and Windows versions also do this.
Summary: Unix nsPrintProgress::CloseProgressDialog uses bool as nsresult → nsPrintProgress::CloseProgressDialog uses bool as nsresult
Blocks: 1243899
Comment 2•8 years ago
|
||
This bug is filed in a bugzilla component related to pre-Firefox code which no longer exists. I believe it is no longer relevant and I am therefore closing it INCOMPLETE. If you believe that this bug is still valid and needs to be fixed, please reopen it and move it to the Toolkit:Startup and Profile System product/component.
Assignee | ||
Updated•8 years ago
|
Product: Core → Core Graveyard
Comment 3•8 years ago
|
||
embedding/components/printingui/unixshared/nsPrintProgress.cpp specifically mentions this bug in a comment:
> NS_IMETHODIMP nsPrintProgress::CloseProgressDialog(bool forceClose)
> {
> m_closeProgress = true;
> // XXX Invalid cast of bool to nsresult (bug 778106)
> return OnStateChange(nullptr, nullptr, nsIWebProgressListener::STATE_STOP,
> (nsresult)forceClose);
> }
So the problem still exists.
I've the right Bugzilla component for that file; please correct it if it's wrong.
Status: RESOLVED → REOPENED
Component: Profile: BackEnd → Embedding: GRE Core
Product: Core Graveyard → Core
Resolution: INCOMPLETE → ---
Comment 4•8 years ago
|
||
Mass change of bugs in the "Embedding: GRE Core" component in preparation for archiving it. I believe that these are no longer relevant; but if they are, they should be reopened and moved into a component relevant to the code in question.
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•8 years ago
|
Product: Core → Core Graveyard
Comment 5•8 years ago
|
||
This code was removed for OSX in bug 1134891. The problem still exists for Windows and Unix.
Status: RESOLVED → REOPENED
Component: Embedding: GRE Core → Printing
Product: Core Graveyard → Toolkit
Resolution: INCOMPLETE → ---
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•