diff options
Diffstat (limited to 'js/src/tests/js1_8_5/extensions/regress-645160.js')
-rw-r--r-- | js/src/tests/js1_8_5/extensions/regress-645160.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/tests/js1_8_5/extensions/regress-645160.js b/js/src/tests/js1_8_5/extensions/regress-645160.js new file mode 100644 index 000000000..933d3e261 --- /dev/null +++ b/js/src/tests/js1_8_5/extensions/regress-645160.js @@ -0,0 +1,8 @@ +// Any copyright is dedicated to the Public Domain. +// http://creativecommons.org/licenses/publicdomain/ + +function potatoMasher(obj, arg) { this.eval(arg); } +potatoMasher(this, "var s = Error().stack"); +assertEq(/potatoMasher/.exec(s) instanceof Array, true); + +reportCompare(0, 0, 'ok'); |