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?
sure, r=me on a patch that does that.
5 years ago