Bug 1483073 - Remove BrowserOpenSyncTab() helper function r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D4281

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Arshad Kazmi 2018-08-26 22:14:17 +00:00
parent cd881b0a1a
commit 69eb976056
2 changed files with 1 additions and 5 deletions

View File

@ -341,7 +341,7 @@
<menuseparator id="sanitizeSeparator"/>
<menuitem id="sync-tabs-menuitem"
label="&syncTabsMenu3.label;"
oncommand="BrowserOpenSyncTabs();"
oncommand="gSync.openSyncedTabsPanel();"
hidden="true"/>
<menuitem id="historyRestoreLastSession"
label="&historyRestoreLastSession.label;"

View File

@ -7299,10 +7299,6 @@ function checkEmptyPageOrigin(browser = gBrowser.selectedBrowser,
return ssm.isSystemPrincipal(contentPrincipal);
}
function BrowserOpenSyncTabs() {
gSync.openSyncedTabsPanel();
}
function ReportFalseDeceptiveSite() {
let docURI = gBrowser.selectedBrowser.documentURI;
let isPhishingPage =