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 <meta charset=utf-8>
3 <title> Layout Helpers </title>
5 <style>
6 html {
7 height: 300%;
8 width: 300%;
9 }
10 div#some {
11 position: absolute;
12 background: black;
13 width: 2px;
14 height: 2px;
15 }
16 iframe {
17 position: absolute;
18 width: 40px;
19 height: 40px;
20 border: 0;
21 }
22 </style>
24 <div id=some></div>
25 <iframe id=frame src='./browser_layoutHelpers_iframe.html'></iframe>