diff options
author | Euclid Ye <yezhizhenjiakang@gmail.com> | 2025-04-04 13:24:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-04 05:24:47 +0000 |
commit | 4bad7c0a5d8e19eabbe89ee70b21a5ece0e3c007 (patch) | |
tree | 573e6deace934548565d82deee5b8614ff71eb7b /components/shared/net | |
parent | e1de46c69131ae717d49228942feba04c955f775 (diff) | |
download | servo-4bad7c0a5d8e19eabbe89ee70b21a5ece0e3c007.tar.gz servo-4bad7c0a5d8e19eabbe89ee70b21a5ece0e3c007.zip |
Webdriver delete cookie (#36306)
1. Implement `WebDriverCommand::DeleteCookie`
2. Remove unnecessary clone for `WebDriverCommand::GetNamedCookie`
Fixes: #36287
---------
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
Diffstat (limited to 'components/shared/net')
-rw-r--r-- | components/shared/net/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/shared/net/lib.rs b/components/shared/net/lib.rs index c2c447d503e..0f1a1712ab7 100644 --- a/components/shared/net/lib.rs +++ b/components/shared/net/lib.rs @@ -493,6 +493,7 @@ pub enum CoreResourceMsg { CookieSource, ), DeleteCookies(ServoUrl), + DeleteCookie(ServoUrl, String), /// Get a history state by a given history state id GetHistoryState(HistoryStateId, IpcSender<Option<Vec<u8>>>), /// Set a history state for a given history state id |