REGRESSION (r213126): Sync XHR needs partition for cache and credentials
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Jun 2017 21:43:00 +0000 (21:43 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Jun 2017 21:43:00 +0000 (21:43 +0000)
commit35e58c2a4c8d0605187aea2d4f2317eee83c6b75
tree442db4bac93919d26737a002dd01c04ea8e52fdd
parent1d1df523d6bc286d1f6cb7b26e26618221fa8059
REGRESSION (r213126): Sync XHR needs partition for cache and credentials
https://bugs.webkit.org/show_bug.cgi?id=173496
<rdar://problem/31943596>

Reviewed by Darin Adler.

Source/WebCore:

Test: http/tests/security/sync-xhr-partition.html

* xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::createRequest):

LayoutTests:

* http/tests/security/sync-xhr-partition-expected.txt: Added.
* http/tests/security/sync-xhr-partition.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@218416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/security/sync-xhr-partition-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/security/sync-xhr-partition.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/xml/XMLHttpRequest.cpp