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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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