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 function testMultipleArgumentsObjects() {
2 var testargs = arguments;
3 var f = function (name, which) {
4 var args = [testargs, arguments];
5 return args[which][0];
6 };
7 var arr = [0, 0, 0, 0, 1];
8 for (var i = 0; i < arr.length; i++)
9 arr[i] = f("f", arr[i]);
10 return arr + '';
11 }
12 assertEq(testMultipleArgumentsObjects(), ",,,,f");