layout/reftests/ib-split/insert-into-split-inline-5.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 <!DOCTYPE html>
     2 <html>
     3  <head>
     4   <script>
     5    function doit() {
     6      var newNode = document.createElement("span");
     7      newNode.appendChild(document.createTextNode("Nine"));
     8      document.getElementById("target").appendChild(newNode);
     9    }
    10   </script>
    11   <style>
    12    body > span { border: 3px solid blue }
    13   </style>
    14  </head>
    15  <body onload='doit()'>
    16   <span id="target"
    17         style="-moz-binding: url(insert-into-split-inline-force-ContentInserted.xml#test);"
    18   ><span>One</span
    19   ><span>Two</span
    20   ><span>Three</span
    21   ><div>Four</div
    22   ><div>Five</div
    23   ><span>Six</span
    24   ><div>Seven</div
    25   ><div>Eight</div
    26  ></span>
    27  </body>
    28 </html>

mercurial