summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug739694-1.js
blob: bac7e49c9ba492a5dbf3d230edd187dc1aebd9f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function newFunc(x) { new Function(x)(); }; try { newFunc("\
var g = newGlobal();\
g.h = function () {\
    names = foo.blaaaaaaaaaaaaah().environment.names();\
};\
g.eval('var obj = {a: 1};' + \"with ({a: 1, '0xcafe': 2, ' ': 3, '': 4, '0': 5}) h();\");\
");
} catch(exc1) {}
function newFunc(x) { new Function(x)(); }; newFunc("\
gczeal(2);\
  a=b=c=d=0; this.__defineGetter__('g', gc); for each (y in this);\
");