Closed Bug 1348816 Opened 8 years ago Closed 8 years ago

Session store updates (inefficiently) - 1 observer per tab - when users select a different page style

Categories

(Firefox :: Session Restore, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 56
Tracking Status
firefox56 --- fixed

People

(Reporter: Gijs, Assigned: ttaubert)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

https://dxr.mozilla.org/mozilla-central/rev/1b9293be51637f841275541d8991314ca56561a5/browser/components/sessionstore/content/content-sessionStore.js#462 This should ideally be using an event... but really, page styles aren't that common and are trivial to re-select, so I'm tempted to say we should just remove the auto-updating sessionstore data when selecting a different style altogether.
I agree, can we just remove this? Mike, wdyt? I'd happily take it.
Flags: needinfo?(mdeboer)
I'm indeed really just fine with removing it. The simpler the better!
Flags: needinfo?(mdeboer)
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
Blocks: 1373672
Comment on attachment 8888230 [details] [diff] [review] 0001-Bug-1348816-Remove-PageStyle-collection-restoration-.patch Review of attachment 8888230 [details] [diff] [review]: ----------------------------------------------------------------- That's a bigger cleanup than I expected! I feel much lighter already. ;-) Can you push this to try (m-bc) to make sure we've got everything?
Attachment #8888230 - Flags: review?(mdeboer) → review+
Quite a few oranges, but they seem unrelated.
Pushed by ttaubert@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/3ee1e97fc01b Remove PageStyle collection/restoration from SessionStore r=mikedeboer
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: