Remove the currentURI null check from TabProgressListener.onStateChange
Categories
(Firefox :: Tabbed Browser, task)
Tracking
()
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.
| Assignee | ||
Comment 1•11 hours ago
|
||
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.
Updated•11 hours ago
|
Description
•