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, proto, 1 shape
3 var expected = "11,22,33,11,22,33,11,22,33,11,22,33,11,22,33,";
4 var actual = '';
6 var proto = { a: 11, b: 22, c: 33 };
8 function B() {
9 }
10 B.prototype = proto;
12 function f() {
13 var o = new B();
15 for (var i = 0; i < 5; ++i) {
16 actual += o.a + ',';
17 actual += o.b + ',';
18 actual += o.c + ',';
19 }
20 }
22 f();
24 assertEq(actual, expected);