Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | var caught = false; |
michael@0 | 2 | function h(code) { |
michael@0 | 3 | f = eval("(function(){" + code + "})") |
michael@0 | 4 | g() |
michael@0 | 5 | } |
michael@0 | 6 | function g() { |
michael@0 | 7 | try { |
michael@0 | 8 | f(); |
michael@0 | 9 | } catch (r) { caught = true } |
michael@0 | 10 | } |
michael@0 | 11 | h("") |
michael@0 | 12 | for (i = 0; i < 9; i++) { |
michael@0 | 13 | h("") |
michael@0 | 14 | } |
michael@0 | 15 | h("") |
michael@0 | 16 | h("") |
michael@0 | 17 | h("") |
michael@0 | 18 | h("") |
michael@0 | 19 | h("") |
michael@0 | 20 | h("") |
michael@0 | 21 | h("") |
michael@0 | 22 | h("") |
michael@0 | 23 | h("") |
michael@0 | 24 | h("") |
michael@0 | 25 | h("") |
michael@0 | 26 | h("") |
michael@0 | 27 | h("") |
michael@0 | 28 | h("") |
michael@0 | 29 | h("") |
michael@0 | 30 | h("") |
michael@0 | 31 | h("") |
michael@0 | 32 | h("") |
michael@0 | 33 | h("") |
michael@0 | 34 | h("") |
michael@0 | 35 | h("") |
michael@0 | 36 | h("") |
michael@0 | 37 | h("") |
michael@0 | 38 | h("") |
michael@0 | 39 | h("") |
michael@0 | 40 | h("") |
michael@0 | 41 | h("") |
michael@0 | 42 | h("") |
michael@0 | 43 | h("") |
michael@0 | 44 | h("") |
michael@0 | 45 | h("\"\"(gc())") |
michael@0 | 46 | assertEq(caught, true); |