Bug 947592 - Streamline ReportLoadError. r=bent

This commit is contained in:
Andrew McCreight 2014-01-23 17:20:53 -08:00
parent 7b139fafd1
commit 6afd61f357

View File

@ -876,8 +876,7 @@ void ReportLoadError(JSContext* aCx, const nsAString& aURL,
break;
default:
JS_ReportError(aCx, "Failed to load script: %s (nsresult = 0x%x)",
url.get(), aLoadResult);
JS_ReportError(aCx, "Failed to load script (nsresult = 0x%x)", aLoadResult);
}
}