Closed
Bug 645509
Opened 13 years ago
Closed 13 years ago
Chrome tabs should be allowed to have favicons too
Categories
(Thunderbird :: Toolbars and Tabs, defect)
Thunderbird
Toolbars and Tabs
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 5.0b1
People
(Reporter: protz, Assigned: protz)
Details
Attachments
(1 file)
1.22 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
Currently, the code from specialTabs.js has a DOMLinkHandler class that reacts upon seeing a <link> element pass by, and updates the favicon of the tab accordingly. Unfortunately, this is just for content tabs. Chrome tabs might want to have their favicon too! In my case, my "compose in a tab" thing wants to have a nice favicon too, so the attached patch does just that.
Attachment #522222 -
Flags: review?(bugmail)
Comment 1•13 years ago
|
||
Comment on attachment 522222 [details] [diff] [review] Just add and remove the right event handlers from chrome tabs too Standard8 seems like the right person to review this code.
Attachment #522222 -
Flags: review?(bugmail) → review?(bugzilla)
Comment 2•13 years ago
|
||
Comment on attachment 522222 [details] [diff] [review] Just add and remove the right event handlers from chrome tabs too I've not explicitly tested this, but the code looks fine. One nit: >+ aTab.browser.addEventListener("DOMLinkAdded", DOMLinkHandler, false); >+ >+ > aTab.browser.setAttribute("id", "chromeTabBrowser" + this.lastBrowserId); only one blank line necessary here.
Attachment #522222 -
Flags: review?(bugzilla) → review+
Assignee | ||
Comment 3•13 years ago
|
||
http://hg.mozilla.org/comm-central/rev/7fd054a760dd (sorry, I forgot to address the nit, tell me if you want one more commit for this)
Assignee | ||
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.3a4
You need to log in
before you can comment on or make changes to this bug.
Description
•