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 <head>
4 <title>Crashtest for bug 808374</title>
5 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
6 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
7 </head>
8 <body>
9 <pre id="test">
10 <script class="testbody" type="text/javascript">
12 try {
13 var ctx = new AudioContext();
14 ctx.createBuffer(0, 1, ctx.sampleRate);
15 } catch (e) {
16 ok(true, "The test should not crash during CC");
17 }
19 </script>
20 </pre>
21 </body>
22 </html>