layout/forms/crashtests/375299.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 <html><head>
     2 <title>Testcase bug - Crash [@ nsFileControlFrame::CreateAnonymousContent] when removing stylesheet with binding and removing file input</title>
     3 <style>
     4 body {-moz-binding:url("375299-binding.xml#a"); }
     5 </style>
     6 </head><body onload="doe()">
     7 <input type="file">
     9 <script>
    10 function doe() {
    11 var x=document.getElementsByTagName('input')[0];
    12 x.parentNode.removeChild(x);
    13 var y=document.getElementsByTagName('style')[0];
    14 y.parentNode.removeChild(y);
    15 }
    16 </script>
    17 </body></html>

mercurial