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 try {
2 new MyObject;
3 } catch (e) {}
5 function MyObject() {
6 return;
7 return this;
8 }
10 function Foo(x) {
11 if (x)
12 this.f = x;
13 }
14 var q = new Foo(false);
15 for (a in q) { assertEq(true, false); }
17 function Bar(x, y) {
18 if (!x)
19 return;
20 this.f = y;
21 }
22 var q2 = new Bar(false, true);
23 for (b in q2) { assertEq(true, false); }