Closed
Bug 695835
Opened 13 years ago
Closed 13 years ago
Move favicon download to a separate thread
Categories
(Firefox for Android Graveyard :: General, defect, P1)
Tracking
(firefox11 fixed, fennec11+)
RESOLVED
FIXED
People
(Reporter: mfinkle, Assigned: gcp)
Details
(Whiteboard: [QA?])
Attachments
(1 file)
2.25 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Currently we download on the main UI thread. The download takes up too much time.
Updated•13 years ago
|
Assignee: nobody → gpascutto
Priority: -- → P1
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #568438 -
Flags: review?(mark.finkle)
Assignee | ||
Updated•13 years ago
|
Status: NEW → ASSIGNED
OS: Linux → Android
Hardware: x86 → ARM
Reporter | ||
Comment 2•13 years ago
|
||
Comment on attachment 568438 [details] [diff] [review] Patch. Move favicon download to AsyncTask } >+ } > if (rel.indexOf("icon") != -1) { >- mMainHandler.post(new Runnable() { Great! Just add a blank line between the class and the "if"
Attachment #568438 -
Flags: review?(mark.finkle) → review+
Comment 3•13 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #2) > Comment on attachment 568438 [details] [diff] [review] [diff] [details] [review] > Patch. Move favicon download to AsyncTask > > } > >+ } > > if (rel.indexOf("icon") != -1) { > >- mMainHandler.post(new Runnable() { rel.indexOf("icon") is not a very good test. It will match for <link rel="rubicon"> for instance. There's a proper algorithm described here:http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#rel-icon We can also support apple-touch-icon like we did at http://mxr.mozilla.org/mozilla-central/source/mobile/chrome/content/browser-ui.js#1027
Comment 4•13 years ago
|
||
Comment on attachment 568438 [details] [diff] [review] Patch. Move favicon download to AsyncTask Review of attachment 568438 [details] [diff] [review]: ----------------------------------------------------------------- ::: embedding/android/GeckoApp.java @@ +517,2 @@ > if (rel.indexOf("icon") != -1) { > + mMainHandler.post(new Runnable() { why are you posting this to the main thread?
Assignee | ||
Comment 5•13 years ago
|
||
Incorporated mfinkle and blassey's comment. Fabrice, fixing the actual functionality should prolly go into a seperate bug. http://hg.mozilla.org/projects/birch/rev/1685afdada81
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Whiteboard: [QA?]
Updated•13 years ago
|
tracking-fennec: --- → 11+
Updated•12 years ago
|
status-firefox11:
--- → fixed
Updated•3 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
•