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>
This commit is contained in:
Euclid Ye 2025-04-04 13:24:47 +08:00 committed by GitHub
parent e1de46c691
commit 4bad7c0a5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 65 additions and 4 deletions

View file

@ -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