Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
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()