js/xpconnect/crashtests/754311.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <html class="reftest-wait">
     2 <head>
     3 <script type="application/javascript">
     5 // The actual crashing code does document.write, which doesn't play
     6 // well with |reftest-wait|. So we load it in an iframe.
     8 function allDone() {
     9   window.document.documentElement.removeAttribute("class");
    10 }
    11 </script>
    12 </head>
    13 <body>
    14     <iframe src="754311-iframe.html"></iframe>
    15 </body>
    16 </html>

mercurial