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

Unified Diff: LayoutTests/http/tests/security/srcdoc-inherits-referrer-for-forms.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/srcdoc-inherits-referrer-for-forms.html
diff --git a/LayoutTests/http/tests/security/srcdoc-inherits-referrer-for-forms.html b/LayoutTests/http/tests/security/srcdoc-inherits-referrer-for-forms.html
index af02da0ed6da5e779a5ca8c545c938adf4f76da6..9232f69bf9e591ff44128e2729036aa3ce16d6ed 100644
--- a/LayoutTests/http/tests/security/srcdoc-inherits-referrer-for-forms.html
+++ b/LayoutTests/http/tests/security/srcdoc-inherits-referrer-for-forms.html
@@ -8,7 +8,7 @@ if (window.testRunner) {
The srcdoc iframe below should use this document's URL as its referrer.
<iframe srcdoc="
This iframe logs information about its referrer:<br>
-<iframe id='tg'></iframe>
+<iframe id='tg' name='tg'></iframe>
<form target='tg' id='fm' method='GET' action='resources/referrer-policy-log.php'></form>
<script>
document.getElementById('tg').addEventListener('load', function() {

Powered by Google App Engine
This is Rietveld 408576698