Open
Bug 1959921
Opened 1 year ago
Updated 9 months ago
Enable light/dark simulation on webextension sidebar/popup documents
Categories
(DevTools :: Inspector, enhancement, P3)
DevTools
Inspector
Tracking
(Not tracked)
NEW
People
(Reporter: nchevobbe, Unassigned)
Details
At the moment, we only enable the color simulation buttons in the tab toolbox https://searchfox.org/mozilla-central/rev/19764d620c02025bdcc8d1f3c4fcf5a580407a01/devtools/client/inspector/rules/rules.js#574-582
* Enables the print and color scheme simulation only for local and remote tab debugging.
*/
async _initSimulationFeatures() {
if (!this.inspector.commands.descriptorFront.isTabDescriptor) {
return;
}
this.colorSchemeLightSimulationButton.removeAttribute("hidden");
this.colorSchemeDarkSimulationButton.removeAttribute("hidden");
this.printSimulationButton.removeAttribute("hidden");
It would be indeed useful for webextensions developers to have such capabilities for popup and sidebar.
Updated•9 months ago
|
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•