<?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>203215</bug_id>
          
          <creation_ts>2019-10-21 15:14:17 -0700</creation_ts>
          <short_desc>Implement support for the Clear-Site-Data HTTP header</short_desc>
          <delta_ts>2023-11-14 17:44:00 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</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=245553</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>264852</dependson>
    
    <dependson>245553</dependson>
    
    <dependson>251094</dependson>
    
    <dependson>251470</dependson>
    
    <dependson>251766</dependson>
    
    <dependson>251768</dependson>
    
    <dependson>251821</dependson>
    
    <dependson>251855</dependson>
    
    <dependson>251856</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>cdumez</cc>
    
    <cc>cgarcia</cc>
    
    <cc>mihaip</cc>
    
    <cc>tomac</cc>
    
    <cc>wangxgwxg</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1582078</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2019-10-21 15:14:17 -0700</bug_when>
    <thetext>The Clear-Site-Data http header clears browsing data (cookies, storage, cache) associated with the requesting website.
It allows web developers to have more control over the data stored locally by a browser for their origins.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data


Clear Site Data is a W3C draft intended to become recommendation:
https://www.w3.org/TR/clear-site-data/
https://github.com/w3c/webappsec-clear-site-data


Support for this is currently missing on WebKit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1582079</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2019-10-21 15:15:27 -0700</bug_when>
    <thetext>There are some WPT tests at http://web-platform-tests.live/clear-site-data/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1900019</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-09-20 21:53:53 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/4557</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1900290</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-09-21 20:24:15 -0700</bug_when>
    <thetext>Committed 254745@main (c65efd2b205c): &lt;https://commits.webkit.org/254745@main&gt;

Reviewed commits have been landed. Closing PR #4557 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1900291</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-09-21 20:25:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/100253739&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1931730</commentid>
    <comment_count>5</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2023-02-07 08:52:00 -0800</bug_when>
    <thetext>Reopening as I am still working on fixing issues and the feature is currently disabled by default.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1947944</commentid>
    <comment_count>6</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-04-11 09:45:43 -0700</bug_when>
    <thetext>(In reply to Chris Dumez from comment #5)
&gt; Reopening as I am still working on fixing issues and the feature is
&gt; currently disabled by default.

Unless I&apos;m mistaken, bug 251856 turned it back on, minutes after you posted this comment?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>