2012-08-20 22:34:33 +04:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Test for Bug 341604</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
2019-04-16 06:53:28 +03:00
|
|
|
<script src="/tests/SimpleTest/EventUtils.js"></script>
|
2012-08-20 22:34:33 +04:00
|
|
|
</head>
|
|
|
|
<script type="application/javascript">
|
|
|
|
function doTest() {
|
2013-03-21 22:34:21 +04:00
|
|
|
window.parent.postMessage({type: "attempted"}, "*");
|
2013-11-11 15:55:35 +04:00
|
|
|
sendMouseEvent({type:'click'}, 'anchor');
|
2012-08-20 22:34:33 +04:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<body onload="doTest()">
|
|
|
|
I am sandboxed with 'allow-scripts allow-same-origin'
|
|
|
|
|
2013-04-29 22:26:43 +04:00
|
|
|
<a href="file_iframe_sandbox_navigation_fail.html?Test 4: Navigate sibling iframe by name:%20" target='if_sibling' id='anchor'>
|
2012-08-20 22:34:33 +04:00
|
|
|
</body>
|
|
|
|
</html>
|