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(); |