Not sure what the style guidelines suggest for mozilla apps, but this approach,
>+ if (NS_ERROR_IN_PROGRESS == rv) {
catches this error during compilation,
if (NS_ERROR_IN_PROGRESS = rv)
Not sure what the style guidelines suggest for mozilla apps, but this approach,
>+ if (NS_ERROR_ IN_PROGRESS == rv) {
catches this error during compilation,
if (NS_ERROR_ IN_PROGRESS = rv)