DescriptionCORS-RFC1918: Teach ResourceRequest about "external" requests
As defined in https://mikewest.github.io/cors-rfc1918/#external-request.
This patch converts the "reserved IP range" flag on 'ResourceRequest'
into an "external request" flag, and ensures that the flag is set
correctly for requests that run through 'ThreadableLoader' and
'ResourceFetcher'.
The new flag is locked to a new RuntimeEnabledFeature, which is enabled
in test only. If that feature isn't enabled, no request is marked as
being external.
BUG=591052
Committed: https://crrev.com/dc5e487ba33a18f6e0362e072af8c5a39552dffa
Cr-Commit-Position: refs/heads/master@{#378730}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Jochen's feedback. #Dependent Patchsets: Messages
Total messages: 11 (4 generated)
|