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 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head></head>
3 <body>
4 <a id="a" href="#"></a>
6 <table><tbody>
7 <tr><td id="d"/></tr>
8 <tr id="b"><td id="c"></td></tr>
9 </tbody></table>
12 <script>
13 function doe() {
14 document.getElementById('b').appendChild(document.getElementById('c'));
15 window.addEventListener('DOMAttrModified', function(e){document.getElementById('a').focus();}, true);
16 document.getElementById('d').setAttribute('rowspan', 3);
17 }
18 setTimeout(doe, 200);
19 </script>
21 </body>
22 </html>