mirror of
https://github.com/servo/servo.git
synced 2025-08-17 03:15:34 +01:00
General cleanup for HSTS/Cookie Arc
This commit is contained in:
parent
6f573d5d44
commit
6d20b388f6
3 changed files with 19 additions and 13 deletions
|
@ -481,7 +481,7 @@ fn test_load_sets_requests_cookies_header_for_url_by_getting_cookies_from_the_re
|
|||
|
||||
{
|
||||
let mut cookie_jar = cookie_jar.write().unwrap();
|
||||
let cookie_url = Url::parse("http://mozilla.com").unwrap();
|
||||
let cookie_url = url.clone();
|
||||
let cookie = Cookie::new_wrapped(
|
||||
cookie_rs::Cookie::parse("mozillaIs=theBest").unwrap(),
|
||||
&cookie_url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue