summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug784639.js
blob: 1380ae6ed29d29aa7a74d3c282d6f18ecc008c23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
evalcx("\
  Object.defineProperty(this, \"a\", {});\
  f = (function(j) {\
	  a = Proxy\
  });\
  Object.defineProperty(this, \"g\", {\
	  get: function() {\
		  return ({\
			  r: function() {},\
			  t: function() {}\
		  })\
	  }\
  });\
  for (p in g) {\
	  f(1)\
  }\
", newGlobal())