summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/frames/sandboxed-iframe-navigation-top-denied.html
blob: 0f636ade478aebbc17d03d65fd57fd9eca397f4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
<head>
<script>
if (window.layoutTestController)
    layoutTestController.dumpAsText();
</script>
</head>
<body>
<p>This test verifies that a sandboxed IFrame cannot navigate the top-level
frame without allow-top-navigation.  This test passes if the navigation does
not occur.</p>
<iframe sandbox="allow-scripts"
        src="resources/navigate-top-to-fail.html">
</body>
</html>