[tor] Stateless-compatible Tor Browser integration.
This commit is contained in:
parent
55297cba0b
commit
5e3e15f9e6
|
@ -71,12 +71,14 @@
|
|||
if (data) {
|
||||
ns.policy = new Policy(data.policy);
|
||||
ns.unrestrictedTabs = new Set(data.unrestrictedTabs);
|
||||
Settings.gotTorBrowserInit = data.gotTorBrowserInit;
|
||||
}
|
||||
},
|
||||
beforeSave() { // beforeSave
|
||||
return {
|
||||
policy: ns.policy.dry(true),
|
||||
unrestrictedTabs: [...ns.unrestrictedTabs],
|
||||
gotTorBrowserInit: Settings.gotTorBrowserInit,
|
||||
};
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue