js/src/jit-test/tests/basic/bug739694-1.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/basic/bug739694-1.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +function newFunc(x) { new Function(x)(); }; try { newFunc("\
     1.5 +var g = newGlobal();\
     1.6 +g.h = function () {\
     1.7 +    names = foo.blaaaaaaaaaaaaah().environment.names();\
     1.8 +};\
     1.9 +g.eval('var obj = {a: 1};' + \"with ({a: 1, '0xcafe': 2, ' ': 3, '': 4, '0': 5}) h();\");\
    1.10 +");
    1.11 +} catch(exc1) {}
    1.12 +function newFunc(x) { new Function(x)(); }; newFunc("\
    1.13 +gczeal(2);\
    1.14 +  a=b=c=d=0; this.__defineGetter__('g', gc); for each (y in this);\
    1.15 +");

mercurial