Index: LayoutTests/http/tests/navigation/lockedhistory-iframe.html |
diff --git a/LayoutTests/http/tests/navigation/lockedhistory-iframe.html b/LayoutTests/http/tests/navigation/lockedhistory-iframe.html |
index e0c9a9c1b043f57e88ddc3f5e805cfb9aa7c2e7f..a7a3134320df17642bec361c74675c06eec3612c 100644 |
--- a/LayoutTests/http/tests/navigation/lockedhistory-iframe.html |
+++ b/LayoutTests/http/tests/navigation/lockedhistory-iframe.html |
@@ -15,7 +15,7 @@ function myCallbackFunction() { |
<p>This test verifies that setting the iframe.src through javascript to # does not add a history item. If the test passes you'll see only one history item.</p> |
<script type="text/javascript"> |
myFrame = document.createElement("iframe"); |
-myFrame.src = "javascript:document.write('<script type=text/javascript>window.parent.myCallbackFunction();<\/script>'); document.close()"; |
+myFrame.src = "javascript:document.write('<script type=text/javascript>window.parent.myCallbackFunction();<\/script>');"; |
document.body.appendChild(myFrame); |
</script> |
</body> |