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
Review-Url: https://codereview.chromium.org/2323143002
Cr-Commit-Position: refs/heads/master@{#417712}
(cherry picked from commit 65299f214fad8f609c5872bcdd5f4ea82ec29713)
Committed: https://chromium.googlesource.com/chromium/src/+/3fa4d0dbbd3f3839ec00a64e5c711bc0f3658416
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||