diff options
author | Gaming4JC <g4jc@bulletmail.org> | 2018-09-16 23:19:06 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@bulletmail.org> | 2018-09-16 23:19:06 -0400 |
commit | ca510ceb7f38aa00a2a203498f1005b8a2c6c6d6 (patch) | |
tree | 433528dc7f75851017e7421eb39501c7d1d8239a | |
parent | e941126ea38ec701b4a1d277c24f0f32a3dfd576 (diff) | |
download | iceweasel-uxp-ca510ceb7f38aa00a2a203498f1005b8a2c6c6d6.tar.gz |
Remove unifiedComplete from tabbrowser.xml; requires contextualidentiy in toolkit module
-rw-r--r-- | base/content/tabbrowser.xml | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/base/content/tabbrowser.xml b/base/content/tabbrowser.xml index 74964f7..9cd9650 100644 --- a/base/content/tabbrowser.xml +++ b/base/content/tabbrowser.xml @@ -63,10 +63,6 @@ Components.classes["@mozilla.org/docshell/urifixup;1"] .getService(Components.interfaces.nsIURIFixup); </field> - <field name="_unifiedComplete" readonly="true"> - Components.classes["@mozilla.org/autocomplete/search;1?name=unifiedcomplete"] - .getService(Components.interfaces.mozIPlacesAutoComplete); - </field> <field name="AppConstants" readonly="true"> (Components.utils.import("resource://gre/modules/AppConstants.jsm", {})).AppConstants; </field> @@ -813,9 +809,7 @@ this.mBrowser.mIconURL = null; } - let unifiedComplete = this.mTabBrowser._unifiedComplete; if (this.mBrowser.registeredOpenURI) { - unifiedComplete.unregisterOpenPage(this.mBrowser.registeredOpenURI); delete this.mBrowser.registeredOpenURI; } // Tabs in private windows aren't registered as "Open" so @@ -823,7 +817,6 @@ if (!isBlankPageURL(aLocation.spec) && (!PrivateBrowsingUtils.isWindowPrivate(window) || PrivateBrowsingUtils.permanentPrivateBrowsing)) { - unifiedComplete.registerOpenPage(aLocation); this.mBrowser.registeredOpenURI = aLocation; } } @@ -2548,7 +2541,6 @@ listener.destroy(); if (browser.registeredOpenURI && !aAdoptedByTab) { - this._unifiedComplete.unregisterOpenPage(browser.registeredOpenURI); delete browser.registeredOpenURI; } @@ -2916,7 +2908,6 @@ <![CDATA[ // If the current URI is registered as open remove it from the list. if (aOurBrowser.registeredOpenURI) { - this._unifiedComplete.unregisterOpenPage(aOurBrowser.registeredOpenURI); delete aOurBrowser.registeredOpenURI; } @@ -4781,7 +4772,6 @@ for (let tab of this.tabs) { let browser = tab.linkedBrowser; if (browser.registeredOpenURI) { - this._unifiedComplete.unregisterOpenPage(browser.registeredOpenURI); delete browser.registeredOpenURI; } let filter = this._tabFilters.get(tab); |