DescriptionMake FetchResponseData::createCORSFilteredResponse() consult isForbiddenResponseHeaderName()
According to the Fetch Standard, CORS filtered response must exclude
headers whose name is forbidden response-header name even if it's listed
in the Access-Control-Expose-Headers header. Since the only user visible
interface, Response, is correctly applying the response guard rule, the
issue is not exposed to the web, but we should make sure that
FetchResponseData itself also conforms to the spec.
This CL also replaces set-cookie exclusion code in
createBasicFilteredResponse() with isForbiddenResponseHeaderName().
BUG=none
R=yhirano
Committed: https://crrev.com/58200f57b7e9c31ff270dfcb88d9ba7a08e4a3b3
Cr-Commit-Position: refs/heads/master@{#365224}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|