icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -306,13 +306,12 @@ nsresult WorkletModuleLoader::GetResolveFailureMessage(
|
|||
ResolveError aError, const nsAString& aSpecifier, nsAString& aResult) {
|
||||
uint8_t index = static_cast<uint8_t>(aError);
|
||||
MOZ_ASSERT(index < static_cast<uint8_t>(ResolveError::Length));
|
||||
MOZ_ASSERT(mLocalizedStrs);
|
||||
MOZ_ASSERT(!mLocalizedStrs->IsEmpty());
|
||||
if (!mLocalizedStrs || NS_WARN_IF(mLocalizedStrs->IsEmpty())) {
|
||||
MOZ_ASSERT(HasSetLocalizedStrings());
|
||||
if (NS_WARN_IF(mLocalizedStrs.IsEmpty())) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
const nsString& localizedStr = mLocalizedStrs->ElementAt(index);
|
||||
const nsString& localizedStr = mLocalizedStrs.ElementAt(index);
|
||||
|
||||
AutoTArray<nsString, 1> params;
|
||||
params.AppendElement(aSpecifier);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue