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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/gc/bug-957114.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +gczeal(7,1);
     1.5 +function TestCase(n) {
     1.6 +  this.name = '';
     1.7 +  this.description = '';
     1.8 +  this.expect = '';
     1.9 +  this.actual = '';
    1.10 +  this.reason = '';
    1.11 +  this.passed = '';
    1.12 +}
    1.13 +function test() new TestCase;
    1.14 +test();
    1.15 +Object.defineProperty(Object.prototype, "name", {});
    1.16 +test();

mercurial