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="gZipOfflineChild.cacheManifest">
2 <head>
3 <!-- This file is gzipped to create gZipOfflineChild.html -->
4 <title></title>
5 <script type="text/javascript">
7 function finish(success) {
8 window.parent.postMessage(success, "*");
9 }
11 applicationCache.oncached = function() { finish("oncache"); }
12 applicationCache.onnoupdate = function() { finish("onupdate"); }
13 applicationCache.onerror = function() { finish("onerror"); }
15 </script>
16 </head>
18 <body>
19 <h1>Child</h1>
20 </body>
21 </html>