Open
Bug 1418299
Opened 7 years ago
Updated 2 years ago
devtools.panels.create() should accept multiple icon sizes
Categories
(WebExtensions :: Developer Tools, enhancement, P3)
WebExtensions
Developer Tools
Tracking
(firefox59 affected)
NEW
Tracking | Status | |
---|---|---|
firefox59 | --- | affected |
People
(Reporter: jwkbugzilla, Unassigned)
References
Details
Currently, the iconPath parameter of devtools.panels.create() is always a string (see https://dxr.mozilla.org/mozilla-central/rev/a3f183201f7f183c263d554bfb15fbf0b0ed2ea4/browser/components/extensions/schemas/devtools_panels.json#335). This makes supporting HiDPI screens unnecessarily complicated, while also being inconsistent to other APIs such as browserAction (see https://dxr.mozilla.org/mozilla-central/rev/a3f183201f7f183c263d554bfb15fbf0b0ed2ea4/browser/components/extensions/schemas/browser_action.json#162). It should be possible to pass both a string and an object defining multiple icon sizes.
Note that Chrome developers probably don't care because Chrome currently doesn't seem to display that icon anywhere.
Updated•7 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Product: Toolkit → WebExtensions
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•