Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
1 // |jit-test| error:InternalError
3 // Binary: cache/js-dbg-64-d43c6dddeb2b-linux
4 // Flags: -m -n
5 //
7 function printBugNumber (num) {
8 BUGNUMBER = num;
9 print ('BUGNUMBER: ' + num);
10 }
11 var actual = '';
12 test();
13 function test() {
14 printBugNumber(test);
15 function f(N) {
16 for (var i = 0; i != N; ++i) {
17 for (var repeat = 0;repeat != 2; ++repeat) {
18 var count = BUGNUMBER(repeat);
19 }
20 }
21 }
22 var array = [function() { f(10); }, ];
23 for (var i = 0; i != array.length; ++i)
24 array[i]();
25 }