Index: webkit/plugins/ppapi/ppb_url_loader_impl.cc |
=================================================================== |
--- webkit/plugins/ppapi/ppb_url_loader_impl.cc (revision 109776) |
+++ webkit/plugins/ppapi/ppb_url_loader_impl.cc (working copy) |
@@ -130,13 +130,14 @@ |
request_data_ = request->GetData(); |
WebURLLoaderOptions options; |
- options.allowCredentials = request_data_.allow_credentials; |
if (has_universal_access_) { |
+ options.allowCredentials = true; |
options.crossOriginRequestPolicy = |
WebURLLoaderOptions::CrossOriginRequestPolicyAllow; |
} else { |
// All other HTTP requests are untrusted. |
options.untrustedHTTP = true; |
+ options.allowCredentials = request_data_.allow_credentials; |
if (request_data_.allow_cross_origin_requests) { |
// Allow cross-origin requests with access control. |
options.crossOriginRequestPolicy = |