Created attachment 651735 [details] [diff] [review] Patch It's not obvious to me what we should really return here, so I preserved existing behavior (with comments). NS_ERROR_FAILURE is nonzero, therefore boolean true, and NS_OK is boolean false.
this one is a dupe of bug 776481. Please finish the patch addressing comments in bug 782622 (since it seems Mato is not active on it).
Comment on attachment 651735 [details] [diff] [review] Patch canceling review request per comment #2