Skip to content

libservo: Add initial support for SiteDataManager::clear_site_data#41618

Merged
jdm merged 1 commit intoservo:mainfrom
janvarga:initial-clear-site-data
Jan 5, 2026
Merged

libservo: Add initial support for SiteDataManager::clear_site_data#41618
jdm merged 1 commit intoservo:mainfrom
janvarga:initial-clear-site-data

Conversation

@janvarga
Copy link
Copy Markdown
Member

@janvarga janvarga commented Jan 1, 2026

Introduce initial support for site-scoped data clearing by enabling removal of
cookies for a given set of sites.

The API clears cookies across both public and private browsing contexts, and is
gated by the StorageType bitflags. At this stage only the Cookies category
is supported. Support for additional storage types (such as localStorage and
sessionStorage) will be added in a follow-up.

Testing: A new integration test has been added.

@janvarga janvarga force-pushed the initial-clear-site-data branch from 7ba7967 to a378b77 Compare January 3, 2026 17:35
@janvarga janvarga marked this pull request as ready for review January 3, 2026 17:37
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jan 3, 2026
Introduce initial support for site-scoped data clearing by enabling removal of
cookies for a given set of sites.

The API clears cookies across both public and private browsing contexts, and is
gated by the `StorageType` bitflags. At this stage only the `Cookies` category
is supported; additional storage types (such as localStorage and
sessionStorage) will be added in a follow-up.

Signed-off-by: Jan Varga <[email protected]>
@janvarga janvarga force-pushed the initial-clear-site-data branch from a378b77 to 8fd28a1 Compare January 4, 2026 15:11
Copy link
Copy Markdown
Member

@jdm jdm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and clear!

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jan 5, 2026
@jdm jdm added this pull request to the merge queue Jan 5, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jan 5, 2026
Merged via the queue into servo:main with commit 8bf0629 Jan 5, 2026
29 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants