Audit Tabs.getSelectedTab() null checks

NEW
Unassigned

Status

()

4 years ago
2 years ago

People

(Reporter: mcomella, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Tabs.getSelectedTab() should only be null when there are no tabs (i.e. GeckoApp has not yet been initialized. Maybe also when the last tab is removed?). This is a problem in some cases where an action takes place before GeckoApp is initialized (e.g. bug 1090287, which adds a null check to fix the issue) but is likely unnecessary and in most cases.

Comment 1

2 years ago
Is this bug still active?
You need to log in before you can comment on or make changes to this bug.