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 <!DOCTYPE html>
2 <style>
3 p { background-color: purple; }
4 p#myid { background-color: blue; }
5 </style>
6 <p>This should be purple, and might cache background in the rule tree.</p>
7 <p id="myid">This should be blue, and can't used that cached struct,
8 which really shouldn't be cached anyway.</p>