diff options
Diffstat (limited to 'js/src/jit-test/tests/ion/bug861419.js')
-rw-r--r-- | js/src/jit-test/tests/ion/bug861419.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug861419.js b/js/src/jit-test/tests/ion/bug861419.js new file mode 100644 index 0000000000..20496f6620 --- /dev/null +++ b/js/src/jit-test/tests/ion/bug861419.js @@ -0,0 +1,18 @@ + +arguments = []; +try { + arguments.toSource = (function() { + __proto__.y = x + }) + y = this + print(x = 8) + a = arguments + for (v of this) {} +} catch (e) {} +function f() { + "HELLO " + y +} +f() +f() +y = 1[7] +f() |