Closed
Bug 932994
Opened 11 years ago
Closed 11 years ago
Marketplace isn't passing the app categories to mozApps.install
Categories
(Marketplace Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: marco, Unassigned)
Details
See also bug 876293. The Marketplace should pass a categories parameter to mozApps install (like it does with the receipts). This parameter is an array that contains the names of the categories the app belongs to. The list of category names is hardcoded in Firefox: http://mxr.mozilla.org/mozilla-central/source/toolkit/webapps/WebappsInstaller.jsm#960
Comment 1•11 years ago
|
||
What is the use case for this?
Comment 2•11 years ago
|
||
I believe for desktop apps on Linux, to place the app in the correct applications category.
Comment 3•11 years ago
|
||
What happens if our categories don't match up to the platform's predefined categories?
Comment 4•11 years ago
|
||
They won't exactly, but there's probably a rough mapping in Firefox.
Comment 5•11 years ago
|
||
https://github.com/mozilla/fireplace/commit/b2728db94eea9ba3ecc0e849d6199d2214da8173 Let's hope it's fine. That seems really brittle.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•