| Index: third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture-failed.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture-failed.html b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture-failed.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..65317e0770456cd36d315065c07aacba2bfee8a9
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-without-user-gesture-failed.html
|
| @@ -0,0 +1,16 @@
|
| +<html>
|
| +<body>
|
| +The top navigation from this iframe should be blocked. This text should appear.
|
| +<script>
|
| +window.onload = function()
|
| +{
|
| + try {
|
| + top.location = "http://localhost:8000/security/frameNavigation/resources/navigation-changed-iframe.html";
|
| + top.postMessage("FAIL", "*");
|
| + } catch(e) {
|
| + top.postMessage("PASS", "*");
|
| + }
|
| +}
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|