Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upread cookie_jar, hsts_list, auth_cache, and local_data from file if profile_dir option is present #10800
Conversation
highfive
commented
Apr 21, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Apr 21, 2016
|
fixed tidy errors |
|
The encoding can be done in a much cleaner way by using RsCookie inside Actually, I think it might be better to just make |
|
Also, I'm going to be busy the next few days due to exams. r? @jdm (or anyone else) |
|
Sounds good I will make a pull request to add the derive annotation to Cookie and Tm |
|
Looks great, thanks! @bors-servo r+ |
|
|
|
@bors-servo r- Not till the manual impls go away |
|
Does the fact that components/net is using version 2.0 of cookie:Cookie present a problem to adding the derive to the Cookie struct in cookie:Cookie since it is on version 2.3 ? |
|
I don't see any reason why we couldn't upgrade to version 2.3. Just need to make the changes upstream to cookie-rs, then run |
|
A new version of the cookie crate has been pushed. |
|
Thanks for the heads up! |
|
Ping me when you get around to updating this (GitHub does send notifications for new pushes). Thanks! |
|
looks like I will have to rebase |
|
|
Sorry I am fixing this now |
|
Thanks again! @bors-servo r+ |
|
|
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 -->
|
|
|
|
Looks like cef and gonk lockfiles also need updating. |
…rofile_dir option is present
|
@bors-servo r+ |
|
|
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 -->
|
|
DDEFISHER commentedApr 21, 2016
•
edited
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.
This change is