docshell/test/file_bug640387.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/docshell/test/file_bug640387.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +<html>
     1.5 +<body onhashchange='hashchange()' onload='load()' onpopstate='popstate()'>
     1.6 +
     1.7 +<script>
     1.8 +function hashchange() {
     1.9 +  var f = (opener || parent).childHashchange;
    1.10 +  if (f)
    1.11 +    f();
    1.12 +}
    1.13 +
    1.14 +function load() {
    1.15 +  var f = (opener || parent).childLoad;
    1.16 +  if (f)
    1.17 +    f();
    1.18 +}
    1.19 +
    1.20 +function popstate() {
    1.21 +  var f = (opener || parent).childPopstate;
    1.22 +  if (f)
    1.23 +    f();
    1.24 +}
    1.25 +</script>
    1.26 +
    1.27 +Not much to see here...
    1.28 +</body>
    1.29 +</html>

mercurial