Bug 1443833 - Remove unused gBrowser.tabContextMenu property. r=dao
authorOmar <boghdady5@windowslive.com>
Fri, 09 Mar 2018 17:10:16 +0100
changeset 462383 696b0f84b3423e1e8bc8c567d5c7cec946a342f3
parent 462382 acebd14b9ab2f5d5bb3c6488e5e432579b4a1dae
child 462384 8133cfb7904cb6ffda4ad3af0fa23000742bdc3a
push id1683
push usersfraser@mozilla.com
push dateThu, 26 Apr 2018 16:43:40 +0000
treeherdermozilla-release@5af6cb21869d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1443833
milestone60.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
Bug 1443833 - Remove unused gBrowser.tabContextMenu property. r=dao MozReview-Commit-ID: 6dJuanIFMxy
browser/base/content/tabbrowser.js
--- a/browser/base/content/tabbrowser.js
+++ b/browser/base/content/tabbrowser.js
@@ -246,20 +246,16 @@ window._gBrowser = {
       newValue => Math.max(newValue, this._tabMinWidthLimit),
     );
 
     this.tabMinWidth = this.tabMinWidthPref;
 
     this._setupEventListeners();
   },
 
-  get tabContextMenu() {
-    return this.tabContainer.contextMenu;
-  },
-
   get visibleTabs() {
     if (!this._visibleTabs)
       this._visibleTabs = Array.filter(this.tabs,
         tab => !tab.hidden && !tab.closing);
     return this._visibleTabs;
   },
 
   get _numPinnedTabs() {