Closed
Bug 826371
Opened 12 years ago
Closed 12 years ago
Canceling UI for per-window private browsing autostart mode, doesn't revert browser.privatebrowsing.autostart preference
Categories
(Firefox :: Private Browsing, defect)
Tracking
()
RESOLVED
FIXED
Firefox 20
People
(Reporter: morac, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
3.35 KB,
patch
|
jdm
:
review+
|
Details | Diff | Splinter Review |
Bug 801823 added a UI to force the browser to restart if the user tries to enable private browsing autostart mode. The problem is that if the user cancels the prompt, the browser.privatebrowsing.autostart isn't reverted to the original value so a restart isn't "required" to change the setting.
Steps to reproduce:
1. Open options and change the "Firefox will" setting on the Privacy tab.
2. Click Okay.
3. At prompt click cancel.
At this point the options window will close, but the browser.privatebrowsing.autostart preference will be changed. This can be verified by re-opening the Options window or checking about:config
I looked at the code and it appears that the options in the preference window are being reverted (and I can see this quickly before the option window closes), but since the "Okay" button was clicked and the options window is closing, that doesn't actually revert the preference change.
Either the close of the options window needs to be stopped or (and this is better since the user could then cancel the options) the prefs.valueFromPreferences should be reverted.
Also I'll mention the options window UI change does nothing to prevent the actual changing of the browser.privatebrowsing.autostart preference from something like the about:config page (or any where other than the options window).
Assignee | ||
Comment 1•12 years ago
|
||
(In reply to Michael Kraft [:morac] from comment #0)
> Also I'll mention the options window UI change does nothing to prevent the
> actual changing of the browser.privatebrowsing.autostart preference from
> something like the about:config page (or any where other than the options
> window).
Yes, that is intentional. That is not a supported way of turning this feature on.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → ehsan
Assignee | ||
Comment 2•12 years ago
|
||
We just need to make sure that the autostart pref is always instantApply, even on Windows. I also took out the obsolete keep_current_session pref while I was there.
Attachment #697552 -
Flags: review?(josh)
Updated•12 years ago
|
Attachment #697552 -
Flags: review?(josh) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
You need to log in
before you can comment on or make changes to this bug.
Description
•