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 | <x6 id=test1>><bdi id=test2><fieldset id=test3>>ohVG l0ci * |X5SEX :GdK5i2rC#sdnwJv0%O{QF Lh>>><ol id=test4><script> |
michael@0 | 2 | var docElement = document.documentElement; |
michael@0 | 3 | document.addEventListener("DOMContentLoaded", CFcrash, false); |
michael@0 | 4 | function CFcrash() { |
michael@0 | 5 | try { test2.setAttribute("dir", "auto"); } catch(e) {} |
michael@0 | 6 | try { test3.innerHTML = test4.innerHTML; } catch(e) {} |
michael@0 | 7 | setTimeout('docElement.insertBefore(test1, docElement.firstChild);', 2); |
michael@0 | 8 | }</script>> |