comparison: docshell/test/iframesandbox/file_parent_navigation_by_location.html
docshell/test/iframesandbox/file_parent_navigation_by_location.html
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 <!DOCTYPE HTML> |
|
2 <html> |
|
3 <head> |
|
4 <meta charset="utf-8"> |
|
5 <title>Test window for parent navigation by location tests</title> |
|
6 <script> |
|
7 function onNav() { |
|
8 parent.postMessage(window.name, "*"); |
|
9 } |
|
10 |
|
11 window.onload = onNav; |
|
12 window.onhashchange = onNav; |
|
13 </script> |
|
14 </head> |
|
15 <body> |
|
16 <iframe name="childIframe" sandbox="allow-scripts allow-same-origin allow-top-navigation"></iframe> |
|
17 </body> |
|
18 </html> |