Closed
Bug 1070092
Opened 11 years ago
Closed 11 years ago
Support data: URIs for images in 'link rel' tags
Categories
(Firefox for Android Graveyard :: Favicon Handling, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 35
People
(Reporter: max.schulze, Assigned: ckitching)
References
Details
Attachments
(2 files, 1 obsolete file)
|
9.17 KB,
text/html
|
Details | |
|
1.47 KB,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
Build ID: 20140830210550
Steps to reproduce:
open site which has 'link rel=icon ' and 'href=data/image
Actual results:
no favicon shown
Expected results:
show favicon (as firefox desktop would do)
| Assignee | ||
Comment 1•11 years ago
|
||
We can *already* do this, we just special-cased it hideously for the search engine stuff. While I'm here I might as well give Bug 961600 a stab
Attachment #8492482 -
Flags: review?(rnewman)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → chriskitching
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
| Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8492483 -
Flags: review?(rnewman)
| Assignee | ||
Updated•11 years ago
|
Attachment #8492482 -
Attachment is obsolete: true
Attachment #8492482 -
Flags: review?(rnewman)
| Assignee | ||
Comment 3•11 years ago
|
||
Ta-Da:
https://www.dropbox.com/s/nqc8buxmnyb966v/DataURIFavicon.png?dl=0
Thanks for the report!
Updated•11 years ago
|
OS: Linux → Android
Hardware: x86_64 → All
Summary: support data-uri for images in 'link rel' tags → Support data: URIs for images in 'link rel' tags
Version: Firefox 32 → Trunk
Comment 4•11 years ago
|
||
Comment on attachment 8492483 [details] [diff] [review]
Support favicon data URIs
Review of attachment 8492483 [details] [diff] [review]:
-----------------------------------------------------------------
r+ if you remove the second error logging clause from decodeDataURI. Just turn the log statement into a comment and return.
::: mobile/android/base/favicons/LoadFaviconTask.java
@@ +361,5 @@
>
> + // Attempt to decode the favicon URL as a data URL. We don't bother storing such URIs in
> + // the database: the cost of decoding them here probably doesn't exceed the cost of mucking
> + // about with the DB.
> + LoadFaviconResult uriBitmaps = FaviconDecoder.decodeDataURI(faviconURL);
This will cause log spam, no? FaviconDecoder calls Log.w if the URI is non-data.
Attachment #8492483 -
Flags: review?(rnewman) → review+
| Assignee | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
Comment 7•10 years ago
|
||
Verified as fixed in Firefox for Android 35.0;
Device: Asus Transformer Pad TF300T (Android 4.2.1).
Status: RESOLVED → VERIFIED
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•