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

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

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/xssAuditor/resources/utilities.js
===================================================================
--- trunk/LayoutTests/http/tests/security/xssAuditor/resources/utilities.js (revision 168578)
+++ trunk/LayoutTests/http/tests/security/xssAuditor/resources/utilities.js (working copy)
@@ -28,7 +28,7 @@
if (document.getElementById('frame'))
document.body.removeChild(document.getElementById('frame'));
var iFrameObj = document.createElement('iframe');
- iFrameObj.name = 'frame';
+ iFrameObj.id = 'frame';
document.body.appendChild(iFrameObj);
var frameContent = iFrameObj.contentDocument;
frameContent.open();

Powered by Google App Engine
This is Rietveld 408576698