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

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

Issue 196523007: Revert of id of iframe incorrectly sets window name (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 6075a08f4da326fb9f716fbbcee6b349b62d425c..5185d7212f53b64a502b1cdc9811d378ab2cbfbb 100644
--- a/LayoutTests/http/tests/security/xssAuditor/resources/utilities.js
+++ b/LayoutTests/http/tests/security/xssAuditor/resources/utilities.js
@@ -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