| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index 475e975a426182f0245fc01c62de28632c9dc9e2..d72a9e8c724bfed1f84c8e2a8b38f50ba4ca57bb 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -5328,7 +5328,7 @@ TEST_F(WebFrameTest, DidWriteToInitialDocumentBeforeModalDialog)
|
| // initial empty document state of the state machine. We normally set a
|
| // timer to notify the client.
|
| newView->mainFrame()->executeScript(
|
| - WebScriptSource("window.opener.document.write('Modified'); window.opener.document.close();"));
|
| + WebScriptSource("window.opener.document.write('Modified');"));
|
| EXPECT_FALSE(webFrameClient.m_didAccessInitialDocument);
|
|
|
| // Make sure that a modal dialog forces us to notify right away.
|
|
|