mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 962658 - test_badMimeType.html | Assertion count 6 is greater than expected range 0-0 assertions. on Android 4.0 Debug r=gbrown
--HG-- extra : rebase_source : e601fa6f2ed385a28bb25550c4a13aa63f5a452b
This commit is contained in:
parent
f681294454
commit
4111e32548
@ -50,7 +50,13 @@ nsMIMEInfoAndroid::GetMimeInfoForMimeType(const nsACString& aMimeType,
|
||||
}
|
||||
|
||||
nsIHandlerApp* systemDefault = nullptr;
|
||||
bridge->GetHandlersForMimeType(NS_ConvertUTF8toUTF16(aMimeType),
|
||||
|
||||
if (!IsUTF8(aMimeType, true))
|
||||
return false;
|
||||
|
||||
NS_ConvertUTF8toUTF16 mimeType(aMimeType);
|
||||
|
||||
bridge->GetHandlersForMimeType(mimeType,
|
||||
info->mHandlerApps, &systemDefault);
|
||||
|
||||
if (systemDefault)
|
||||
|
Loading…
Reference in New Issue
Block a user