| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index ff83e838edc7edd9794e34cf0e2496a828d03e3a..65172a864b113b8f89377609e9aaa60118d1675e 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -5269,7 +5269,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');"));
|
| + WebScriptSource("window.opener.document.write('Modified'); window.opener.document.close();"));
|
| EXPECT_FALSE(webFrameClient.m_didAccessInitialDocument);
|
|
|
| // Make sure that a modal dialog forces us to notify right away.
|
|
|