Don't add expressions to history in private mode
Categories
(DevTools :: Console, enhancement, P2)
Tracking
(firefox102 fixed)
Tracking | Status | |
---|---|---|
firefox102 | --- | fixed |
People
(Reporter: mozilla-crowdicity.wadmol, Assigned: nchevobbe)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
- Open web console (in private window)
- Try anything in the console and close browser window
- Re-open browser and web console
Actual results:
Earlier expression/string can be found in history
Expected results:
History should not be kept at least when using private window. Actually it would be nice to have a preference whether to save history or not.
Reporter | ||
Comment 1•5 years ago
|
||
Right now I have set devtools.webconsole.inputHistoryCount
to 0
to entirely disable it
Comment 2•5 years ago
|
||
Hi Ashutosh Sharma,
Thanks for the filed issue, the console commands are indeed saved and shown in history from private browsing windows too.
Will mark this as an enhancement and move it over to a component so the developers can take a look at it.
Assignee | ||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Given how some development happens in private browsing, for private or other reasons, retaining any of this information is not good.
Assignee | ||
Comment 4•5 years ago
|
||
This is where we store the expressions /devtools/client/webconsole/middleware/history-persistence.js#45-57
Before setting them, we should check if we're in private mode .
Assignee | ||
Comment 8•2 years ago
|
||
Updated•2 years ago
|
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/39d5dc270aa9 [devtools] Don't add expressions from private window console in history. r=bomsy.
Comment 10•2 years ago
|
||
bugherder |
Description
•