Browser action isn't available in popup window
Categories
(WebExtensions :: Frontend, enhancement)
Tracking
(Not tracked)
People
(Reporter: arai, Unassigned)
References
(Blocks 1 open bug)
Details
(filed as a follow up for bug 1658775)
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Browser_actions
Browser action is shown as toolbar button, but toolbar is not part of popup window opened by window.open
.
testcase:
data:text/html,<input type="button" onclick="window.open('data:text/plain,', '', 'width=500')" value="click me">
A popup window (a minimal popup before bug 1507375, and all popup after bug 1507375) have only the following UI parts:
- titlebar
- titlebar buttons (minimize etc)
- location bar
- hamburger button
- scrollbar
- status bar
(the situation is also true on Chrome, and almost same on Safari where location bar isn't shown)
This means WebExtension features provided as browser action aren't available in popup window.
This might be something should be addressed on each extension, but maybe we could provide a way to show browser actions in popup window.
Comment 1•4 years ago
|
||
Not showing toolbar items in popups is by design, primarily by the Firefox frontend UX. On the other hand, I believe Page Actions are supported even in minimal popups, so extensions are able to use that if they want.
Closing as WONTFIX for the extensions bug, since we're not in the position to change that unilaterally, but you could raise it up with the fronted team.
Description
•