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 <!-- Any copyright is dedicated to the Public Domain.
4 - http://creativecommons.org/publicdomain/zero/1.0/ -->
5 <head>
6 <meta charset="utf-8">
7 <title>Page testing blocked content in the Sandbox</title>
9 <link rel="stylesheet" src="sandbox_content.sjs?text/css"/>
11 <script src="sandbox_content.sjs?application/javascript"></script>
13 </head>
15 <body>
17 <img src="sandbox_content.sjs?image/jpeg"/>
19 <!-- media -->
20 <video src="sandbox_content.sjs?video/webm" autoplay="true"></video>
21 <audio src="sandbox_content.sjs?audio/ogg" autoplay="true"></audio>
23 <!-- plugins -->
24 <embed src="sandbox_content.sjs?application/x-test"/>
25 <object data="sandbox_content.sjs?application/x-test"></object>
26 <applet code="sandbox_content.sjs?application/x-java-applet"></applet>
28 <iframe src="sandbox_content.sjs?text/html"></iframe>
30 </body>
32 </html>