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.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?> |
michael@0 | 3 | <html xmlns="http://www.w3.org/1999/xhtml" title="Test Plugin Clipping: Dynamic Tests"> |
michael@0 | 4 | <head> |
michael@0 | 5 | <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
michael@0 | 6 | </head> |
michael@0 | 7 | <body> |
michael@0 | 8 | |
michael@0 | 9 | <script class="testbody" type="application/javascript"> |
michael@0 | 10 | <![CDATA[ |
michael@0 | 11 | if (navigator.platform.indexOf("Mac") == 0) { |
michael@0 | 12 | todo(false, "Mac plugins do not support complex clipping"); |
michael@0 | 13 | } else { |
michael@0 | 14 | window.open("plugin_clipping_helper2.xhtml", "", "width=620,height=320"); |
michael@0 | 15 | SimpleTest.waitForExplicitFinish(); |
michael@0 | 16 | } |
michael@0 | 17 | ]]> |
michael@0 | 18 | </script> |
michael@0 | 19 | |
michael@0 | 20 | </body> |
michael@0 | 21 | </html> |