| Index: third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-succeeded.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-succeeded.html b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-succeeded.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e64d2113bc5afb8547628fd2215cc4da3c6e9aa4
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/iframe-that-performs-top-navigation-succeeded.html
|
| @@ -0,0 +1,16 @@
|
| +<html>
|
| +<body>
|
| +The top navigation should succeed. This text shouldn't 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>
|
|
|