Closed Bug 292201 Opened 20 years ago Closed 7 years ago

support "," icons in moz-icon protocol

Categories

(Core :: Graphics: ImageLib, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bugzilla, Unassigned)

Details

the following works:
moz-icon:file://C:\Program Files\Internet Explorer\iexplore.exe?size=16

the following doesn't work:
moz-icon:file://C:\Program Files\Internet Explorer\iexplore.exe,-32528?size=16
Assignee: pavlov → nobody
QA Contact: imagelib
What is a "," icon? When is it used?
Windows binaries store more than one icon resource, the comma syntax is used to select one of the icons.

https://blogs.msdn.microsoft.com/oldnewthing/20100505-00/?p=14153
> In Windows 95, the Extract­Icon function was enhanced so that you could also specify an icon by its resource ID by passing its negative as the icon index. In other words, if you place a negative number after the comma, then its absolute value is interpreted as the resource ID.
Given that we no longer have XPCOM add-ons and I don't think there's anywhere where we'd benefit from this in Firefox front-end, I don't think we will implement this.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.