View Issue Details

IDProjectCategoryView StatusLast Update
0020257MMW 5Extensions frameworkpublic2024-02-18 18:56
Reporterdrakinite Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionreopened 
Product Version5.1 
Target Version5.1Fixed in Version5.1 
Summary0020257: app.getAddonList().asJSON has invalid JSON
DescriptionIt seems to me like developers poking in the devtools console often check the asJSON property of native objects in order to get an understanding of what the objects are. The asJSON property of the AddonList is invalid though, because the Addon objects don't give a closing }.
TagsNo tags attached.
Fixed in build2817

Activities

drakinite

2023-09-26 04:39

developer   ~0072881

Fixed the JSON syntax and quickly added "ext_id", "title", and "version". Since the Addon objects' asJSON property isn't being used internally, I'm not sure if there's a point adding every property. We could also add infoJSON to it, in order to provide more of the addon info, but that would lead to a ton of newlines, tabs, and spaces inside asJSON.

Ludek

2023-09-26 17:29

developer   ~0072884

OK, looks good, resolving...

peke

2024-02-18 18:56

developer   ~0074311

Verified 2834