Bug 203215
| Summary: | Implement support for the Clear-Site-Data HTTP header | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> |
| Component: | WebCore Misc. | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, cgarcia, mihaip, tomac, wangxgwxg, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=245553 | ||
| Bug Depends on: | 264852, 245553, 251094, 251470, 251766, 251768, 251821, 251855, 251856 | ||
| Bug Blocks: | |||
Carlos Alberto Lopez Perez
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Alberto Lopez Perez
There are some WPT tests at http://web-platform-tests.live/clear-site-data/
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/4557
EWS
Committed 254745@main (c65efd2b205c): <https://commits.webkit.org/254745@main>
Reviewed commits have been landed. Closing PR #4557 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/100253739>
Chris Dumez
Reopening as I am still working on fixing issues and the feature is currently disabled by default.
Sam Sneddon [:gsnedders]
(In reply to Chris Dumez from comment #5)
> Reopening as I am still working on fixing issues and the feature is
> currently disabled by default.
Unless I'm mistaken, bug 251856 turned it back on, minutes after you posted this comment?