Closed
Bug 368745
Opened 19 years ago
Closed 18 years ago
Use nsIFaviconService in Feed Preview
Categories
(Firefox Graveyard :: RSS Discovery and Preview, defect, P3)
Firefox Graveyard
RSS Discovery and Preview
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 3 alpha5
People
(Reporter: asaf, Assigned: asaf)
References
Details
Attachments
(1 file, 1 obsolete file)
8.64 KB,
patch
|
Details | Diff | Splinter Review |
In places-builds, we should use nsIFaviconService in Feed Preview.
Assignee | ||
Comment 1•19 years ago
|
||
Attachment #253429 -
Flags: review?(gavin.sharp)
Assignee | ||
Updated•19 years ago
|
Priority: -- → P3
Assignee | ||
Updated•19 years ago
|
Attachment #253429 -
Flags: review?(sayrer)
Comment 2•19 years ago
|
||
Comment on attachment 253429 [details] [diff] [review]
v1
>Index: browser/components/feeds/src/FeedWriter.js
...
>+ var faviconURL = null;
>+ try {
>+ faviconURL = faviconsSvc.getFaviconForPage(aURI);
>+ }
>+ catch(ex) { }
>+
>+ if (faviconURL) {
Why are we swallowing all exceptions? Shouldn't we at least check for a specific error that we expect?
Attachment #253429 -
Flags: review?(sayrer) → review+
Assignee | ||
Updated•18 years ago
|
Attachment #253429 -
Flags: review?(gavin.sharp) → review?(sspitzer)
![]() |
||
Comment 3•18 years ago
|
||
Comment on attachment 253429 [details] [diff] [review]
v1
r=sspitzer
as for robert's question, the favicon service will throw NS_ERROR_NOT_AVAILABLE when "the page is not found or it has no favicon".
see also bug #381396 about the places api using NS_ERROR_NOT_AVAILABLE in this manner.
Attachment #253429 -
Flags: review?(sspitzer) → review+
Assignee | ||
Comment 4•18 years ago
|
||
Attachment #253429 -
Attachment is obsolete: true
Assignee | ||
Comment 5•18 years ago
|
||
mozilla/browser/components/feeds/src/FeedWriter.js 1.40
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Target Milestone: Firefox 3 alpha2 → Firefox 3 alpha5
Updated•7 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•