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 // Binary: cache/js-dbg-64-8bcb569c9bf9-linux
2 // Flags: -m -n -a
3 //
5 var gTestcases = new Array;
6 function TestCase(n, d, e, a) {
7 this.description=d
8 gTestcases[gTc++]=this
9 }
10 TestCase.prototype.dump=function () + toPrinted(this.description)
11 function toPrinted(value) value=value;
12 function reportCompare (expected, actual, description) {
13 new TestCase("unknown-test-name", description, expected, actual)
14 }
15 function enterFunc (funcName) {
16 try {
17 expectCompile = 'No Error'
18 var actualCompile;
19 reportCompare(expectCompile, actualCompile, ': compile actual')
20 } catch(ex) {}
21 }
22 gTc=0;
23 function jsTestDriverEnd() {
24 for (var i = 0; i < gTestcases.length; i++) gTestcases[i].dump()
25 }
26 enterFunc();
27 reportCompare(0, 0, 5.123456);
28 reportCompare(0, 0, this );
29 jsTestDriverEnd();
30 try {
31 this.__proto__=[]
32 } catch(ex) {}
33 jsTestDriverEnd()