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)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: amirn, Assigned: amirn)
Details
Attachments
(1 file)
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:
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8402329 -
Flags: review?(crdlc)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → amirn
Comment 2•11 years ago
|
||
Comment on attachment 8402329 [details] [review]
Github Pull Request
Good job mate!
Attachment #8402329 -
Flags: review?(crdlc) → review+
Assignee | ||
Comment 3•11 years ago
|
||
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.
Description
•