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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoadRequest.h

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: third_party/WebKit/Source/core/loader/FrameLoadRequest.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoadRequest.h b/third_party/WebKit/Source/core/loader/FrameLoadRequest.h
index fcb1037002575b2467de2bc13b762eb833c376d2..6de7831032211e39d3fb159de88692234971ad06 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoadRequest.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoadRequest.h
@@ -113,7 +113,7 @@ private:
void initializeFetchFlags()
{
// These flags are passed to a service worker which controls the page.
- m_resourceRequest.setFetchRequestMode(WebURLRequest::FetchRequestModeSameOrigin);
+ m_resourceRequest.setFetchRequestMode(WebURLRequest::FetchRequestModeNavigate);
m_resourceRequest.setFetchCredentialsMode(WebURLRequest::FetchCredentialsModeInclude);
m_resourceRequest.setFetchRedirectMode(WebURLRequest::FetchRedirectModeManual);
}

Powered by Google App Engine
This is Rietveld 408576698