Closed Bug 1915762 Opened 2 years ago Closed 1 year ago

Introduce getFaviconDataURL() into nsIFaviconService

Categories

(Toolkit :: Places, task, P3)

task

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: daisuke, Assigned: daisuke)

References

Details

Attachments

(12 files, 2 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

This is a follow-up of bug 1894633.
We have a method nsIFaviconService.getFaviconDataForPage(), but it returns the favicon data as an array.
Not do that, it will be helpful if we can get favicon data as data URL.

Assignee: nobody → daisuke
Status: NEW → ASSIGNED
Severity: -- → N/A
Priority: -- → P3
Attachment #9429546 - Attachment description: WIP: Bug 1915762: Introduce nsIFaviconService::getFaviconForPage() → Bug 1915762: Introduce nsIFaviconService::getFaviconForPage()
Attachment #9431172 - Attachment is obsolete: true
Depends on: 1950287

Depends on D239487

Attachment #9468229 - Attachment description: WIP: Bug 1915762: Apply getFaviconForPage() in PageIconProtocolHandler → Bug 1915762: Apply getFaviconForPage() in PageIconProtocolHandler
Attachment #9468230 - Attachment description: WIP: Bug 1915762: Apply getFaviconForPage() in nsAlertsService → Bug 1915762: Apply getFaviconForPage() in nsAlertsService
Attachment #9468231 - Attachment description: WIP: Bug 1915762: Apply getFaviconForPage() in AboutReader → Bug 1915762: Apply getFaviconForPage() in AboutReader

Depends on D239489

Depends on D241350

Depends on D241351

Attachment #9469361 - Attachment description: WIP: Bug 1915762: Apply getFaviconForPage() in nsGNOMEShellSearchProvider → Bug 1915762: Apply getFaviconForPage() in nsGNOMEShellSearchProvider
Attachment #9470155 - Attachment description: WIP: Bug 1915762: Apply getFaviconForPage() in WinUtils → Bug 1915762: Apply getFaviconForPage() in WinUtils
Attachment #9468230 - Attachment is obsolete: true
Blocks: 1954604
Keywords: leave-open
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/821fd5e8b048 Introduce nsIFaviconService::getFaviconForPage() r=mak

Backed out for causing build bustages @nsFaviconService.cpp.

Flags: needinfo?(daisuke)
Flags: needinfo?(daisuke)
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dca071d63885 Introduce nsIFaviconService::getFaviconForPage() r=mak
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9955e42e749b Apply getFaviconForPage() in PageIconProtocolHandler r=mak https://hg.mozilla.org/integration/autoland/rev/b290501f5832 Apply getFaviconForPage() in nsGNOMEShellSearchProvider r=mak https://hg.mozilla.org/integration/autoland/rev/fb2232e5f3b5 Apply getFaviconForPage() in WinUtils r=win-reviewers,mak,handyman https://hg.mozilla.org/integration/autoland/rev/ec8a0553d97a Apply getFaviconForPage() in PlacesUtils r=mak https://hg.mozilla.org/integration/autoland/rev/5e38449cd4d9 Apply getFaviconForPage() in AboutReader r=mak https://hg.mozilla.org/integration/autoland/rev/8a7b0b87a0ef Apply getFaviconForPage() in TopSites r=mak https://hg.mozilla.org/integration/autoland/rev/677c35e884d3 Remove faviconUrl of TabTarget in cdp r=webdriver-reviewers,jdescottes https://hg.mozilla.org/integration/autoland/rev/5d74e419e249 Apply getFaviconForPage() for tests r=migration-reviewers,mak,mconley https://hg.mozilla.org/integration/autoland/rev/964a29c9a07a Remove getFaviconurlForPage() and getFaviconDataForPage() from nsIFaviconService r=mak https://hg.mozilla.org/integration/autoland/rev/05691232a461 Remove PlacesUtils.promiseFaviconData() r=sync-reviewers,profiler-reviewers,devtools-reviewers,mak,nchevobbe,canaltinova,markh https://hg.mozilla.org/integration/autoland/rev/5c7edcb3b105 Unify helper function to get favicon data r=mak

Backed out for causing node failures

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | typescript | performance | devtools/client/performance-newtypes/gecko.d.ts:251: error TS1005: ';' expected.
    TEST-UNEXPECTED-FAIL | typescript | performance | devtools/client/performance-newtypes/gecko.d.ts:253: error TS1128: Declaration or statement expected.
    TEST-UNEXPECTED-FAIL | typescript | performance | devtools/client/performance-newtypes/gecko.d.ts:312: error TS1128: Declaration or statement expected.
Flags: needinfo?(daisuke)
Flags: needinfo?(daisuke)
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a6840871c03e Apply getFaviconForPage() in PageIconProtocolHandler r=mak https://hg.mozilla.org/integration/autoland/rev/579ec95712da Apply getFaviconForPage() in nsGNOMEShellSearchProvider r=mak https://hg.mozilla.org/integration/autoland/rev/75fb2711fae9 Apply getFaviconForPage() in WinUtils r=win-reviewers,mak,handyman https://hg.mozilla.org/integration/autoland/rev/9fc54f4aadf6 Apply getFaviconForPage() in PlacesUtils r=mak https://hg.mozilla.org/integration/autoland/rev/256fe5799418 Apply getFaviconForPage() in AboutReader r=mak https://hg.mozilla.org/integration/autoland/rev/2f84634f5d11 Apply getFaviconForPage() in TopSites r=mak https://hg.mozilla.org/integration/autoland/rev/bc521c66b8d9 Remove faviconUrl of TabTarget in cdp r=webdriver-reviewers,jdescottes https://hg.mozilla.org/integration/autoland/rev/bfd6b454507b Apply getFaviconForPage() for tests r=migration-reviewers,mak,mconley https://hg.mozilla.org/integration/autoland/rev/2e085f3d1dd1 Remove getFaviconurlForPage() and getFaviconDataForPage() from nsIFaviconService r=mak https://hg.mozilla.org/integration/autoland/rev/0068977ee271 Remove PlacesUtils.promiseFaviconData() r=sync-reviewers,profiler-reviewers,devtools-reviewers,mak,nchevobbe,canaltinova,markh https://hg.mozilla.org/integration/autoland/rev/9779ccb4c6ad Unify helper function to get favicon data r=mak
See Also: → 1962116
Regressions: 1962575
Regressions: 1962409
Regressions: 1962326
Regressions: 1962576
Regressions: 1962580

Should this bug still be open?

Flags: needinfo?(daisuke)

Oh, I will close. Thanks Ryan!

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Flags: needinfo?(daisuke)
Resolution: --- → FIXED
Keywords: leave-open
Target Milestone: --- → 139 Branch
QA Whiteboard: [qa-triage-done-c140/b139]
Regressions: 1974901
Regressions: 1979113
Regressions: 2044003
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: