Index: LayoutTests/http/tests/security/javascriptURL/xss-ALLOWED-to-javascript-url-sub-frame.html |
diff --git a/LayoutTests/http/tests/security/javascriptURL/xss-ALLOWED-to-javascript-url-sub-frame.html b/LayoutTests/http/tests/security/javascriptURL/xss-ALLOWED-to-javascript-url-sub-frame.html |
index a437545b2a68d24ed2b925e12c2fa016e890e970..8b754489d289e37b2dffabb58fdeca3126f26aea 100644 |
--- a/LayoutTests/http/tests/security/javascriptURL/xss-ALLOWED-to-javascript-url-sub-frame.html |
+++ b/LayoutTests/http/tests/security/javascriptURL/xss-ALLOWED-to-javascript-url-sub-frame.html |
@@ -4,7 +4,7 @@ |
</head> |
<body> |
<p>This tests that the main frame can access the contents of an iframe that contains a javascript: URL loaded page</p> |
- <iframe id="aFrame"></iframe> |
+ <iframe id="aFrame" name="aFrame"></iframe> |
<pre id="console"></pre> |
<script> |
var url = "javascript:\"<html><scr" + "ipt>onload = function() { parent.postMessage(\'LOADED\', \'*\'); } </scr" + "ipt><body><p id=\'accessMe\'></p><p>Inner iframe.</p></body></html>\""; |