Remove bogus assertion (bug 400763, r+sr=sicking)

This commit is contained in:
Jesse Ruderman 2008-09-11 03:02:32 -07:00
parent cff4f13fe7
commit 6ff7e46a0c

View File

@ -864,8 +864,6 @@ nsScriptLoader::PrepareLoadedRequest(nsScriptLoadRequest* aRequest,
rv = ConvertToUTF16(channel, aString, aStringLen, hintCharset, mDocument, rv = ConvertToUTF16(channel, aString, aStringLen, hintCharset, mDocument,
aRequest->mScriptText); aRequest->mScriptText);
NS_ASSERTION(NS_SUCCEEDED(rv),
"Could not convert external JavaScript to Unicode!");
NS_ENSURE_SUCCESS(rv, rv); NS_ENSURE_SUCCESS(rv, rv);
if (!ShouldExecuteScript(mDocument, channel)) { if (!ShouldExecuteScript(mDocument, channel)) {