docshell/test/chrome/bug303267.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <html>
     2 <head>
     3   <title>
     4     bug303267.html
     5     </title>
     6   </head>
     7 <body onpageshow="showpageshowcount()">
     8 <script>
     9 var pageshowcount = 0;
    10 function showpageshowcount()
    11 {
    12 	pageshowcount++;
    13 	var div1 = document.getElementById("div1");
    14 	while (div1.firstChild)
    15 	{
    16 		div1.removeChild(div1.firstChild);
    17 	}
    18 	div1.appendChild(document.createTextNode(
    19 	  "pageshowcount: " + pageshowcount));
    20 }
    21 </script>
    22 <div id="div1">
    23 	</div>
    24 </body>
    25 </html>

mercurial