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

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

Issue 184633004: Revert 168553 "id of iframe incorrectly sets window name" (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 10 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: trunk/LayoutTests/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame.html
===================================================================
--- trunk/LayoutTests/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame.html (revision 168578)
+++ trunk/LayoutTests/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame.html (working copy)
@@ -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" name="aFrame"></iframe>
+ <iframe id="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