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.
1 function equalInt()
2 {
3 var i1 = 55, one = 1, zero = 0, undef;
4 var o1 = { }, o2 = { };
5 var s = "5";
6 var hits = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];
7 for (var i = 0; i < 5000; i++) {
8 if (i1 == 55) hits[0]++;
9 if (i1 != 56) hits[1]++;
10 if (i1 < 56) hits[2]++;
11 if (i1 > 50) hits[3]++;
12 if (i1 <= 60) hits[4]++;
13 if (i1 >= 30) hits[5]++;
14 if (i1 == 7) hits[6]++;
15 if (i1 != 55) hits[7]++;
16 if (i1 < 30) hits[8]++;
17 if (i1 > 90) hits[9]++;
18 if (i1 <= 40) hits[10]++;
19 if (i1 >= 70) hits[11]++;
20 if (o1 == o2) hits[12]++;
21 if (o2 != null) hits[13]++;
22 if (s < 10) hits[14]++;
23 if (true < zero) hits[15]++;
24 if (undef > one) hits[16]++;
25 if (undef < zero) hits[17]++;
26 }
27 return hits.toString();
28 }
29 assertEq(equalInt(), "5000,5000,5000,5000,5000,5000,0,0,0,0,0,0,0,5000,5000,0,0,0");