| Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
|
| index 24b4a63d43c5123611eee2045d8400145599a277..d818c04f30b797d1ed5fe6f40f11f5379b9909b1 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
|
| @@ -1193,6 +1193,14 @@ void FrameLoader::load(const FrameLoadRequest& passedRequest,
|
| return;
|
| }
|
|
|
| + // PlzNavigate
|
| + // If the loader classifies this navigation as a different document navigation
|
| + // while the browser intended the navigation to be same-document, it means
|
| + // that a different navigation must have committed while the IPC was sent.
|
| + // This navigation is no more same-document. The navigation is simply dropped.
|
| + if (request.resourceRequest().isSameDocumentNavigation())
|
| + return;
|
| +
|
| startLoad(request, newLoadType, policy);
|
| }
|
|
|
|
|