mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
write cookie_jar, hsts_list, auth_cache, and local_data to file if profile_dir option is present
This commit is contained in:
parent
f051028ee8
commit
d4f63cda5f
6 changed files with 150 additions and 13 deletions
|
@ -1382,7 +1382,7 @@ fn test_if_auth_creds_not_in_url_but_in_cache_it_sets_it() {
|
|||
password: "test".to_owned(),
|
||||
};
|
||||
|
||||
http_state.auth_cache.write().unwrap().insert(url.clone(), auth_entry);
|
||||
http_state.auth_cache.write().unwrap().entries.insert(url.clone(), auth_entry);
|
||||
|
||||
let mut load_data = LoadData::new(LoadContext::Browsing, url, None);
|
||||
load_data.credentials_flag = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue