author | Raymond Lee <raymond@raysquare.com> |
Mon, 26 Sep 2011 10:46:25 +0800 | |
changeset 78985 | 12daae1947d755f438a9ea060832fe888a907005 |
parent 78984 | a9edf67c89547f37836e69ea744e87ab6708c3e2 |
child 78986 | 915ca38990ae9a4e3c5af81dc0089dca497aac68 |
push id | 78 |
push user | clegnitto@mozilla.com |
push date | Fri, 16 Dec 2011 17:32:24 +0000 |
treeherder | mozilla-release@79d24e644fdd [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | dietrich |
bugs | 689078 |
milestone | 9.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/browser/base/content/tabview/tabitems.js +++ b/browser/base/content/tabview/tabitems.js @@ -223,17 +223,17 @@ TabItem.prototype = Utils.extend(new Ite // Function: getStorageData // Get data to be used for persistent storage of this object. getStorageData: function TabItem_getStorageData() { let data = { url: this.tab.linkedBrowser.currentURI.spec, groupID: (this.parent ? this.parent.id : 0), title: this.tab.label }; - if (this.parent.getActiveTab() == this) + if (this.parent && this.parent.getActiveTab() == this) data.active = true; return data; }, // ---------- // Function: save // Store persistent for this object.