Index: third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture.html b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..206a16c7f7243d5d274477ba4f222812f7c3ae95 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture.html |
@@ -0,0 +1,11 @@ |
+<html> |
+<body> |
+The navigation should fail and this iframe should be blocked. This text shouldn't appear. |
+<script> |
+window.onload = function() |
+{ |
+ top.location = "http://localhost:8000/security/frameNavigation/resources/navigation-changed-iframe.html"; |
+} |
+</script> |
+</body> |
+</html> |