Open Bug 1414498 Opened 8 years ago Updated 1 year ago

Support tabs.favIconUrl on Android

Categories

(Firefox for Android :: WebExtensions, defect, P3)

All
Android
defect

Tracking

()

People

(Reporter: baptiste.themine, Unassigned)

References

Details

(Whiteboard: [addons-jira])

Attachments

(1 file)

Attached file Test.zip
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20171024165158 Steps to reproduce: I tryed to get favIconUrl from tabs on Firefox Android with the following code : //Tab open browser.tabs.onCreated.addListener(function(tab){ console.log(tab.favIconUrl); }); //Tab update browser.tabs.onUpdated.addListener(function(tabid,info,tab){ console.log(tab.favIconUrl); }); Related Topic : https://discourse.mozilla.org/t/webextensions-get-tab-faviconurl-on-firefox-android/20958 Actual results: The code above is working on Firefox Desktop but the favIconUrl is always undefined on Firefox Android. The attached file contains Test.xpi and screenshots of both result in Firefox Desktop and Firefox Android. Tested on Firefox 56 and Firefox Android Nightly 58. Expected results: The favIconUrl property should be defined in Firefox Android.
OS: Unspecified → Android
Component: General → WebExtensions: Android
Product: Firefox for Android → Toolkit
Hardware: Unspecified → All
This is easier said than done. The tab favicon is available on the Java side, but there's no simple way to reflect it into JS.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: WebExtensions : favIconUrl undefined on Firefox Android → Support tabs.favIconUrl on Android
I don't understand. Is tabs.favIconUrl not already supposed to be supported on Android since version 54? See compatibility table on https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/tabs/Tab
Priority: -- → P3
(In reply to Baptiste Thémine from comment #2) > Is tabs.favIconUrl not already supposed to be supported on Android since > version 54? No, favIconUrl support was never implemented for Android.
Ok, it was surely a mistake. I will create a pull request to https://github.com/mdn/browser-compat-data for this issue.
Product: Toolkit → WebExtensions
See Also: → 1433813
Severity: normal → S3
Component: Android → WebExtensions
Product: WebExtensions → Fenix
Whiteboard: [addons-jira]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: