Closed
Bug 1250288
Opened 9 years ago
Closed 9 years ago
Implement a preference that can disable favicon support in web notifications
Categories
(Toolkit Graveyard :: Notifications and Alerts, defect)
Toolkit Graveyard
Notifications and Alerts
Tracking
(firefox47 fixed)
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: canuckistani, Assigned: lina)
References
Details
Attachments
(1 file)
We've resolved bug 1224785 to include favicons in notifications on OS X but we're not happy with the results and phlsa has suggested some tweaks ( logged in bug 1250285 ) Instead of backing the work out I'd rather implement a preference that disables the feature if possible so we can disable support in 47 and iterate. This could useful for iterating on XUL notification favicon support for Windows and Linux as well. Top question of course is, how much effort is this vs backing the patch out and maintaining it as it rots?
Assignee | ||
Comment 1•9 years ago
|
||
Sounds good to me! Adding the pref should be a really straightforward change.
Assignee: nobody → kcambridge
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/35883/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/35883/
Attachment #8722153 -
Flags: review?(MattN+bmo)
Assignee | ||
Comment 3•9 years ago
|
||
As implemented, this pref would toggle favicons on all platforms, not just OS X. If we're going to disable them on OS X, I think we should do the same for XUL alerts on Windows and Linux...but please let me know if you'd like to keep the two separate.
Comment 4•9 years ago
|
||
Comment on attachment 8722153 [details] MozReview Request: Bug 1250288 - Add a pref for showing favicons in web notifications. r?MattN https://reviewboard.mozilla.org/r/35883/#review33487 I was waiting for an answer to: (Quoting Kit Cambridge [:kitcambridge] from comment #3) > If we're going to disable them on OS X, I think we should do the same > for XUL alerts on Windows and Linux...but please let me know if you'd like > to keep the two separate. Please get an answer ot this before landing. ::: toolkit/components/alerts/nsAlertsService.cpp:130 (Diff revision 1) > - nsresult rv = ShowWithIconBackend(aBackend, aAlert, aAlertListener); > + nsresult rv = NS_ERROR_NOT_IMPLEMENTED; > + if (Preferences::GetBool("alerts.showFavicons")) { > + rv = ShowWithIconBackend(aBackend, aAlert, aAlertListener); > + } > if (NS_SUCCEEDED(rv)) { > return rv; > } Instead of hard-coding a default value of `NS_ERROR_NOT_IMPLEMENTED` which may be confusing, why not wrap the `rv` declaration and NS_SUCCEEDED in the Preference check?
Attachment #8722153 -
Flags: review?(MattN+bmo) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Edwin and I think we should pref favicons off on all platforms (not just OS X) until the UX issues are addressed. Does that sound OK, Jeff?
Flags: needinfo?(jgriffiths)
Reporter | ||
Comment 6•9 years ago
|
||
(In reply to Kit Cambridge [:kitcambridge] from comment #5) > Edwin and I think we should pref favicons off on all platforms (not just OS > X) until the UX issues are addressed. Does that sound OK, Jeff? Yes please!
Flags: needinfo?(jgriffiths)
Comment 8•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/043b74a82fa4
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Updated•1 year ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•