зеркало из https://github.com/mozilla/pjs.git
JavaScript Test - fix scope on map call, bug 382509
This commit is contained in:
Родитель
f684adec58
Коммит
5030468870
|
@ -66,7 +66,7 @@ function test()
|
||||||
expect = 'EvalError: function eval must be called directly, and not by way of a function of another name';
|
expect = 'EvalError: function eval must be called directly, and not by way of a function of another name';
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
actual = String(['a+" indirect"'].map(object.foo));
|
actual = String(['a+" indirect"'].map(object.foo, object));
|
||||||
}
|
}
|
||||||
catch(ex)
|
catch(ex)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче