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 <html manifest="offlineChild.cacheManifest">
2 <head>
3 <title></title>
4 <script type="text/javascript">
6 function finish(success) {
7 window.parent.postMessage(success ? "success" : "failure", "*");
8 }
10 applicationCache.oncached = function() { finish(true); }
11 applicationCache.onnoupdate = function() { finish(true); }
12 applicationCache.onerror = function() { finish(false); }
14 </script>
15 </head>
17 <body>
18 <h1>Child</h1>
19 </body>
20 </html>