View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020257 | MMW 5 | Extensions framework | public | 2023-09-26 04:36 | 2024-02-18 18:56 |
Reporter | drakinite | Assigned To | |||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | reopened | ||
Product Version | 5.1 | ||||
Target Version | 5.1 | Fixed in Version | 5.1 | ||
Summary | 0020257: app.getAddonList().asJSON has invalid JSON | ||||
Description | It 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 }. | ||||
Tags | No tags attached. | ||||
Fixed in build | 2817 | ||||
|
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. |
|
OK, looks good, resolving... |
|
Verified 2834 |