Skip to content

CookieSource type should be exported in public libservo API #44102

@jdm

Description

@jdm

use net_traits::{CookieSource, ResourceThreads, SiteDescriptor};

https://github.com/servo/servo/blob/80e84412318c626d80b9fd4ac956d77f0ba81d0d/components/servo/site_data_manager.rs#L210C12-L210C27

We should add a pub use to https://github.com/servo/servo/blob/main/components/servo/servo.rs that re-exports the CookieSource type in the public libservo API, then use crate::CookieSource in site_data_manager.rs. This will make the docs.rs content more helpful, and ensure that embedders only need to depend on libservo, not any other sub-crates.

Metadata

Metadata

Assignees

Labels

A-embeddingC-assignedThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.I-cleanupNo impact; the issue is one of maintainability or tidiness.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions