<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>204230</bug_id>
          
          <creation_ts>2019-11-15 09:41:39 -0800</creation_ts>
          <short_desc>[GTK] http/tests/xmlhttprequest/cross-origin-cookie-storage.html [since r249619] [Remove calls to WKContextGetWebsiteDataStore missed in r249614]</short_desc>
          <delta_ts>2020-04-08 02:31:32 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=210106</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pablo Saavedra">psaavedra</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1590532</commentid>
    <comment_count>0</comment_count>
    <who name="Pablo Saavedra">psaavedra</who>
    <bug_when>2019-11-15 09:41:39 -0800</bug_when>
    <thetext>Introduced by:


commit cdfb1cd5224630a87d2d14fd389bafc45747e1f9
Author: achristensen@apple.com &lt;achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc&gt;
Date:   Sat Sep 7 22:54:22 2019 +0000

    Remove calls to WKContextGetWebsiteDataStore missed in r249614
    https://bugs.webkit.org/show_bug.cgi?id=200050
    
    Source/WebKit:
    
    It turns out I didn&apos;t need to introduce another way of clearing all cookies between tests.
    I just needed to make the call to WKHTTPCookieStoreDeleteAllCookies use the right WebsiteDataStore.
    
    * NetworkProcess/NetworkProcess.cpp:
    (WebKit::NetworkProcess::clearCachedCredentials):
    * NetworkProcess/NetworkSession.h:
    (WebKit::NetworkSession::clearCredentials):
    (WebKit::NetworkSession::clearCookies): Deleted.
    * NetworkProcess/cocoa/NetworkSessionCocoa.h:
    * NetworkProcess/cocoa/NetworkSessionCocoa.mm:
    (WebKit::NetworkSessionCocoa::clearCookies): Deleted.
    
    Tools:
    
    * WebKitTestRunner/TestController.cpp:
    (WTR::TestController::resetPreferencesToConsistentValues):
    (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
    * WebKitTestRunner/TestInvocation.cpp:
    (WTR::TestInvocation::invoke):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@249619 268f45cc-cd09-0410-ab3c-d52691b4dbfc


Diff:

--- /home/igalia/psaavedra/repos/webkit-gtk/WebKitBuild/Release/layout-test-results/http/tests/xmlhttprequest/cross-origin-cookie-storage-expected.txt
+++ /home/igalia/psaavedra/repos/webkit-gtk/WebKitBuild/Release/layout-test-results/http/tests/xmlhttprequest/cross-origin-cookie-storage-actual.txt
@@ -7,6 +7,6 @@
 PASS: No cookies set.
 Cross-origin XMLHttpRequest (sync), testing that cookies are set when sending credentials.
 PASS: Finished sync xhr.
-PASS: Cookie set.
+FAIL: no cookie set.
 DONE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1638980</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2020-04-08 02:31:32 -0700</bug_when>
    <thetext>This is passing since r259705.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>