DeleteCookiesRequest 接口
签名
export interface DeleteCookiesRequest
属性
|
属性 |
修饰符 |
类型 |
说明 |
默认值 |
|---|---|---|---|---|
|
domain |
|
string |
如果指定,则只删除域完全匹配的 Cookie。 | |
|
name |
string |
要移除的 Cookie 的名称。 | ||
|
partitionKey |
|
CookiePartitionKey | string |
如果指定,则删除给定分区键中的 Cookie。在 Chrome 中,partitionKey 与分区 Cookie 可用的顶级站点匹配。在 Firefox 中,它与 PartitionKey 中的源来源匹配。 | |
|
path |
|
string |
如果指定,则只删除路径完全匹配的 Cookie。 | |
|
url |
|
string |
如果指定,则删除所有名称与给定名称相同、且域和路径与所提供的 URL 匹配的 Cookie。否则,只删除与当前页面域相关的 Cookie。 |