Open Bug 2084641 Opened 1 month ago Updated 12 days ago

browserAction.getUserSettings().isOnToolbar not populated on android

Categories

(WebExtensions :: Android, enhancement, P5)

enhancement

Tracking

(Not tracked)

People

(Reporter: carlos-mozilla, Unassigned)

References

Details

(Whiteboard: [wecg])

No description provided.

On desktop browserAction.getUserSettings().isOnToolbar is populated just fine. So this seems unrelated to the action vs browserAction namespace.

Can you provide some more details? What is the issue, how do I reproduce it, what is the impact?

Flags: needinfo?(carlos-mozilla)

Does Android even have a concept of a toolbar? In the app I clearly see the "browser chrome" with omnibox, new tabs button, tab select button, and the three-dot "hamburger" menu. The extensions are accessible via said three-dot "hamburger" menu, then in the menu they are listed under a single "Extensions" sub-menu list. Nowhere in this flow I could see anything which I could call a toolbar or presentation which would change based on isOnToolbar setting.

Considering the open ends, opened https://github.com/w3c/webextensions/issues/1145 to further discuss this.

Flags: needinfo?(carlos-mozilla)

Thanks Carlos. I'm still not clear on this ticket. From your understanding, is there anything to be done on our end?

Flags: needinfo?(carlos-mozilla)

Not populating the isOnToolbar still seems unexpected. However lets await the discussion in the W3C issue before further investigating why the property is not included as we do not yet fully know what the property(s) should indicate.

Flags: needinfo?(carlos-mozilla)

The severity field is not set for this bug.
:rpl, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(lgreco)

Relevant review discussion (linking old revision): https://phabricator.services.mozilla.com/D169102?id=679497#inline-941622
(current code still explains the implementation decision)

Initially the patch author included isOnToolbar: false on Firefox for Android, but we requested it to be dropped to avoid giving the false pretention of supporting the concept at all.

This is filed as a "bug", not a "feature request". I would have closed this as an INVALID bug (because this is by design). But I am also aware of WECG discussions on the API, so repurposing to a feature request. As mentioned in the WECG meeting today, supportive of an alternative property that signals relevant state, provided that there is some cross-browser alignment on what it looks like, to avoid proliferation of unnecessary properties.

Type: defect → enhancement
Flags: needinfo?(lgreco)
See Also: → 1814905
Severity: -- → N/A
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.