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 // getprop, self, 2 shapes
3 var expected = "22,303,22,303,22,303,22,303,";
4 var actual = '';
6 function f() {
7 var o1 = { a: 11, b: 22, c: 33 };
8 var o2 = { x: 101, y: 202, b: 303 };
9 var oa = [ o1, o2 ];
11 for (var i = 0; i < 8; ++i) {
12 actual += oa[i%2].b + ',';
13 }
14 }
16 f();
18 assertEq(actual, expected);