Closed Bug 916577 Opened 11 years ago Closed 7 years ago

Disabling the Social API should remove the Services tab in about:addons

Categories

(Toolkit :: Add-ons Manager, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: der_tuxman, Unassigned)

References

Details

(Whiteboard: [bugday-20140113])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:24.0) Gecko/20130911 Firefox/24.0 PaleMoon/24.0 (Nightly/Aurora) Build ID: 20130911003217 Steps to reproduce: I changed the social.enabled prefs setting to false. Actual results: The Social API was disabled, the Services tab in about:addons still remains visible for no obvious reason - it makes no sense anyway when social.enabled is false. Expected results: The Services tab should disappear.
Thanks for your report and sorry for answering so late. Can you still reproduce this bug?
Component: Untriaged → SocialAPI
Flags: needinfo?(der_tuxman)
Whiteboard: [bugday-20140113]
Yes, Firefox beta still has this issue.
Flags: needinfo?(der_tuxman)
OS: Windows 7 → All
Hardware: x86 → All
Version: 24 Branch → Trunk
The tab is not shown here. Have you installed an extension before?
Flags: needinfo?(der_tuxman)
I can confirm the Services tab always shows, even if you've never used the social API before or have never installed a service add-on, or have the social API completely enabled in about:config as stated in comment 0 The tab shows a blank page with "You don't have any add-ons of this type installed" and is otherwise not used if you don't use the social API. If the API is explicitly disabled, the tab serves absolutely no purpose, ever, so should indeed not be shown, IMHO.
Blocks: 550048
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Component: SocialAPI → Add-ons Manager
Ever confirmed: true
Flags: needinfo?(der_tuxman)
Product: Firefox → Toolkit
social.enabled is being removed as a pref in bug 894806 and social will be enabled if there is one enabled social provider installed. The social tab should only appear if there are any installed social providers, as other tabs (e.g. themes).
this hides the service tab if no providers are installed
Depends on: 873671, 894806
Shane: Shane: Should this get checked in?
It could. It breaks at least one test, so there is some work to be done...
FYI, the failing test is browser_social_activation.js although I don't totally understand why it's failing.
So the problem is here: https://dxr.mozilla.org/mozilla-central/source/browser/base/content/test/social/browser_social_activation.js#232 The test navigates to addons://list/service, but since that page doesn't exist anymore, it defaults to the first page. So then later on in the test when they try to remove the social provider, it doesn't work. After activating the provider, we need to switch the addons manager to the services tab. I tried BrowserOpenAddonsMgr('addons://list/service'); but that opens a new window and breaks things.
I don't have the bug # handy but the social api has been removed
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
It would be very helpful to know the bug# for removal of the social API. I did a search but came up with zilch.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: