1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/docshell/test/iframesandbox/file_parent_navigation_by_location.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html> 1.6 +<head> 1.7 +<meta charset="utf-8"> 1.8 +<title>Test window for parent navigation by location tests</title> 1.9 +<script> 1.10 + function onNav() { 1.11 + parent.postMessage(window.name, "*"); 1.12 + } 1.13 + 1.14 + window.onload = onNav; 1.15 + window.onhashchange = onNav; 1.16 +</script> 1.17 +</head> 1.18 +<body> 1.19 + <iframe name="childIframe" sandbox="allow-scripts allow-same-origin allow-top-navigation"></iframe> 1.20 +</body> 1.21 +</html>