1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/docshell/test/file_bug385434_2.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +<!-- 1.5 +Inner frame for test of bug 385434. 1.6 +https://bugzilla.mozilla.org/show_bug.cgi?id=385434 1.7 +--> 1.8 +<html> 1.9 +<head> 1.10 + <script type="application/javascript"> 1.11 + function hashchange(e) { 1.12 + // pass the event back to the parent so it can check its properties. 1.13 + parent.gSampleEvent = e; 1.14 + 1.15 + parent.statusMsg("Hashchange in 2."); 1.16 + parent.onIframeHashchange(); 1.17 + } 1.18 + 1.19 + function load() { 1.20 + parent.statusMsg("Loading 2."); 1.21 + parent.onIframeLoad(); 1.22 + } 1.23 + </script> 1.24 +</head> 1.25 + 1.26 +<frameset onload="load()" onhashchange="hashchange(event)"> 1.27 + <frame src="about:blank" /> 1.28 +</frameset> 1.29 +</html>