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 var gTestcases = Array;
2 function TestCase(n, d, e, a) {
3 this.description = d
4 gTestcases[gTc] = this
5 }
6 TestCase.prototype.dump=function () + + +
7 + this.description + +
8 + + '\n';function printStatus (msg)
9 function toPrinted(value) {
10 }
11 function reportCompare(expected, actual, description) {
12 new TestCase("unknown-test-name", description, expected, actual)
13 }
14 gTc = 0;;
15 function jsTestDriverEnd() {
16 for (var i = 0; i < gTestcases.length; i++)
17 gTestcases[i].dump()
18 }
19 var summary = 'Do not assert with try/finally inside finally';
20 var expect = 'No Crash';
21 reportCompare(expect, printStatus, summary);
22 jsTestDriverEnd();
23 jsTestDriverEnd();
24 try {
25 f
26 } catch (ex) {
27 actual = ''
28 }
29 reportCompare(expect, actual, 5);
30 jsTestDriverEnd()