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

Issue 126753002: Update the ResourceRequest in DocumentLoader after the embedder modified it (Closed)

Created:
6 years, 11 months ago by jochen (gone - plz use gerrit)
Modified:
6 years, 11 months ago
Reviewers:
Nate Chapin
CC:
blink-reviews
Visibility:
Public.

Description

Update the ResourceRequest in DocumentLoader after the embedder modified it The call on resource will end up calling DocumentLoader::willSendRequest which stores the request. If we do this before the call on the host (which will end up calling RenderFrameImpl::willSendRequest), modifications by the host are not reflected in DocumentLoader::m_request. BUG=331941 R=japhet@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164696

Patch Set 1 #

Total comments: 1

Patch Set 2 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
M Source/core/fetch/RawResource.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/fetch/RawResource.cpp View 1 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/fetch/Resource.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/fetch/ResourceLoader.cpp View 1 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/loader/DocumentLoader.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/loader/DocumentLoader.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jochen (gone - plz use gerrit)
6 years, 11 months ago (2014-01-07 22:22:39 UTC) #1
Nate Chapin
LGTM with a question: https://codereview.chromium.org/126753002/diff/1/Source/core/fetch/ResourceLoader.cpp File Source/core/fetch/ResourceLoader.cpp (right): https://codereview.chromium.org/126753002/diff/1/Source/core/fetch/ResourceLoader.cpp#newcode270 Source/core/fetch/ResourceLoader.cpp:270: m_host->willSendRequest(m_resource->identifier(), request, redirectResponse, m_options.initiatorInfo); If ...
6 years, 11 months ago (2014-01-07 22:30:11 UTC) #2
jochen (gone - plz use gerrit)
actually, it doesn't work, because the embedder relies on DocumentLoader to update the request correctly ...
6 years, 11 months ago (2014-01-08 10:32:17 UTC) #3
Nate Chapin
On 2014/01/08 10:32:17, jochen wrote: > actually, it doesn't work, because the embedder relies on ...
6 years, 11 months ago (2014-01-08 18:05:22 UTC) #4
jochen (gone - plz use gerrit)
On 2014/01/08 18:05:22, Nate Chapin wrote: > On 2014/01/08 10:32:17, jochen wrote: > > actually, ...
6 years, 11 months ago (2014-01-08 18:57:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/126753002/70001
6 years, 11 months ago (2014-01-08 18:58:28 UTC) #6
commit-bot: I haz the power
6 years, 11 months ago (2014-01-08 19:05:03 UTC) #7
Message was sent while issue was closed.
Change committed as 164696

Powered by Google App Engine
This is Rietveld 408576698