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)
Firefox
Session Restore
Tracking
()
RESOLVED
FIXED
Firefox 56
| Tracking | Status | |
|---|---|---|
| firefox56 | --- | fixed |
People
(Reporter: Gijs, Assigned: ttaubert)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
|
19.42 KB,
patch
|
mikedeboer
:
review+
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Comment 1•8 years ago
|
||
I agree, can we just remove this? Mike, wdyt? I'd happily take it.
Flags: needinfo?(mdeboer)
Comment 2•8 years ago
|
||
I'm indeed really just fine with removing it. The simpler the better!
Flags: needinfo?(mdeboer)
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•8 years ago
|
||
Attachment #8888230 -
Flags: review?(mdeboer)
Comment 4•8 years ago
|
||
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+
| Assignee | ||
Comment 5•8 years ago
|
||
| Assignee | ||
Comment 6•8 years ago
|
||
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
Comment 8•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
You need to log in
before you can comment on or make changes to this bug.
Description
•