New cookie behavior in -experimental allows for cookie exceptions to be honored. (after a restart of LW)

This commit is contained in:
Bert van der Weerd 2021-03-30 16:02:25 +02:00
parent dd52adad67
commit 5e05410625
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1
2 changed files with 22 additions and 1 deletions

View file

@ -396,6 +396,15 @@ if [[ "$*" == *clean* ]]; then
clean clean
done_something=1 done_something=1
fi fi
if [[ "$*" == *all* ]]; then
fetch
extract
do_patches
build
experimental=experimental
artifacts_win
done_something=1
fi
if [[ "$*" == *git_subs* ]]; then if [[ "$*" == *git_subs* ]]; then
git_subs git_subs
done_something=1 done_something=1
@ -525,6 +534,7 @@ Generic utility functionality:
rustup - perform a rustup for this user. rustup - perform a rustup for this user.
clean - remove generated cruft. clean - remove generated cruft.
all - build all, produce all artifacts including -experimental.
git_subs - update git submodules. git_subs - update git submodules.
config_diff - diff between my .cfg and dist .cfg file. (win10) config_diff - diff between my .cfg and dist .cfg file. (win10)
policies_diff - diff between my policies and the dist policies. (win10) policies_diff - diff between my policies and the dist policies. (win10)

View file

@ -1,5 +1,5 @@
diff --git a/librewolf.cfg b/librewolf.cfg diff --git a/librewolf.cfg b/librewolf.cfg
index 1ad0cea..c6907b4 100644 index 1ad0cea..0d9df09 100644
--- a/librewolf.cfg --- a/librewolf.cfg
+++ b/librewolf.cfg +++ b/librewolf.cfg
@@ -389,7 +389,7 @@ defaultPref("extensions.ui.experiment.hidden", false); @@ -389,7 +389,7 @@ defaultPref("extensions.ui.experiment.hidden", false);
@ -29,3 +29,14 @@ index 1ad0cea..c6907b4 100644
// Pref : Disable clipboard event detection (onCut/onCopy/onPaste) via Javascript // Pref : Disable clipboard event detection (onCut/onCopy/onPaste) via Javascript
// Disabling clipboard events breaks Ctrl+C/X/V copy/cut/paste functionaility in // Disabling clipboard events breaks Ctrl+C/X/V copy/cut/paste functionaility in
@@ -2773,3 +2773,10 @@ defaultPref("devtools.selfxss.count", 0);
// enable HTTPS only mode by default
defaultPref("dom.security.https_only_mode", true);
defaultPref("dom.security.https_only_mode_ever_enabled", true);
+
+
+// attempting new cookie behavior (use Settings > Cookies and Site Data > Manage Exceptions)
+// (please not that after you added a site, you must close LibreWolf before the cookies/etc are actually saved.)
+defaultPref("privacy.clearOnShutdown.cookies", false);
+defaultPref("privacy.clearOnShutdown.offlineApps", false);
+defaultPref("network.cookie.lifetimePolicy", 2);