blob: 0436d56df972eb1a3e3fca32813990be976d7104 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<html>
<body>
The top navigation from this iframe should be blocked. This text should appear.
<script>
window.onload = function()
{
try {
top.location = "navigation-changed-iframe.html";
top.postMessage("FAIL", "*");
} catch(e) {
top.postMessage("PASS", "*");
}
}
</script>
</body>
</html>
|