diff --git a/js/tests/js1_6/Regress/regress-382509.js b/js/tests/js1_6/Regress/regress-382509.js index 01b21024013..cfe87e62ed1 100755 --- a/js/tests/js1_6/Regress/regress-382509.js +++ b/js/tests/js1_6/Regress/regress-382509.js @@ -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) {