return NS_FAILED(code) && code != NS_ERROR_FACTORY_REGISTER_AGAIN;
if(NS_SUCCEEDED(code)) return JS_FALSE;  switch(code) {   case NS_ERROR_FACTORY_REGISTER_AGAIN: case NS_BASE_STREAM_WOULD_BLOCK: return JS_FALSE; } return JS_TRUE;
static inline JSBool IsReportableErrorCode(nsresult code){    return NS_FAILED(code) && code != NS_ERROR_FACTORY_REGISTER_AGAIN;}