docshell/test/browser/file_bug670318.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     1 <html><head>
     2 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
     3 <script>
     4 function load() {
     5   function next() {
     6     if (count < 5)
     7       iframe.src = 'data:text/html,iframe ' + (++count);
     8   }
    10   var count = 0;
    11   var iframe = document.createElement('iframe');
    12   iframe.onload = function () { setTimeout(next, 0) };
    13   document.body.appendChild(iframe);
    15   setTimeout(next, 0);
    16 }
    17 </script>
    18 </head>
    20 <body onload="load()">
    21 Testcase
    22 </body>
    23 </html>

mercurial