Closed Bug 991674 Opened 11 years ago Closed 11 years ago

IconRetriever fails to get icon but error callback is not executed

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: amirn, Assigned: amirn)

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
crdlc
: review+
Details | Review
when trying to retrieve the icon for Music2 with: IconRetriever.get({ icon: Music2Icon, success: success, error: error }); neither the success nor the error callbacks are executed, because of this line: https://github.com/EverythingMe/gaia/blob/master/apps/homescreen/js/icon_retriever.js#L21 (the request is ongoing forever) after |make reset-gaia| you can see this log message: E/GeckoConsole( 7619): Content JS ERROR at app://homescreen.gaiamobile.org/js/icon_retriever.js:47 in retrieve: Got an exception when trying to load icon "app://music2.gaiamobile.org/style/icons/60/Music.png +" falling back to cached icon. Exception is:
Attached file Github Pull Request
Attachment #8402329 - Flags: review?(crdlc)
Assignee: nobody → amirn
Comment on attachment 8402329 [details] [review] Github Pull Request Good job mate!
Attachment #8402329 - Flags: review?(crdlc) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: