Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
TypeError: aTab.linkedBrowser is null browser.js:6076 when Ctrl-Tab, cannot switch tabs #569
This happens to me a long time (months), but I didn't get to it to report it sooner.
I have a different Firefox profile where I have only Ctrl-Tab extension installed and I don't have this issue. So I suspect this comes from TreeStyleTab.
I so far was not able to discover what triggers the error. New windows work well, reopening the badly behaving window helps too.
OK, I've found the reason. When you select a parent tab and close the tree, Firefox tries to focus to the first child tab because the current tab (the parent) is going to be closed. However, TST automatically close all child tabs too. As the result, TabWindow.prototype.handleEven (defined in resource:///modules/WindowsPreviewPerTab.jsm) raises an error for TabSelect event on the (closing) first child tab. The error blocks updating tab previews and breaks Ctrl-Tab feature.