WorryFree Computers   »   [go: up one dir, main page]

Open Bug 1820867 Opened 1 year ago Updated 1 year ago

Make OriginControls cross-platform to support mobile

Categories

(WebExtensions :: General, task, P2)

task

Tracking

(Not tracked)

People

(Reporter: zombie, Unassigned)

References

Details

(Whiteboard: [addons-jira])

OriginControls is meant to be decoupled from desktop UI code, so that the same logic can be used on mobile.

Specifically, getAttention() should not directly access window.gBrowser.selectedTab and instead either use the existing tab/window abstractions from TabManager.

https://searchfox.org/mozilla-central/rev/416f31a511/toolkit/components/extensions/ExtensionPermissions.jsm#576,578

Whiteboard: [addons-jira]
Severity: -- → N/A
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.