Closed Bug 1167865 Opened 5 years ago Closed 5 years ago

Error: formatURLPref: Couldn't get pref: extensions.getAddons.link.url

Categories

(SeaMonkey :: Preferences, defect)

defect
Not set

Tracking

(firefox41 affected, seamonkey2.37 fixed)

RESOLVED FIXED
seamonkey2.38
Tracking Status
firefox41 --- affected
seamonkey2.37 --- fixed

People

(Reporter: philip.chee, Assigned: philip.chee)

References

Details

Attachments

(1 file)

Error: formatURLPref: Couldn't get pref: extensions.getAddons.link.url
Source file: resource://gre/components/nsURLFormatter.js
Line: 136

Fallout from Bug 1151509
> +pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/%OS%/%VERSION%?src=seamonkey");
Bug 628785 - Firefox should define a value for extensions.getAddons.recommended.url so AddonRepoistory.retrieveRecommendedAddons() works
> (In reply to comment #3)
>> Dave, do we make use of the URL in any of our UI? Or is it a method which can
>> be used by add-ons?
> We don't use it in the UI anymore but the API is still available for add-ons.

> +pref("extensions.getAddons.link.url", "https://addons.mozilla.org/%LOCALE%/%APP%/");
Fallout from Bug 1151509. We aren't going to do addon signing, this just stops nsURLFormatter.js complaining.
Attachment #8609776 - Flags: review?(iann_bugzilla)
OS: Unspecified → All
Hardware: Unspecified → All
Comment on attachment 8609776 [details] [diff] [review]
Patch v1.0 add some default prefs

Nit: is it worth inserting the two new preferences into the middle of the rest of the extension.getAddons.* prefs? (between getWith... and search.*)
Attachment #8609776 - Flags: review?(iann_bugzilla) → review+
> Nit: is it worth inserting the two new preferences into the middle of the
> rest of the extension.getAddons.* prefs? (between getWith... and search.*)
Will do this before check-in
Comment on attachment 8609776 [details] [diff] [review]
Patch v1.0 add some default prefs

a=me for CLOSED TREE
http://hg.mozilla.org/comm-central/rev/87b9eddaf6b6
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.38
Blocks: 1169697
No longer blocks: 1169697
You need to log in before you can comment on or make changes to this bug.