js/src/jit-test/tests/basic/testBug579602.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:9c0394fb0e9c
1 // don't panic
2
3 f = function() {
4 x = yield
5 }
6 rv = f()
7 for (a in rv) (function() {})
8 x = Proxy.create((function() {
9 return {
10 defineProperty: gc
11 }
12 })(), x)
13 with({
14 d: (({
15 x: Object.defineProperty(x, "", ({
16 set: Array.e
17 }))
18 }))
19 }) {}
20
21 // don't crash

mercurial