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: 42
2 function f(y) {}
3 for each(let e in newGlobal()) {
4 if (e.name === "quit" || e.name == "readline" || e.name == "terminate" ||
5 e.name == "nestedShell")
6 continue;
7 try {
8 e();
9 } catch (r) {}
10 }
11 (function() {
12 arguments.__proto__.__proto__ = newGlobal()
13 function f(y) {
14 y()
15 }
16 for each(b in []) {
17 if (b.name === "quit" || b.name == "readline" || b.name == "terminate" ||
18 b.name == "nestedShell")
19 continue;
20 try {
21 f(b)
22 } catch (e) {}
23 }
24 })();
26 throw 42;