Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(664)

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.cpp

Issue 2630413002: PlzNavigate: ensure POST navigations are treated as different document (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1fda4abd62b58b4b972b3b2f0690f31ebe334c2e 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
@@ -1514,7 +1514,7 @@ bool FrameLoader::shouldPerformFragmentNavigation(bool isFormSubmission,
// We don't do this if we are submitting a form with method other than "GET",
// explicitly reloading, currently displaying a frameset, or if the URL does
// not have a fragment.
- return (!isFormSubmission || equalIgnoringCase(httpMethod, HTTPNames::GET)) &&
+ return equalIgnoringCase(httpMethod, HTTPNames::GET) &&
!isReloadLoadType(loadType) && loadType != FrameLoadTypeBackForward &&
url.hasFragmentIdentifier() &&
equalIgnoringFragmentIdentifier(m_frame->document()->url(), url)
« no previous file with comments | « third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698