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

Unified Diff: LayoutTests/http/tests/security/dataURL/xss-DENIED-from-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-from-data-url-sub-frame.html
diff --git a/LayoutTests/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame.html b/LayoutTests/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame.html
index 10b02bd64f7f29acde7e396cb5fcf6e1efe4b88f..155a15791246e8c4f3020d7f2c98494356fc87c2 100644
--- a/LayoutTests/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame.html
+++ b/LayoutTests/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame.html
@@ -33,7 +33,7 @@
</head>
<body onload="loaded();">
<p>This tests that a data: URL loaded in an iframe doesn't have access to its parent's frame</p>
- <iframe id="aFrame"></iframe>
+ <iframe id="aFrame" name="aFrame"></iframe>
<p id='accessMe'>PASS: Cross frame access from a data: URL was denied.</p>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698