mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Remove bogus assertion (bug 400763, r+sr=sicking)
This commit is contained in:
parent
cff4f13fe7
commit
6ff7e46a0c
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user