Closed
Bug 1166757
Opened 11 years ago
Closed 11 years ago
Remove browser.__SS_data
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
RESOLVED
FIXED
Firefox 41
| Tracking | Status | |
|---|---|---|
| firefox41 | --- | fixed |
People
(Reporter: ttaubert, Assigned: ttaubert)
References
Details
Attachments
(1 file)
|
11.87 KB,
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
Looked at what browser.__SS_data is still required for and it's only the tab icon and browser.userTyped{Value,Clear} that we need for when the tab is pending or has been restored. We should simply put those in the TabStateCache.
| Assignee | ||
Comment 1•11 years ago
|
||
Comment on attachment 8608136 [details] [diff] [review]
0001-Bug-1166757-Remove-browser.__SS_data.patch
Review of attachment 8608136 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks, this looks great. Since we restore it so early, I guess all that complexity with __SS_extdata was unnecessary even without the changes in this patch? Nice to see it gone.
::: browser/components/sessionstore/TabState.jsm
@@ +183,3 @@
> this.copyFromCache(tab, tabData, options);
>
> + // Store the tab icon.
The code after copyFromCache could use a comment explaining why we do it conditionally. It's explained in SessionStore.jsm, but someone might not have seen that when looking at this code.
Attachment #8608136 -
Flags: review?(wmccloskey) → review+
| Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Bill McCloskey (:billm) from comment #2)
> Thanks, this looks great. Since we restore it so early, I guess all that
> complexity with __SS_extdata was unnecessary even without the changes in
> this patch? Nice to see it gone.
Yeah, not sure when we got to that state or if it was ever needed but there it goes.
> ::: browser/components/sessionstore/TabState.jsm
> @@ +183,3 @@
> > this.copyFromCache(tab, tabData, options);
> >
> > + // Store the tab icon.
>
> The code after copyFromCache could use a comment explaining why we do it
> conditionally. It's explained in SessionStore.jsm, but someone might not
> have seen that when looking at this code.
Will do, thanks!
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4ad0782c686c
https://hg.mozilla.org/mozilla-central/rev/5fb95b4c1d74
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
You need to log in
before you can comment on or make changes to this bug.
Description
•