Chromium Code Reviews
DescriptionCorrectly set requestor origin for worker initiated requests.
ResourceRequest.requestTorOrigin() can never be null (since it is initialized
to a unique origin rather than null). Because of that the check in
FrameFetchContext::populateRequestData meant that this code would never
actually set the requestor origin of a request. For requests from frames the
code in RenderFrameImpl::willSendRequest would then replace the origin with
the correct one anyway, but no such code exists for shared/service workers.
BUG=645281, 625969
Committed: https://crrev.com/65299f214fad8f609c5872bcdd5f4ea82ec29713
Cr-Commit-Position: refs/heads/master@{#417712}
Patch Set 1 #Patch Set 2 : Fix unit tests. #Patch Set 3 : rebase #
Messages
Total messages: 22 (14 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||