|
Set 'ResourceRequest::requestorOrigin' in Blink.
We're currently setting the requestor origin in 'RenderFrameImpl', which
is the wrong place to encode a request's initiator data. This patch moves
it to 'FrameFetchContext' in Blink, and changes the implementation to
distinguish between "empty" initiators and "unique" initiators. A future
patch will use that distinction to determine whether a request is user-
initiated (omnibox), and should be considered "SameSite" for the purposes
of cookies.
BUG= 625969
R=clamy@chromium.org,nasko@chromium.org
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+49 lines, -19 lines) |
Patch |
 |
M |
content/child/web_url_loader_impl.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
|
1 chunk |
+4 lines, -10 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/fetch/FetchContext.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/fetch/FetchContext.cpp
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/BeaconLoader.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/FrameFetchContext.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/FrameFetchContext.cpp
|
View
|
1
2
|
1 chunk |
+15 lines, -0 lines |
1 comment
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/FrameLoadRequest.cpp
|
View
|
1
2
|
1 chunk |
+6 lines, -1 line |
1 comment
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/NavigationScheduler.cpp
|
View
|
1
2
|
7 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/loader/PingLoader.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/exported/WebSecurityOrigin.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/network/ResourceRequest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/network/ResourceRequestTest.cpp
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 5 (1 generated)
|