js/src/jit-test/tests/gc/bug-912734.js

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 (function() {
     2     Object.defineProperty(this, "h2", {
     3         e: false,
     4         e: false,
     5         get: function() {
     6             return {}
     7         }
     8     })
     9 })()
    10 a2 = new Array
    11 Object.create(a2);
    12 (function() {
    13     Object.defineProperty(this, "t2", {
    14         e: true,
    15         e: RegExp(""),
    16         get: function() {
    17             return new Uint32Array(this.a2)
    18         }
    19     })
    20 })()
    21 r = (function() {
    22     for each(let c in []) {}
    23 })()
    24 var r = 1;
    25 s = ""
    26 print(s.match(r));
    27 r.l
    28 with(b = 3);
    29 t2;
    30 (function() {
    31     Object.defineProperty(a2, 3, {
    32         e: false,
    33         e: true,
    34         get: (function() {
    35             evalcx("[]", s.g)
    36         })
    37     })
    38 })()
    39 h2
    40 r = RegExp("");
    41 r.exec();
    42 schedulegc(7);
    43 t2;

mercurial