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: TypeError
3 for (var i = 0; i <= 0x017f; i++) {
4 var U = new Unicode(i);
5 }
6 function Unicode(c) {
7 u = GetUnicodeValues(c);
8 this.upper = u[0];
9 }
10 function GetUnicodeValues(c) {
11 u = new Array();
12 if ((c >= 0x0100 && c < 0x0138) || (c > 0x0149 && c < 0x0178)) try {} finally {
13 return;
14 }
15 return u;
16 }