Changeset 218416 in webkit


Ignore:
Timestamp:
Jun 16, 2017 2:43:00 PM (7 years ago)
Author:
achristensen@apple.com
Message:

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.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r218413 r218416  
     12017-06-16  Alex Christensen  <achristensen@webkit.org>
     2
     3        REGRESSION (r213126): Sync XHR needs partition for cache and credentials
     4        https://bugs.webkit.org/show_bug.cgi?id=173496
     5        <rdar://problem/31943596>
     6
     7        Reviewed by Darin Adler.
     8
     9        * http/tests/security/sync-xhr-partition-expected.txt: Added.
     10        * http/tests/security/sync-xhr-partition.html: Added.
     11
    1122017-06-16  Matt Lewis  <jlewis3@apple.com>
    213
  • trunk/Source/WebCore/ChangeLog

    r218411 r218416  
     12017-06-16  Alex Christensen  <achristensen@webkit.org>
     2
     3        REGRESSION (r213126): Sync XHR needs partition for cache and credentials
     4        https://bugs.webkit.org/show_bug.cgi?id=173496
     5        <rdar://problem/31943596>
     6
     7        Reviewed by Darin Adler.
     8
     9        Test: http/tests/security/sync-xhr-partition.html
     10
     11        * xml/XMLHttpRequest.cpp:
     12        (WebCore::XMLHttpRequest::createRequest):
     13
    1142017-06-16  Commit Queue  <commit-queue@webkit.org>
    215
  • trunk/Source/WebCore/xml/XMLHttpRequest.cpp

    r215686 r218416  
    761761            setPendingActivity(this);
    762762    } else {
     763        request.setDomainForCachePartition(scriptExecutionContext()->topOrigin().domainForCachePartition());
    763764        InspectorInstrumentation::willLoadXHRSynchronously(scriptExecutionContext());
    764765        ThreadableLoader::loadResourceSynchronously(*scriptExecutionContext(), WTFMove(request), *this, options);
Note: See TracChangeset for help on using the changeset viewer.