On Sun, Nov 23, 2014 at 4:43 PM, Mark Hammond <mhamm...@skippinet.com.au> wrote:
> * Is Components.returnCode expected to be used when the code throws (as > SessionStore.jsm does) or when the code returns without an exception? (Or > maybe both?) > It doesn't look like it's used much in the tree, but it seems like the one unique use-case it solves is returning a code without throwing. So I think we should make it do that (and document the IDL). > * If it is supposed to be used with a normal return, is the change so > GetPendingResult() is called the correct approach to take? (ie, should I > open a bug with that as the patch?) > At a high level yes, but I haven't looked at the code to determine if that precise fix is right. Please file a bug with the patch flag me for review. bholley _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform