JavaScript Test - fix scope on map call, bug 382509

This commit is contained in:
bclary@bclary.com 2007-06-13 13:51:06 -07:00
Родитель 08f9c698f2
Коммит 0331703e69
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -66,7 +66,7 @@ function test()
expect = 'EvalError: function eval must be called directly, and not by way of a function of another name';
try
{
actual = String(['a+" indirect"'].map(object.foo));
actual = String(['a+" indirect"'].map(object.foo, object));
}
catch(ex)
{