docshell/test/chrome/bug303267.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/docshell/test/chrome/bug303267.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<html>
     1.5 +<head>
     1.6 +  <title>
     1.7 +    bug303267.html
     1.8 +    </title>
     1.9 +  </head>
    1.10 +<body onpageshow="showpageshowcount()">
    1.11 +<script>
    1.12 +var pageshowcount = 0;
    1.13 +function showpageshowcount()
    1.14 +{
    1.15 +	pageshowcount++;
    1.16 +	var div1 = document.getElementById("div1");
    1.17 +	while (div1.firstChild)
    1.18 +	{
    1.19 +		div1.removeChild(div1.firstChild);
    1.20 +	}
    1.21 +	div1.appendChild(document.createTextNode(
    1.22 +	  "pageshowcount: " + pageshowcount));
    1.23 +}
    1.24 +</script>
    1.25 +<div id="div1">
    1.26 +	</div>
    1.27 +</body>
    1.28 +</html>

mercurial