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 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Test window for parent navigation by location tests</title>
6 <script>
7 function onNav() {
8 parent.postMessage(window.name, "*");
9 }
11 window.onload = onNav;
12 window.onhashchange = onNav;
13 </script>
14 </head>
15 <body>
16 <iframe name="childIframe" sandbox="allow-scripts allow-same-origin allow-top-navigation"></iframe>
17 </body>
18 </html>