Closed
Bug 779122
Opened 12 years ago
Closed 12 years ago
nsXPCComponents_Utils::RecomputeWrappers returns bool instead of nsresult
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: ayg, Assigned: ayg)
References
Details
Bug 773962 part 4 added nsXPCComponents_Utils::RecomputeWrappers, which was declared as returning NS_IMETHODIMP. But it returns the result of js::RecomputeWrappers, which returns a boolean, and/or the result of &&, which is also a boolean. If the method is called from JS, AFAIK, this is the same as always returning NS_OK, so how about you return NS_OK here instead?
Comment 1•12 years ago
|
||
sure, r=me on a patch that does that.
Assignee | ||
Updated•12 years ago
|
Assignee: bobbyholley+bmo → ayg
Assignee | ||
Comment 2•12 years ago
|
||
Flags: in-testsuite-
Target Milestone: --- → mozilla17
Comment 3•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•