js/src/jit-test/tests/auto-regress/bug785576.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/auto-regress/bug785576.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,11 @@
     1.4 +// Binary: cache/js-dbg-64-29ca472bf2d2-linux
     1.5 +// Flags: -m -n -a
     1.6 +//
     1.7 +sandbox = newGlobal('')
     1.8 +evalcx("x=[]", sandbox)
     1.9 +evalcx("\
    1.10 +  x[0] = this;\
    1.11 +  Object.defineProperty(x, 0, {})\
    1.12 +", sandbox)
    1.13 +gc()
    1.14 +evalcx("x.shift()", sandbox)

mercurial