Bug 692342 - Assert against arrays of jsvals, since we don't handle them. r=mrbkap

This commit is contained in:
Bobby Holley 2011-11-25 17:09:07 -08:00
Родитель 913bef7142
Коммит e651e33635
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -2738,6 +2738,9 @@ CallMethodHelper::ConvertDependentParam(uint8 i)
Throw(NS_ERROR_XPC_CANT_GET_ARRAY_INFO, mCallContext);
return JS_FALSE;
}
NS_ABORT_IF_FALSE(datum_type.TagPart() != nsXPTType::T_JSVAL,
"Arrays of JSVals not currently supported - "
"see bug 693337.");
} else {
datum_type = type;
}