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 // Handle bailing from a constructor that's called from the interpreter.
3 function yesokhellothankyou() {
4 return 5;
5 }
7 function BailFromConstructor() {
8 this.x = "cats";
9 this.y = 5;
10 var z = yesokhellothankyou();
12 // Causes a bailout for purposes of inlining at the LRecompileCheck.
13 // Yep, this is great.
14 for (var i = 0; i < 10500; i++) {
15 x = 4;
16 }
18 return 4;
19 }
21 var x = new BailFromConstructor();