parser/htmlparser/tests/crashtests/73331-1.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <html>
     2 <head>
     3 <script>
     4 function crashme() {
     5   var obj = document.getElementById('popupid');
     6   obj.style.visibility='hidden';
     7 }
     8 </script>
     9 </head>
    10 <body onload="crashme();">
    11 <a href="http://www.mozilla.org/">http://www.mozilla.org/</a>
    13 <div id="popupid">
    14 <font>
    15 <script>
    16   document.write('<form>');
    17   document.write('<span>');
    18   document.write('<input>');
    19   document.write('</span>');
    20   document.write('<br>');
    21   document.write('</form>');
    22 </script>
    23 </font>
    24 </div>
    26 </body>
    27 </html>

mercurial