DescriptionImprove precision of error messages from failed CORS checks.
Identify when the incoming Access-Control-Allow-Origin header value
contains multiple origin tokens and report this as not allowed. If it
doesn't and the origin is valid, provide an error message that informs
of a mismatch between the origin strings.
The previous error message could lead users into thinking that
(white)lists of origins were supported. It is not by the spec nor
current implementations.
Removed a nearby and related FIXME; not a current concern.
R=
BUG=321517
TEST=http/tests/xmlhttprequest/origin-exact-matching
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163406
Patch Set 1 #Messages
Total messages: 6 (0 generated)
|