1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/docshell/test/file_bug385434_3.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 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 + // Notify our parent if we have a hashchange and once we're done loading. 1.12 + window.addEventListener("hashchange", parent.onIframeHashchange, false); 1.13 + 1.14 + window.addEventListener("DOMContentLoaded", function() { 1.15 + // This also should trigger a hashchange, becuase the readystate is 1.16 + // "interactive", not "complete" during DOMContentLoaded. 1.17 + window.location.hash = "2"; 1.18 + }, false); 1.19 + 1.20 + </script> 1.21 +</head> 1.22 + 1.23 +<body> 1.24 +</body> 1.25 +</html>