Block pop-up exceptions are removed after restart (when Firefox is set to clear "site preferences" on exit)
Categories
(Firefox :: Settings UI, defect)
Tracking
()
People
(Reporter: bugzilla.mozilla.reg, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063
Steps to reproduce:
Open Firefox preferences
Click "Block pop-up windows"
Enter a web site
Click "Allow" and "Save changes", to add the web site
Restart Firefox
Open "Block pop-up windows" and see that there are no web sites listed
Actual results:
Exceptions saved under Block pop-up windows are not saved.
Expected results:
Exceptions saved under Block pop-up windows should stay after browser restart
Comment 1•6 years ago
|
||
I tested this issue on Windows 10 x64 with FF Nightly 70.0a1(2019-07-17) and I can't reproduce the issue, I used http://www.popuptest.com/ for testing.
Resa, please add the URL that you are using. Also, can you please test it with FF Nightly and see if you are able to reproduce it? Please use this link to download the build: https://www.mozilla.org/en-US/firefox/channel/desktop/
Thanks
Reporter | ||
Comment 2•6 years ago
|
||
Thanks for trying to recreate Ovidiu. I have been having this issue for a long time, so I doubt the latest version will fix it? ... also, I prefer to keep Firefox at the latest stable release. By the way, I am using Ubuntu 18.04 and Firefox 68.
I tried to add popuptest.com and save it as an exception under Block pop-up windows, and it seemed like it was added to the permissions.sqlite database:
$ strings permissions.sqlite
SQLite format 3
otablemoz_hostsmoz_hosts
CREATE TABLE moz_hosts ( id INTEGER PRIMARY KEY,host TEXT,type TEXT,permission INTEGER,expireType INTEGER,expireTime INTEGER,modificationTime INTEGER,isInBrowserElement INTEGER)
=tablemoz_permsmoz_perms
CREATE TABLE moz_perms ( id INTEGER PRIMARY KEY,origin TEXT,type TEXT,permission INTEGER,expireType INTEGER,expireTime INTEGER,modificationTime INTEGER)
http://www.popuptest.compopup
http://www.popuptest.comstorageAccessAPI
But after I shut down Firefox, the permission is removed:
$ strings permissions.sqlite
SQLite format 3
otablemoz_hostsmoz_hosts
CREATE TABLE moz_hosts ( id INTEGER PRIMARY KEY,host TEXT,type TEXT,permission INTEGER,expireType INTEGER,expireTime INTEGER,modificationTime INTEGER,isInBrowserElement INTEGER)
=tablemoz_permsmoz_perms
CREATE TABLE moz_perms ( id INTEGER PRIMARY KEY,origin TEXT,type TEXT,permission INTEGER,expireType INTEGER,expireTime INTEGER,modificationTime INTEGER)
$
Comment 3•6 years ago
|
||
Are you using permanent private browsing (ie under "History" in the prefs, does it say "Nightly will never remember history" or "Nightly will use custom settings for history" with "Always use private browsing mode" ticked), or is Firefox set to clear history on exit (and in that case, which bits) ?
Can you post a copy of about:support ( help > troubleshooting information > copy raw data to clipboard) to https://bugzilla.mozilla.org/attachment.cgi?bugid=1565886&action=enter ?
Reporter | ||
Comment 4•6 years ago
|
||
Thanks for that suggestion. I am indeed clearing Firefox history on exit, but after I disabled "History" > "Firefox will Use custom settings for history" > "Clear history when Firefox closes" > "Settings" > "Data" > "Site Preferences", the exception sticks after restart.
Thank you @Ovidiu and @Gijs, for helping solve this both of you, and have a good day :-)
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Description
•