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"?>
3 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
5 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="reftest-wait" onload="setTimeout(boom, 30);">
7 <script><![CDATA[
9 function boom()
10 {
11 var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
13 var popupgroup = document.createElementNS(XUL_NS, 'popupgroup');
14 document.documentElement.appendChild(popupgroup);
15 document.documentElement.removeChild(popupgroup);
17 var tooltip = document.createElementNS(XUL_NS, 'tooltip');
18 document.documentElement.appendChild(tooltip);
20 document.documentElement.removeAttribute("class");
21 }
23 ]]></script>
25 </window>