Closed
Bug 622656
Opened 15 years ago
Closed 15 years ago
Add-on Builder Helper appears to be broken for Mac OS X
Categories
(Mozilla Labs Graveyard :: FlightDeck, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dbuchner, Assigned: myk)
Details
Attachments
(1 file)
Attempting to use the ABH in the latest beta or Minefield versions of Fx on Mac OS X, there is something breaking inside the ABH that prevents it from creating the appropriate config prefs for the trusted domain. If you install and manually add the pref, the add-on operates just fine.
| Reporter | ||
Updated•15 years ago
|
Assignee: nobody → avarma
| Reporter | ||
Updated•15 years ago
|
Severity: normal → blocker
Priority: -- → P1
| Reporter | ||
Comment 1•15 years ago
|
||
Ayan has also confirmed this is an issue for Linux as well.
| Assignee | ||
Comment 2•15 years ago
|
||
What are the "appropriate config prefs" that ABH fails to create?
| Reporter | ||
Comment 3•15 years ago
|
||
The ABH uses the trustedOrigins object in the lib dirs js file to create this config entry: extensions.addonBuilderHelper.trustedOrigins
| Assignee | ||
Comment 4•15 years ago
|
||
Hmm, my reading of the code is that it doesn't actually create that entry itself, it just reads it if it exists. Without the entry, the list of trusted domains is exactly the list that ships with ABH (in its data/addon-config.json directory). With the entry, the list of trusted domains is the list that ships with ABH along with any additional entries in that preference.
What server are you testing on? If it's on https://builder-addons-next.allizom.org, then that would explain the problem, since that site isn't in the list of trusted domains in data/addon-config.json. If that's the problem, then adding that URL to the list should sufficient to resolve it.
Assignee: avarma → myk
| Reporter | ||
Comment 5•15 years ago
|
||
I believe Ayan and I tested it on all the various domain variants the app was on, I will double check and post back here.
| Assignee | ||
Comment 6•15 years ago
|
||
Here's a candidate build that I think solves the problems.
Ayan, Daniel: can you test and confirm whether or not it actually does solve the problems?
Attachment #501871 -
Flags: feedback?(dbuchner)
Attachment #501871 -
Flags: feedback?(ayanshah62)
| Reporter | ||
Comment 7•15 years ago
|
||
I can try it, but I never had the issue in Windows. Ayan, can you give this a spin?
Comment 8•15 years ago
|
||
myk: yes it works for me now. I tried it on beta8 on the live as well as the stage website.Thanks!
Updated•15 years ago
|
Attachment #501871 -
Flags: feedback?(ayanshah62) → feedback+
| Assignee | ||
Updated•15 years ago
|
Attachment #501871 -
Flags: feedback?(dbuchner)
| Assignee | ||
Comment 9•15 years ago
|
||
Ok, I have uploaded the new version to AMO, where it should appear after it gets review.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 10•15 years ago
|
||
Thank you for that Myk!
You need to log in
before you can comment on or make changes to this bug.
Description
•