Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
2 /* Array natives applied to non-arrays. */
4 var oa = {};
5 Array.pop(oa);
6 assertEq(oa.length, 0);
8 var ob = {};
9 Array.push(ob, "twelve");
10 assertEq(ob.length, 1);
12 var oc = {};
13 Array.shift(oc);
14 assertEq(oc.length, 0);
16 var od = {};
17 Array.unshift(od, "eight");
18 assertEq(od.length, 1);