diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-04-25 18:10:40 -0700 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-04-25 18:10:40 -0700 |
commit | 7a582b4bf9bdaeff34c8c813a92f35226ced72f5 (patch) | |
tree | 2c201cb5d5431e8b40c47aa44a6f519d60496dc9 /components/script/parse/mod.rs | |
parent | 81f6e70a623a6f11535322ed2ef954eafaf8c70c (diff) | |
parent | d9c32b273af4f55064016b66ccc8d65ec031448c (diff) | |
download | servo-7a582b4bf9bdaeff34c8c813a92f35226ced72f5.tar.gz servo-7a582b4bf9bdaeff34c8c813a92f35226ced72f5.zip |
Auto merge of #10800 - DDEFISHER:read_profile_dir_from_file, r=frewsxcv
read cookie_jar, hsts_list, auth_cache, and local_data from file if profile_dir option is present
Last step in Persistent sessions student project
"check for the presence of the profile directory command-line option in the ResourceThread constructor and look for files that will contain serialized versions of the previous steps. If they exist, populate the appropriate fields with deserialized versions of the file contents."
Also populated local_data in StorageManager constructor
I am not sure if the handling of decoding and encoding the Option Tm type was done in the cleanest way here.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10800)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/parse/mod.rs')
0 files changed, 0 insertions, 0 deletions