Open Bug 2010549 Opened 1 day ago Updated 1 day ago

window not passed to ExtensionSidebarPane.onShown listener

Categories

(Firefox :: Sidebar, defect)

Firefox 147
defect

Tracking

()

UNCONFIRMED

People

(Reporter: silbermann.sebastian, Unassigned)

Details

Steps to reproduce:

  1. create an sidebar pane in the elements panel
  2. call pane.setPage
  3. Add onShown listener

Full repro in https://github.com/eps1lon/repro-firefox-onshown-no-window

Actual results:

Listener is called with no arguments

Expected results:

Listener is called with the window (https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/devtools/panels/ExtensionSidebarPane/onShown#listener)

Summary: window to passed to ExtensionSidebarPane.onShown listener → window not passed to ExtensionSidebarPane.onShown listener

The Bugbug bot thinks this bug should belong to the 'Firefox::Sidebar' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Sidebar
You need to log in before you can comment on or make changes to this bug.