| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index dd36331e7f040ac47d3788312c9e4266b133d4f7..f21da863e5006bda493f53415a9e541f5fba4aaa 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -4958,7 +4958,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.
|
|
|