mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 859172 - Call SetInputErrorBehavior from convertURItoUnicode. r=smontagu
This commit is contained in:
parent
d84e7e16cb
commit
939380bc15
@ -174,6 +174,7 @@ nsresult nsTextToSubURI::convertURItoUnicode(const nsAFlatCString &aCharset,
|
||||
rv = charsetConverterManager->GetUnicodeDecoder(aCharset.get(),
|
||||
getter_AddRefs(unicodeDecoder));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
unicodeDecoder->SetInputErrorBehavior(nsIUnicodeDecoder::kOnError_Signal);
|
||||
|
||||
int32_t srcLen = aURI.Length();
|
||||
int32_t dstLen;
|
||||
|
Loading…
Reference in New Issue
Block a user