Open Bug 2099191 Opened 11 hours ago Updated 11 hours ago

Remove the currentURI null check from TabProgressListener.onStateChange

Categories

(Firefox :: Tabbed Browser, task)

task

Tracking

()

ASSIGNED

People

(Reporter: dao, Assigned: dao)

References

(Depends on 1 open bug)

Details

Attachments

(1 external file)

TabProgressListener.onStateChange checks this._browser.currentURI for null before comparing it with about:blank. The check came with bug 1241085. A remote browser's currentURI falls back to about:blank, and an in-process browser sending a top-level STATE_START still has its docShell.

With logging added there, currentURI was never null across 7,825 top-level network starts (521 in in-process browsers) in the tabbrowser, urlbar and preferences browser tests.

currentURI was never null in this branch across 7,825 top-level network starts (521 in in-process browsers) in the tabbrowser, urlbar and preferences browser tests. A remote browser's RemoteWebNavigation falls back to about:blank, and an in-process browser sending STATE_START still has its docShell.

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: