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.

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

mercurial