Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Unified Diff: LayoutTests/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame.html

Issue 187103002: id of iframe incorrectly sets window name (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back no-referrer-subframe.html Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame.html
diff --git a/LayoutTests/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame.html b/LayoutTests/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame.html
index 1365bbf10dbfd71b09bb647e1358bb82f7a23fa7..a41d2af67f74473b149ae2a21d2669bc53d5829d 100644
--- a/LayoutTests/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame.html
+++ b/LayoutTests/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame.html
@@ -4,7 +4,7 @@
</head>
<body>
<p>This tests that the main frame can't access the contents of an iframe that contains a data: URL loaded page</p>
- <iframe id="aFrame"></iframe>
+ <iframe id="aFrame" name="aFrame"></iframe>
<pre id="console"></pre>
<script>
var url = "data:text/html,<html><scr" + "ipt>onload = function() { parent.postMessage(\'LOADED\', \'*\'); } </scr" + "ipt><body><p id=\'accessMe\'></p><p>Inner iframe.</p></body></html>";

Powered by Google App Engine
This is Rietveld 408576698