Closed Bug 1586453 Opened 6 years ago Closed 6 years ago

Bookmarks with invalid favicons don't work

Categories

(Firefox :: Enterprise Policies, defect, P1)

defect

Tracking

()

VERIFIED FIXED
Firefox 72
Tracking Status
firefox-esr68 72+ fixed
firefox70 --- wontfix
firefox71 --- wontfix
firefox72 --- verified

People

(Reporter: mkaply, Assigned: mkaply)

References

Details

Attachments

(1 file)

If you have invalid favicons, bookmarks don't work properly:

{
"policies": {
"DisplayBookmarksToolbar": true,
"Bookmarks": [
{
"Title": "Example.com",
"URL": "https://www.example.com",
"Favicon": "https://www.example.com/favicon.ico"
},
{
"Title": "Example Email",
"URL": "https://mail.example.com",
"Favicon": "https://mail.example.com/favicon.ico"
},
{
"Title": "Example Wiki",
"URL": "https://wiki.example.com/intranet/links",
"Favicon": "https://wiki.example.com/img/favicon.png"
}
]
}
}

This is because setAndFetchFaviconForPage never calls the callback in the failing case.

We actually don't need to wait for any of this (it's all async).

Priority: -- → P1

Duplicate of this bug: 1587091

Yes, the problem is the favicon statement. I just removed it and check that all is working as expected.

Thanks Mike

Pushed by mozilla@kaply.com: https://hg.mozilla.org/integration/autoland/rev/e92698988324 Don't try to wait for favicons in policy r=Standard8
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 72

Comment on attachment 9098978 [details]
Bug 1586453 - Don't try to wait for favicons in policy

Beta/Release Uplift Approval Request

  • User impact if declined: Some bookmarks policies don't apply and admins don't know why.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Steps detailed in bug
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Policy only, has automated test.
  • String changes made/needed:

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Policy specific
  • User impact if declined: Some bookmarks policies don't apply and admins don't know why.
  • Fix Landed on Version: 72
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Policy only, has automated test.
  • String or UUID changes made by this patch:
Attachment #9098978 - Flags: approval-mozilla-esr68?
Attachment #9098978 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Hello,
Managed to reproduce this issue with 71.0a1 (Build ID:20191004094656) on Windows 10x64.

The behavior on the latest Nightly(72.0a1 (2019-11-20) checked on Ubuntu 18.04 , Win10x64 and macOS 10.14.6 ) has shifted into the following one:

When launching the browser with a fresh profile, the (second and last in .json file) good favicon bookmarks are displayed in the bookmarks toolbar first, with the exception of the(first in .json file) bad favicon which will only be displayed after a browser restart. Is this intended behavior?

Flags: needinfo?(mozilla)

FYI, I am not evaluating the uplift until we have confirmation that the new behaviour is the intended one.

When launching the browser with a fresh profile, the (second and last in .json file) good favicon bookmarks are displayed in the bookmarks toolbar first, with the exception of the(first in .json file) bad favicon which will only be displayed after a browser restart. Is this intended behavior?

That's correct. Places is still waiting for the icon so until restart, it won't put an icon there.

Flags: needinfo?(mozilla)

Confirming this issue as verified fixed based upon the comment above on the latest Nightly 72.0a1 (2019-11-20) checked on Ubuntu 18.04 , Win10x64 and macOS 10.14.6 .

Status: RESOLVED → VERIFIED

Can this wait for 72/ 68.4esr? I know it's verified in nightly, but it's quite late for a beta uplift.

Flags: needinfo?(mozilla)

Yes, that's fine. Users have a workaround.

Flags: needinfo?(mozilla)
Attachment #9098978 - Flags: approval-mozilla-esr68? → approval-mozilla-esr68-

Tracking so we remember to re-assess this for uplift for the next ESR.

Hello,
Marking 71 as wontfix flag based upon the comments above. Please modify accordingly if I wrongly assumed .

Attachment #9098978 - Flags: approval-mozilla-beta? → approval-mozilla-beta-

Is this something you wanted to re-nominate for 68.4esr?

Flags: needinfo?(mozilla)

yep.

ESR Uplift Approval Request

If this is not a sec:{high,crit} bug, please state case for ESR consideration: Policy specific
User impact if declined: Some bookmarks policies don't apply and admins don't know why.
Fix Landed on Version: 72
Risk to taking this patch: Low
Why is the change risky/not risky? (and alternatives if risky): Policy only, has automated test.
String or UUID changes made by this patch:

For some reason I can't request the approval again.

Flags: needinfo?(mozilla)
Attachment #9098978 - Flags: approval-mozilla-esr68- → approval-mozilla-esr68?

Comment on attachment 9098978 [details]
Bug 1586453 - Don't try to wait for favicons in policy

Bookmark policy bugfix. Approved for 68.4esr.

Attachment #9098978 - Flags: approval-mozilla-esr68? → approval-mozilla-esr68+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: