зеркало из https://github.com/mozilla/gecko-dev.git
JavaScript Test - fix scope on map call, bug 382509
This commit is contained in:
Родитель
08f9c698f2
Коммит
0331703e69
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче