Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
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 | var centerscreen = null; |
michael@0 | 18 | var SimpleTest = window.arguments[0]; |
michael@0 | 19 | var finish = window.arguments[1]; |
michael@0 | 20 | |
michael@0 | 21 | function onLoad() |
michael@0 | 22 | { |
michael@0 | 23 | centerscreen = window.openDialog('window_bug593307_centerscreen.xul','', 'chrome,centerscreen,dependent,dialog=no'); |
michael@0 | 24 | } |
michael@0 | 25 | |
michael@0 | 26 | function finished() { |
michael@0 | 27 | centerscreen.close(); |
michael@0 | 28 | finish(); |
michael@0 | 29 | } |
michael@0 | 30 | |
michael@0 | 31 | ]]> |
michael@0 | 32 | </script> |
michael@0 | 33 | |
michael@0 | 34 | </window> |