| Index: Source/core/loader/FrameLoader.cpp
|
| diff --git a/Source/core/loader/FrameLoader.cpp b/Source/core/loader/FrameLoader.cpp
|
| index 40d82d4513f1a22c14ae5973694a27ef189ab067..244643b64399a896a56b96d3be49da26dbdfef0a 100644
|
| --- a/Source/core/loader/FrameLoader.cpp
|
| +++ b/Source/core/loader/FrameLoader.cpp
|
| @@ -502,7 +502,7 @@ void FrameLoader::didExplicitOpen()
|
| // Calling document.open counts as committing the first real document load.
|
| if (!m_stateMachine.committedFirstRealDocumentLoad())
|
| m_stateMachine.advanceTo(FrameLoaderStateMachine::DisplayingInitialEmptyDocumentPostCommit);
|
| -
|
| +
|
| // Prevent window.open(url) -- eg window.open("about:blank") -- from blowing away results
|
| // from a subsequent window.document.open / window.document.write call.
|
| // Canceling redirection here works for all cases because document.open
|
|
|