Index: third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/popup-ready-to-navigate-child.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/popup-ready-to-navigate-child.html b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/popup-ready-to-navigate-child.html |
index d8d38784fa059af2feb16f399437fcfeb76f885b..ed94e48a9510e708d46238790b8b468827d10588 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/popup-ready-to-navigate-child.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/resources/popup-ready-to-navigate-child.html |
@@ -1,6 +1,7 @@ |
<script> |
+var f = window.frames; |
function go() { |
- window.frames[0].location = "http://127.0.0.1:8000/security/frameNavigation/resources/fail.html"; |
+ f[0].location = "http://127.0.0.1:8000/security/frameNavigation/resources/fail.html"; |
} |
opener.postMessage("ready", "*"); |
</script> |