layout/reftests/printing/test-async-print.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><html class="reftest-wait reftest-print"><style>html{font-size:12pt}</style>
     2 <head>
     3   <script type="text/javascript">
     5     window.onload = function (){ 
     6                       setTimeout(function() {
     7                                    document.documentElement.className = "reftest-print";},
     8                                  1000);
     9                     }
    10   </script>
    11 </head>
    12 <body>
    13 <table>
    14  <tbody><tr><td>xxxxxxxxxxxxxxxxxxx</td></tr></tbody>
    15  <tbody><tr><td>xxxxxxxxxxxxxxxxxxx</td></tr></tbody>
    16  <tbody><tr><td>xxxxxxxxxxxxxxxxxxx</td></tr></tbody>
    17  <tbody><tr><td>xxxxxxxxxxxxxxxxxxx</td></tr></tbody>
    18  <tbody><tr><td>xxxxxxxxxxxxxxxxxxx</td></tr></tbody>
    19  <tbody><tr><td>xxxxxxxxxxxxxxxxxxx</td></tr></tbody>
    20  <tbody><tr><td>xxxxxxxxxxxxxxxxxxx</td></tr></tbody>
    21  <tbody><tr><td>xxxxxxxxxxxxxxxxxxx</td></tr></tbody>
    22  <tbody><tr><td>xxxxxxxxxxxxxxxxxxx</td></tr></tbody>
    23  <tbody><tr><td>xxxxxxxxxxxxxxxxxxx</td></tr></tbody>
    24  <tbody><tr><td>xxxxxxxxxxxxxxxxxxx</td></tr></tbody>
    25  <tbody><tr><td>xxxxxxxxxxxxxxxxxxx</td></tr></tbody>
    26  <tbody><tr><td>xxxxxxxxxxxxxxxxxxx</td></tr></tbody>
    27  <tbody><tr><td>last line</td></tr></tbody>
    29 </table>
    31 </body>
    33 </html>

mercurial