Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=768029
5 -->
6 <head>
7 <meta charset="utf-8">
8 <title>This is an app for testing</title>
10 <link rel="stylesheet" type="text/css"
11 href="file_csp_bug768029.sjs?type=style&origin=same_origin" />
12 <link rel="stylesheet" type="text/css"
13 href="http://example.com/tests/content/base/test/csp/file_csp_bug768029.sjs?type=style&origin=cross_origin" />
14 </head>
15 <body>
17 <script src="file_csp_bug768029.sjs?type=script&origin=same_origin"></script>
18 <script src="http://example.com/tests/content/base/test/csp/file_csp_bug768029.sjs?type=script&origin=cross_origin"></script>
19 <img src="file_csp_bug768029.sjs?type=img&origin=same_origin" />
20 <img src="http://example.com/tests/content/base/test/csp/file_csp_bug768029.sjs?type=img&origin=cross_origin" />
22 Test for CSP applied to (simulated) app.
24 </body>
25 </html>