5 <title>Test for Bug
341604</title>
6 <script src=
"/tests/SimpleTest/EventUtils.js"></script>
8 <script type=
"application/javascript">
10 document.getElementById('anchor').href =
"file_iframe_sandbox_top_navigation_fail.html" + location.search;
11 window.top.opener.postMessage({type:
"attempted"},
"*");
12 sendMouseEvent({type:'click'}, 'anchor');
15 <body onload=
"doTest()">
16 I am sandboxed with 'allow-scripts'
18 <a target='_top' id='anchor'
>