openwpm / OpenWPM

A web privacy measurement framework

Home Page:https://openwpm.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expand saved Firefox profile to full directory

englehardt opened this issue · comments

Right now we restrict ourselves to just copying a few subcomponents of the profile. i.e. cookies and localStorage. Why not copy all files?

There may be some additional concerns such as extensions present in the profile directory that a user may not expect, but we can either constrain the browser configuration to be the same, or load and save the configuration alongside the profile.

A full profile after a year or so of browsing can be around 500 MB. A new profile with very few page visits is around 20MB.

When we expand the saved profile to the full directory we should also consider the following:
Now, when restarting a crashed browser, we archive its profile in a tar file and then extract the contents of this tar file into the profile of a freshly started browser. Maybe we could skip this intermediate step and reuse the old profile directly instead.

Edit: moved this to its own issue (#918) as it is not trivial