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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 1391583002: Introduce "navigate" mode in Requests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index 8e72276b39a087e2a1db482283a174589c385974..e4d5e87575fb35ab0b4a23da750a1de3d554a790 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -5039,7 +5039,7 @@ void RenderFrameImpl::BeginNavigation(blink::WebURLRequest* request) {
// These values are assumed on the browser side for navigations. These checks
// ensure the renderer has the correct values.
- DCHECK_EQ(FETCH_REQUEST_MODE_SAME_ORIGIN,
+ DCHECK_EQ(FETCH_REQUEST_MODE_NAVIGATE,
GetFetchRequestModeForWebURLRequest(*request));
DCHECK_EQ(FETCH_CREDENTIALS_MODE_INCLUDE,
GetFetchCredentialsModeForWebURLRequest(*request));

Powered by Google App Engine
This is Rietveld 408576698