diff options
Diffstat (limited to 'js/src/tests/non262/extensions/uneval/bug566661.js')
-rw-r--r-- | js/src/tests/non262/extensions/uneval/bug566661.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/tests/non262/extensions/uneval/bug566661.js b/js/src/tests/non262/extensions/uneval/bug566661.js new file mode 100644 index 0000000000..51e142351e --- /dev/null +++ b/js/src/tests/non262/extensions/uneval/bug566661.js @@ -0,0 +1,8 @@ +// |reftest| skip-if(!this.uneval) + +var f = function (q) { return q['\xC7']; } +var d = eval(uneval(f)); +assertEq(d({'\xC7': 'good'}), 'good'); + +if (typeof reportCompare === "function") + reportCompare(true, true); |