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 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:mathml="http://www.w3.org/1998/Math/MathML">
2 <box>
3 <box style="background: initial;" id="f">
4 <box style="margin-top: -9999999px;"/>
5 </box>
6 <mathml:divergence>
7 <box/>
8 </mathml:divergence>
9 <mathml:moment command="f"/>
10 </box>
12 <script id="script" xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
13 function init() {
14 var f = document.getElementsByTagName('mathml:divergence')[0];
15 window.addEventListener('DOMAttrModified',function() { f.parentNode.removeChild(f);}, true);
16 var x=document.getElementsByTagName('mathml:moment')[0];
17 x.parentNode.removeChild(x);
18 }
19 window.addEventListener("load", init, false);
20 ]]></script>
21 </window>