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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html>
6 <!-- This page will accept some json as the uri query and pass it to
7 an inner iframe, which will run InstallTrigger.install -->
9 <head>
10 <title>InstallTrigger frame tests</title>
11 <script type="text/javascript">
12 function prepChild() {
13 // Pass our parameters over to the child
14 var child = window.frames[0];
15 var params = document.location.search.substr(1);
16 child.location = "installtrigger.html?" + params;
17 }
18 </script>
19 </head>
20 <body onload="prepChild()">
22 <iframe src="about:blank">
23 </iframe>
25 <p>InstallTrigger tests</p>
26 <p id="return"></p>
27 <p id="status"></p>
28 </body>
29 </html>