Closed Bug 1157235 Opened 10 years ago Closed 10 years ago

Get rid of sessionstore-state-write notification

Categories

(Firefox :: Session Restore, defect)

defect
Not set
normal
Points:
1

Tracking

()

RESOLVED FIXED
Firefox 40
Iteration:
40.2 - 27 Apr
Tracking Status
firefox40 --- fixed

People

(Reporter: ttaubert, Assigned: ttaubert)

Details

(Keywords: addon-compat)

Attachments

(1 file)

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.
Iteration: --- → 40.2 - 27 Apr
Points: --- → 1
Flags: qe-verify-
Flags: firefox-backlog+
Attachment #8595970 - Flags: review?(dteller)
I seemed to remember that Tor Browser was using it. Am I confusing with something else?
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.
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 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+
Good idea, thanks for doing that. We could probably also just needinfo? Mike here?
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.
Thanks for the fast response, Georg!
https://hg.mozilla.org/integration/fx-team/rev/61c9775d4aea
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.

Attachment

General

Created:
Updated:
Size: