Closed Bug 1008825 Opened 11 years ago Closed 11 years ago

Synchronous XMLHttpRequest to load options.xul

Categories

(Firefox for Android Graveyard :: Add-on Manager, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 33

People

(Reporter: Margaret, Assigned: lviknesh, Mentored)

References

Details

(Whiteboard: [lang=js][good first bug])

Attachments

(2 files)

This landed as part of bug 704415, and I see no comments in there justifying this, so I think it's just a mistake that this isn't asynchronous. Fixing this will involve flipping the async parameter, as well as updating the logic to be asynchronous. http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/aboutAddons.js#327
Spoke with vik1231 on IRC.
Assignee: nobody → lviknesh
Status: NEW → ASSIGNED
Thanks, mcomella! I'm traveling this week, so feel free to post questions in the bug if I'm not responsive on IRC.
Mentor: margaret.leibovic
Whiteboard: [mentor=margaret][lang=js][good first bug] → [lang=js][good first bug]
Attached patch async.patchSplinter Review
Attachment #8449727 - Flags: feedback?(wjohnston)
Comment on attachment 8449727 [details] [diff] [review] async.patch Review of attachment 8449727 [details] [diff] [review]: ----------------------------------------------------------------- Nice! Just make sure you get the indentation fixed up right (two space indent in here) :) ::: mobile/android/chrome/content/aboutAddons.js @@ +336,1 @@ > // Only allow <setting> for now NIT: Line this up with the code below. @@ +343,1 @@ > setting.setAttribute("desc", desc); Don't forget to fix this indent. Add curly braces as well. We decided to change styles and use them from now on. @@ +356,4 @@ > // No options, so hide the header and reset the list item > detailItem.setAttribute("optionsURL", ""); > aListItem.setAttribute("optionsURL", ""); > + } And fix the indent here as well.
Attachment #8449727 - Flags: feedback?(wjohnston) → feedback+
Attached patch async-reqSplinter Review
Attachment #8451782 - Flags: review?(wjohnston)
Attachment #8451782 - Flags: review?(wjohnston) → review+
Keywords: checkin-needed
Keywords: checkin-needed
Whiteboard: [lang=js][good first bug] → [lang=js][good first bug][fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [lang=js][good first bug][fixed-in-fx-team] → [lang=js][good first bug]
Target Milestone: --- → Firefox 33
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: