Support dynamic changing of favicons in tabs

Originator:shazron
Number:rdar://44268401 Date Originated:09-Sep-2018 10:24 AM
Status:Open Resolved:
Product:Safari Product Version:12
Classification:UI/Usability Reproducible:Always
 
Summary:
Right now you can't change the favicon in tabs programmatically, while other browsers allow this functionality, for a good user experience. Originally filed it at https://bugs.webkit.org/show_bug.cgi?id=95979

Steps to Reproduce:
With Safari 12 supporting favicon display in tabs, is it still Apple's intent not to support the ability to script favicons? 

Test: http://lab.ejci.net/favico.js/

For examples where it is useful:
1. Gmail.com pinned - the favicon has a number overlay to show unread messages
2. Slack.com pinned - the favicon has a red dot overlay to show unread messages
3. Travis-CI.com build status page - the favicon itself changes color to show build success / failed (similarly for AppVeyor.com CI)

Tested with Release 64 (Safari 12.1, WebKit 13607.1.3.3) on macOS High Sierra 10.13.6


Expected Results:
Ability to modify the current tab's favicon using JavaScript

Actual Results:
No ability to modify the current tab's favicon using JavaScript

Version:
12

Notes:
https://bugs.webkit.org/show_bug.cgi?id=95979

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!