diff options
author | Ascrod <32915892+Ascrod@users.noreply.github.com> | 2018-05-24 16:29:56 -0400 |
---|---|---|
committer | Ascrod <32915892+Ascrod@users.noreply.github.com> | 2018-05-24 16:29:56 -0400 |
commit | 3a9d1b5351f275ae49a93ea36934c4a8a65ad93b (patch) | |
tree | 2ce91010e0e8b1f32963e57e55a40eb3fa9f7b4a /browser/base/content/browser.js | |
parent | b565e2c227af2cbcbc3573c1f874fd9e809bd5fe (diff) | |
download | UXP-3a9d1b5351f275ae49a93ea36934c4a8a65ad93b.tar UXP-3a9d1b5351f275ae49a93ea36934c4a8a65ad93b.tar.gz UXP-3a9d1b5351f275ae49a93ea36934c4a8a65ad93b.tar.lz UXP-3a9d1b5351f275ae49a93ea36934c4a8a65ad93b.tar.xz UXP-3a9d1b5351f275ae49a93ea36934c4a8a65ad93b.zip |
Remove the Social API
Diffstat (limited to 'browser/base/content/browser.js')
-rwxr-xr-x | browser/base/content/browser.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 8679bca83..4b8ec864b 100755 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -44,7 +44,6 @@ Cu.import("resource://gre/modules/NotificationDB.jsm"); ["ShortcutUtils", "resource://gre/modules/ShortcutUtils.jsm"], ["SimpleServiceDiscovery", "resource://gre/modules/SimpleServiceDiscovery.jsm"], ["SitePermissions", "resource:///modules/SitePermissions.jsm"], - ["Social", "resource:///modules/Social.jsm"], ["TabCrashHandler", "resource:///modules/ContentCrashHandlers.jsm"], ["Task", "resource://gre/modules/Task.jsm"], ["TelemetryStopwatch", "resource://gre/modules/TelemetryStopwatch.jsm"], @@ -1405,8 +1404,6 @@ var gBrowserInit = { // Enable the Restore Last Session command if needed RestoreLastSessionObserver.init(); - SocialUI.init(); - // Start monitoring slow add-ons AddonWatcher.init(); @@ -1537,7 +1534,6 @@ var gBrowserInit = { gPrefService.removeObserver(ctrlTab.prefName, ctrlTab); ctrlTab.uninit(); - SocialUI.uninit(); gBrowserThumbnails.uninit(); FullZoom.destroy(); @@ -4297,9 +4293,7 @@ var XULBrowserWindow = { // Called before links are navigated to to allow us to retarget them if needed. onBeforeLinkTraversal: function(originalTarget, linkURI, linkNode, isAppTab) { - let target = BrowserUtils.onBeforeLinkTraversal(originalTarget, linkURI, linkNode, isAppTab); - SocialUI.closeSocialPanelForLinkTraversal(target, linkNode); - return target; + return BrowserUtils.onBeforeLinkTraversal(originalTarget, linkURI, linkNode, isAppTab); }, // Check whether this URI should load in the current process @@ -4480,8 +4474,6 @@ var XULBrowserWindow = { gIdentityHandler.onLocationChange(); - SocialUI.updateState(); - UITour.onLocationChange(location); gTabletModePageCounter.inc(); |