OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:accesscontroloriginstring
(Results
1 - 1
of
1
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/fetch/
CrossOriginAccessControl.cpp
148
const AtomicString&
accessControlOriginString
= response.httpHeaderField(accessControlAllowOrigin);
149
if (
accessControlOriginString
== starAtom && includeCredentials == DoNotAllowStoredCredentials)
152
if (
accessControlOriginString
!= securityOrigin->toString()) {
153
if (
accessControlOriginString
== starAtom) {
155
} else if (
accessControlOriginString
.isEmpty()) {
157
} else if (
accessControlOriginString
.string().find(isOriginSeparator, 0) != kNotFound) {
158
errorDescription = "The 'Access-Control-Allow-Origin' header contains multiple values '" +
accessControlOriginString
+ "', but only one is allowed. Origin '" + securityOrigin->toString() + "' is therefore not allowed access.";
160
KURL headerOrigin(KURL(),
accessControlOriginString
);
162
errorDescription = "The 'Access-Control-Allow-Origin' header contains the invalid value '" +
accessControlOriginString
+ "'. Origin '" + securityOrigin->toString() + "' is therefore not allowed access.";
164
errorDescription = "The 'Access-Control-Allow-Origin' header has a value '" +
accessControlOriginString
+ "' that is not equal to the supplied origin. Origin '" + securityOrigin->toString() + "' is ther (…)
[
all
...]
Completed in 290 milliseconds