layout/reftests/table-dom/insertCellsExpand1.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   insertCellAt(0, 1, 1, 1);
     8   insertCellAt(0, 1, 1, 1);
     9   insertCellAt(1, 1, 1, 1);
    10   insertCellAt(1, 1, 1, 1);
    11 }
    12 </SCRIPT>  
    13 </HEAD>
    14 <BODY onload="doIt()">
    15 <table bgcolor=orange border>
    16  <tr>
    17   <td>c11</td><td>c12</td>
    18  </tr>
    19  <tr>
    20   <td>c21</td><td>c22</td>
    21  </tr>
    22 </table>
    23 </BODY></HTML>

mercurial