Closed
Bug 511927
Opened 15 years ago
Closed 15 years ago
[IE7][Timeplot] IE Javascript errors break all add-on statistics plots
Categories
(addons.mozilla.org Graveyard :: Statistics, defect, P4)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: smccammon, Assigned: smccammon)
References
()
Details
Attachments
(1 file, 1 obsolete file)
2.04 KB,
patch
|
clouserw
:
review+
|
Details | Diff | Splinter Review |
The attached patch fixes trailing commas in the source and json data. This gets the Summary, Downloads, and ADU plots working. Add-on Version, Application, Add-on Status, and Operating System plots still fail with an uncaught exception: Line: 387 (simile/amo-bundle.js) Error: Exception thrown and not caught
Assignee | ||
Updated•15 years ago
|
Attachment #395883 -
Flags: review?(clouserw)
Updated•15 years ago
|
Attachment #395883 -
Flags: review?(clouserw) → review+
Assignee | ||
Comment 1•15 years ago
|
||
I will hold off on this patch, as switching from $listing->json() to $javascript->object() could have some subtle side effects. More investigation and testing is needed.
Comment 2•15 years ago
|
||
Comment on attachment 395883 [details] [diff] [review] Trailing commas fix thanks
Attachment #395883 -
Flags: review+
Assignee | ||
Comment 3•15 years ago
|
||
A safer approach to v1: rather than abandon $listing->json(), this patch fixes it so that it no longer outputs trailing commas. IE gets a little bit of loving, with very little regression risk for everything else. Test with: /statistics/json/{ADDON_ID}/summary
Assignee: nobody → smccammon
Attachment #395883 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #397410 -
Flags: review?(clouserw)
Updated•15 years ago
|
Attachment #397410 -
Flags: review?(clouserw) → review+
Assignee | ||
Comment 4•15 years ago
|
||
Trailing commas fixed in r50589. Timeplot still throws an exception when viewing any of the detailed ADU plots. -> P4 at the most.
Priority: -- → P4
Updated•15 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
Updated•8 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•