Closed Bug 265557 Opened 20 years ago Closed 3 years ago

Preferences -->Privacy & Security -->Master Password --> "Master Password Timeout" is not lockable

Categories

(SeaMonkey :: Preferences, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: eagle.lu, Unassigned)

Details

Attachments

(1 file)

1. create a file named mozilla.cfg under dist/bin directory. it contains
following two lines:
   //silly comment
   lockPref("security.ask_for_password",1);

2. modifiy the dist/bin/greprefs/all.js as following:
   remove the line: 
   pref("general.config.obscure_value", 13); // for MCD .cfg files
   add the following two lines:
   pref("general.config.filename","mozilla.cfg");
   pref("general.config.obscure_value", 0); 

3. launch mozilla
4. select Edit->Perferences... menu item
   a window will popup
5. select Privacy&Security-->Master Passwords

actual results:
Master Passwords timeout field "The firsttime it is needed" is selected

expectual results:
"Every time it is needed" should be selected.
Attached patch patch v0Splinter Review
The value should selected should be based on prefstring.
Comment on attachment 162962 [details] [diff] [review]
patch v0

can you give r? Thanks
Attachment #162962 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 162962 [details] [diff] [review]
patch v0

The prefstring is not actually used within Mozilla. The value is instead saved
to secmod.db and I don't know if it should be lockable.
Attachment #162962 - Flags: review?(neil.parkwaycc.co.uk) → review-
I think the logical is unreasonable in onMasterPasswordLoad().  I think for
every xul element,it gets(or sets) its value based on "prefstring" attribute.
This provides user a unified method to control all these UI elements.

For the first time, "prefstring" is not sync with the element's value, But after
changing the setting by user, "prefstring" is synced with the value. Since these
two values should is synced afterward, why they are not synced from the beginning?
Product: Browser → Seamonkey
(Filter "spam" on 'prefs-nobody-20080612'.)
Assignee: prefs → nobody
QA Contact: prefs

The pref security.ask_for_password is no longer used.
->INVALID

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: