mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add webdriver deletecookies function
This commit is contained in:
parent
04c93c511b
commit
64961cc9c1
8 changed files with 60 additions and 1 deletions
|
@ -143,6 +143,10 @@ impl Cookie {
|
|||
self.last_access = now();
|
||||
}
|
||||
|
||||
pub fn set_expiry_time_negative(&mut self) {
|
||||
self.expiry_time = Some(Serde(now() - Duration::seconds(1)));
|
||||
}
|
||||
|
||||
// http://tools.ietf.org/html/rfc6265#section-5.1.4
|
||||
pub fn default_path(request_path: &str) -> &str {
|
||||
// Step 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue