diff --git a/browser/components/tabview/groupitems.js b/browser/components/tabview/groupitems.js index df489429c710..dd2e35b18b92 100644 --- a/browser/components/tabview/groupitems.js +++ b/browser/components/tabview/groupitems.js @@ -2293,6 +2293,10 @@ let GroupItems = { // Given some sort of identifier, returns the appropriate groupItem. // Currently only supports groupItem ids. groupItem: function GroupItems_groupItem(a) { + if (!this.groupItems) { + // uninit has been called + return null; + } var result = null; this.groupItems.forEach(function(candidate) { if (candidate.id == a)