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="chrome://global/skin" type="text/css"?> |
michael@0 | 3 | <window title="Mozilla Bug 593307" |
michael@0 | 4 | width="100" height="100" |
michael@0 | 5 | onload="onload();" |
michael@0 | 6 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
michael@0 | 7 | |
michael@0 | 8 | <script type="application/javascript" |
michael@0 | 9 | src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js" /> |
michael@0 | 10 | |
michael@0 | 11 | <body xmlns="http://www.w3.org/1999/xhtml" id="body"> |
michael@0 | 12 | </body> |
michael@0 | 13 | |
michael@0 | 14 | <script class="testbody" type="application/javascript"> |
michael@0 | 15 | <![CDATA[ |
michael@0 | 16 | |
michael@0 | 17 | function onload() |
michael@0 | 18 | { |
michael@0 | 19 | var SimpleTest = window.opener.SimpleTest; |
michael@0 | 20 | SimpleTest.ok(window.screenX >= 0, "centerscreen window should not start offscreen (X coordinate)"); |
michael@0 | 21 | SimpleTest.ok(window.screenY >= 0, "centerscreen window should not start offscreen (Y coordinate)"); |
michael@0 | 22 | window.opener.finished(); |
michael@0 | 23 | } |
michael@0 | 24 | ]]> |
michael@0 | 25 | </script> |
michael@0 | 26 | |
michael@0 | 27 | </window> |