merge the last green changeset on fx-team to m-c

This commit is contained in:
Tim Taubert 2011-07-31 06:39:34 +02:00
Родитель 4e5bf459d4 23e26fae22
Коммит a4a8b71264
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -1623,6 +1623,8 @@ nsJSContext::ExecuteScript(void *aScriptObject,
// If all went well, convert val to a string (XXXbe unless undefined?).
rv = JSValueToAString(mContext, val, aRetValue, aIsUndefined);
} else {
ReportPendingException();
if (aIsUndefined) {
*aIsUndefined = PR_TRUE;
}