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

Unified Diff: LayoutTests/http/tests/security/xssAuditor/resources/utilities.js

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/xssAuditor/resources/utilities.js
diff --git a/LayoutTests/http/tests/security/xssAuditor/resources/utilities.js b/LayoutTests/http/tests/security/xssAuditor/resources/utilities.js
index 5185d7212f53b64a502b1cdc9811d378ab2cbfbb..6075a08f4da326fb9f716fbbcee6b349b62d425c 100644
--- a/LayoutTests/http/tests/security/xssAuditor/resources/utilities.js
+++ b/LayoutTests/http/tests/security/xssAuditor/resources/utilities.js
@@ -28,7 +28,7 @@ function sendRequestFromIFrame(url, params, HTTPMethod, callbackWhenDone)
if (document.getElementById('frame'))
document.body.removeChild(document.getElementById('frame'));
var iFrameObj = document.createElement('iframe');
- iFrameObj.id = 'frame';
+ iFrameObj.name = 'frame';
document.body.appendChild(iFrameObj);
var frameContent = iFrameObj.contentDocument;
frameContent.open();

Powered by Google App Engine
This is Rietveld 408576698