layout/reftests/table-dom/deleteCellsShrink2.html

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

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 <HEAD>
     2 <SCRIPT src=tableDom.js>
     3 </SCRIPT>
     4 <SCRIPT>
     6 function doIt() {
     7   deleteCellAt(0, 1);
     8 }
     9 </SCRIPT>  
    10 </HEAD>
    11 <BODY onload="doIt()">
    12 <table bgcolor=orange border>
    13  <tr>
    14   <td>c11</td><td>c12 c12 c12 c12 c12</td><td>c13</td>
    15  </tr>
    16  <tr>
    17   <td>c21</td><td>c22</td><td>c23</td>
    18  </tr>
    19 </table>
    20 </BODY></HTML>

mercurial