Flickering favicon on https://dgtized.github.io/shimmers/#/sketches
Categories
(Firefox :: Tabbed Browser, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox121 | --- | unaffected |
firefox122 | --- | wontfix |
firefox123 | --- | verified |
firefox124 | --- | verified |
People
(Reporter: mayankleoboy1, Assigned: mak)
References
(Blocks 1 open bug, Regression, )
Details
(Keywords: regression)
Attachments
(3 files)
Go to https://dgtized.github.io/shimmers/#/sketches and keep this tab in the foreground
AR: The favicon is flickering
ER: Not so
Regressed by:
Bug 1845035 - Invalid favicon causes the page to inherit favicon from the previously visited page. r=dao,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D194758
Reporter | ||
Comment 1•10 months ago
|
||
Assignee | ||
Comment 2•10 months ago
•
|
||
It looks like this is a page that continuously replaces the favicon for digital art purposes. It's an edge case, but it works in other browsers.
It's imo less problematic than the original bug, as it's more confusing and dangerous to get the wrong favicon than a flickering one.
The only workaround I could think about so far, is adding a "purpose" argument to setIcon to distinguish a page load from a page icon replacement, maybe reusing again beforePageShow from FaviconLoader. Anything after pageshow would not clear the attribute and thus not flicker. It should be as easy as letting .beforePageShow pass-through.
Otherwise we should undo Bug 1845035 and rather modify the image loading procedure to clear the image if the new one is unreadable, but I suspect that may affect the Web as it's loading the "image" attribute.
Comment 3•10 months ago
|
||
Set release status flags based on info from the regressing bug 1845035
Comment 4•10 months ago
|
||
:mak/:dao could this be triaged?
Is there anything you could do in a patch that we could take in a ride-long for a Fx122 dot release?
Assignee | ||
Comment 5•10 months ago
|
||
(In reply to Donal Meehan [:dmeehan] from comment #4)
:mak/:dao could this be triaged?
Is there anything you could do in a patch that we could take in a ride-long for a Fx122 dot release?
Do you think this is critical to be fixed in 122, or are you just asking for us to assess that?
I don't see this as something users may hit easily, thus I think we could just work on a patch for the next version. Unless Dao disagrees, as he's the module owner here, so let's await for his evaluation.
I could work on a patch implementing comment 2.
Comment 6•10 months ago
|
||
....or are you just asking for us to assess that?
Thanks for double-checking, yes I'm asking for your assessment on impact.
Assignee | ||
Updated•10 months ago
|
Assignee | ||
Comment 7•10 months ago
|
||
The test is updated to take the new behavior into account (empty icon must be
set before pageshow), but it doesn't cover the flicker case, as that's complex.
Assignee | ||
Updated•10 months ago
|
Comment 9•10 months ago
|
||
bugherder |
Assignee | ||
Comment 10•10 months ago
|
||
The test is updated to take the new behavior into account (empty icon must be
set before pageshow), but it doesn't cover the flicker case, as that's complex.
Original Revision: https://phabricator.services.mozilla.com/D199092
Updated•10 months ago
|
Comment 11•10 months ago
|
||
Uplift Approval Request
- Risk associated with taking this patch: low
- String changes made/needed: none
- Explanation of risk level: We are partially restoring the pre-regression behavior, the code change is simple
- User impact if declined: Tab favicon flashing on certain Web pages
- Is Android affected?: no
- Fix verified in Nightly: no
- Code covered by automated testing: no
- Steps to reproduce for manual QE testing: Steps are in the opening comment
- Needs manual QE test: yes
Assignee | ||
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Comment 12•10 months ago
|
||
uplift |
Updated•10 months ago
|
Updated•10 months ago
|
Comment 13•10 months ago
|
||
I have reproduced the issue in Release v122.0. This issue no longer occurs in Beta v123.0b2 or Nightly v124.0a1. This issue was reproduced and verified in Windows 10 and MacOS 11.
Description
•