Remove redundant tests for __SS_restoreState in SessionStore.jsm

NEW
Unassigned

Status

()

Firefox
Session Restore
2 years ago
4 months ago

People

(Reporter: u462496, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
onTabSelect, onTabShow, onTabHide each have this construct:

      if (tab.linkedBrowser.__SS_restoreState &&
          tab.linkedBrowser.__SS_restoreState == TAB_STATE_NEEDS_RESTORE)

Is the first test necessary?
(Reporter)

Comment 1

2 years ago
Created attachment 8778224 [details] [diff] [review]
Patch
Assignee: nobody → allassopraise
(Reporter)

Comment 2

4 months ago
I will no longer be able to spend time contributing to bugs for Mozilla.  I am un-assigning myself from this bug.
Assignee: kevinhowjones → nobody
You need to log in before you can comment on or make changes to this bug.