Searched defs:errorDescription (Results 1 - 4 of 4) sorted by relevance

/external/webkit/Source/WebCore/loader/
H A DCrossOriginAccessControl.cpp96 bool passesAccessControlCheck(const ResourceResponse& response, bool includeCredentials, SecurityOrigin* securityOrigin, String& errorDescription) argument
105 errorDescription = "Cannot make any requests from " + securityOrigin->toString() + ".";
112 errorDescription = (accessControlOriginString == "*") ? "Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true."
120 errorDescription = "Credentials flag is true, but Access-Control-Allow-Credentials is not \"true\".";
H A DCrossOriginPreflightResultCache.cpp92 bool CrossOriginPreflightResultCacheItem::parse(const ResourceResponse& response, String& errorDescription) argument
96 errorDescription = "Cannot parse Access-Control-Allow-Methods response header field.";
102 errorDescription = "Cannot parse Access-Control-Allow-Headers response header field.";
117 bool CrossOriginPreflightResultCacheItem::allowsCrossOriginMethod(const String& method, String& errorDescription) const
122 errorDescription = "Method " + method + " is not allowed by Access-Control-Allow-Methods.";
126 bool CrossOriginPreflightResultCacheItem::allowsCrossOriginHeaders(const HTTPHeaderMap& requestHeaders, String& errorDescription) const
131 errorDescription = "Request header field " + it->first.string() + " is not allowed by Access-Control-Allow-Headers.";
H A DDocumentThreadableLoader.cpp332 void DocumentThreadableLoader::preflightFailure(const String& url, const String& errorDescription) argument
335 m_client->didFail(ResourceError(errorDomainWebKitInternal, 0, url, errorDescription));
/external/skia/tests/
H A DPathCoverageTest.cpp132 SkString errorDescription; local
133 errorDescription.printf(
139 reporter->reportFailed(errorDescription);

Completed in 83 milliseconds