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

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, 2 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
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 7774e757105601c9899dc4a246557f297eb3540d..7dff86190a5723fdcb1f4a5cad5e099eb6891a5e 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoadRequest.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoadRequest.h
@@ -109,7 +109,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