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 <?xml version="1.0"?>
2 <?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
3 <html xmlns="http://www.w3.org/1999/xhtml" title="Test Plugin Clipping: Plugins in Transforms">
4 <head>
5 <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
6 </head>
7 <body>
9 <script class="testbody" type="application/javascript">
10 <![CDATA[
12 var child;
13 function childDone() {
14 child.close();
15 SimpleTest.executeSoon(SimpleTest.finish);
16 }
18 if (navigator.platform.indexOf("Mac") == 0) {
19 todo(false, "Mac plugins do not run in windowed mode");
20 } else {
21 SimpleTest.waitForExplicitFinish();
22 child = window.open("plugin_clipping_helper_transformed.xhtml", "", "width=620,height=320");
23 }
24 ]]>
25 </script>
27 </body>
28 </html>