Changeset 202779 in webkit
- Timestamp:
- Jul 2, 2016 10:44:42 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r202771 r202779 1 2016-07-02 Youenn Fablet <youenn@apple.com> 2 3 Synchronous preflight checker should set loading options to not use credentials 4 https://bugs.webkit.org/show_bug.cgi?id=159351 5 6 Reviewed by Alex Christensen. 7 8 Like for asynchronous preflighting, synchronous preflighting loading options should disqble any credentials. 9 10 No change of behavior as preflight request is expressly set to not use credentials in 11 createAccessControlPreflightRequest. 12 13 * loader/CrossOriginPreflightChecker.cpp: 14 (WebCore::CrossOriginPreflightChecker::doPreflight): 15 1 16 2016-07-01 Commit Queue <commit-queue@webkit.org> 2 17 -
trunk/Source/WebCore/loader/CrossOriginPreflightChecker.cpp
r202741 r202779 131 131 ResourceResponse response; 132 132 RefPtr<SharedBuffer> data; 133 unsigned identifier = loader.document().frame()->loader().loadResourceSynchronously(preflightRequest, loader.options().allowCredentials(), loader.options().clientCredentialPolicy(), error, response, data);133 unsigned identifier = loader.document().frame()->loader().loadResourceSynchronously(preflightRequest, DoNotAllowStoredCredentials, DoNotAskClientForCrossOriginCredentials, error, response, data); 134 134 135 135 if (!error.isNull() && response.httpStatusCode() <= 0) {
Note: See TracChangeset
for help on using the changeset viewer.