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.
1 // |jit-test| slow;
2 // Binary: cache/js-dbg-64-fdfaef738a00-linux
3 // Flags: --ion-eager
4 //
6 evaluate("\
7 gcparam(\"maxBytes\", gcparam(\"gcBytes\") + 4 );\n\
8 test();\n\
9 function test() {\n\
10 function flatten(arr)\n\
11 actual = flatten([1, [2], 3]);\
12 }\n\
13 ");
14 try {} catch (lfVare) {}