Index: third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/sandbox-ALLOWED-top-navigation-with-two-flags.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/sandbox-ALLOWED-top-navigation-with-user-gesture.html b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/sandbox-ALLOWED-top-navigation-with-two-flags.html |
similarity index 66% |
copy from third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/sandbox-ALLOWED-top-navigation-with-user-gesture.html |
copy to third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/sandbox-ALLOWED-top-navigation-with-two-flags.html |
index 375c979e37dcce9a6fbf2ff5de3b57963f427790..4a497cfbcfb8acc5e28bce87f2369251bfb5d212 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/sandbox-ALLOWED-top-navigation-with-user-gesture.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/sandbox-ALLOWED-top-navigation-with-two-flags.html |
@@ -20,9 +20,9 @@ |
</script> |
</head> |
<body onload="loaded();"> |
- <p>This tests that an iframe in sandbox with 'allow-top-navigation-with-user-activation' |
- can navigate the top level page, if it is trigged by a user gesture.</p> |
+ <p>This tests that an iframe in sandbox with both 'allow-top-navigation' and 'allow-top-navigation-by-user-activation' |
+ can navigate the top level page with a user gesture: Basically the later flag is ignored.</p> |
<h4>DOMAIN</h4> |
- <iframe id="i" sandbox="allow-scripts allow-top-navigation-with-user-activation" src="http://localhost:8000/security/frameNavigation/resources/iframe-that-performs-parent-navigation.html"></iframe> |
+ <iframe id="i" sandbox="allow-scripts allow-top-navigation allow-top-navigation-by-user-activation" src="resources/iframe-that-performs-parent-navigation.html"></iframe> |
</body> |
</html> |