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 test();
2 function iso(d) { new Date(d).toISOString() }
3 function check(s,millis) { iso(millis); }
4 function dd(year, month, day, hour, minute, second, millis) {
5 return Date.UTC(year, 1, day, hour, minute, second, millis);
6 }
7 function test() {
8 try {
9 check("", 20092353211)
10 check("", 2009)
11 check("", 0)
12 check("", dd(BUGNUMBER, 7, 23, 19, 53, 21, 1))
13 } catch (e) {}
14 }
15 var BUGNUMBER = "10278";
16 test()