diff options
Diffstat (limited to 'js/src/jit-test/tests/basic/testBug579602.js')
-rw-r--r-- | js/src/jit-test/tests/basic/testBug579602.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/testBug579602.js b/js/src/jit-test/tests/basic/testBug579602.js new file mode 100644 index 000000000..113a34dda --- /dev/null +++ b/js/src/jit-test/tests/basic/testBug579602.js @@ -0,0 +1,21 @@ +// don't panic + +f = function() { + x = yield +} +rv = f() +for (a in rv) (function() {}) +x = new Proxy({}, (function() { + return { + defineProperty: gc + } +})()); +with({ + d: (({ + x: Object.defineProperty(x, "", ({ + set: Array.e + })) + })) +}) {} + +// don't crash |