Closed
Bug 1157235
Opened 10 years ago
Closed 10 years ago
Get rid of sessionstore-state-write notification
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: ttaubert, Assigned: ttaubert)
Details
(Keywords: addon-compat)
Attachments
(1 file)
2.22 KB,
patch
|
Yoric
:
review+
|
Details | Diff | Splinter Review |
I'm a big fan of getting rid of notifications we don't need anymore and there are not tests or code using it. The only add-ons out there referencing it are either old and expect to still be able to modify the string or do not actually use it, it's just in the code there. Let's get rid of it.
Assignee | ||
Updated•10 years ago
|
Iteration: --- → 40.2 - 27 Apr
Points: --- → 1
Flags: qe-verify-
Flags: firefox-backlog+
Comment 2•10 years ago
|
||
I seemed to remember that Tor Browser was using it. Am I confusing with something else?
Assignee | ||
Comment 3•10 years ago
|
||
If found some tor browser button add-on (might be the official one) that tries to modify the string and set it to null before we write to disk. That possibility has been removed by us quite some time ago, and we do honor the permanent private browsing mode and don't save to disk at all. I remember we did consider Tor as a use case back when we did that.
Comment 4•10 years ago
|
||
I remember that we got in touch with TBB devs before removing the string, but we didn't remove the notification entirely. I just sent an e-mail to get confirmation that removing the notification entirely will not break anything.
Keywords: addon-compat
Comment 5•10 years ago
|
||
Comment on attachment 8595970 [details] [diff] [review] 0001-Bug-1157235-Remove-unused-sessionstore-state-write-n.patch Review of attachment 8595970 [details] [diff] [review]: ----------------------------------------------------------------- r=me, but let's wait until we have an answer from TBB devs before landing.
Attachment #8595970 -
Flags: review?(dteller) → review+
Assignee | ||
Comment 6•10 years ago
|
||
Good idea, thanks for doing that. We could probably also just needinfo? Mike here?
Comment 7•10 years ago
|
||
Okay, I looked at our code and I think we can just get rid of our session storage handling as |subject| in the notification is |null| anyway preventing us from stripping any data. As the logic is only active if the user is in non-private browsing mode (in private mode there is nothing saved to disk in the first place thanks to bug 944557) that is fine.
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/61c9775d4aea
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
You need to log in
before you can comment on or make changes to this bug.
Description
•