window not passed to ExtensionSidebarPane.onShown listener
Categories
(Firefox :: Sidebar, defect)
Tracking
()
People
(Reporter: silbermann.sebastian, Unassigned, NeedInfo)
Details
Steps to reproduce:
- create an sidebar pane in the elements panel
- call pane.setPage
- 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)
| Reporter | ||
Updated•2 months ago
|
Comment 1•2 months ago
|
||
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.
Comment 2•1 month ago
|
||
The severity field is not set for this bug.
:sclements, could you have a look please?
For more information, please visit BugBot documentation.
Comment 3•1 month ago
|
||
I tried to reproduce this in Nightly 149.0a1 on macOS 15 by loading the extension and checking the Browser Toolbox. I didn't see the error occur, but I might be missing something. Could you share a bit more detail on the steps or a short video showing what happens?
Description
•