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 4ecd86acfe5d193b17657f2d080407ce30c033ae..80693b9449878eac51473cb430fce850ea03c4ba 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
@@ -1183,6 +1183,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, drop the |
+ // navigation. A different navigation must have committed while the IPC was |
+ // sent. |
+ if (request.resourceRequest().isSameDocumentNavigation()) |
+ return; |
jochen (gone - plz use gerrit)
2016/12/21 10:30:58
but if another navigation committed meanwhile, won
arthursonzogni
2016/12/21 13:24:29
You mean relaunching the navigation, but this time
clamy
2016/12/22 17:30:25
Actually, the time can be longer if for whatever r
|
+ |
startLoad(request, newLoadType, policy); |
} |