One other option is that the moz-icon impl could do the fallback itself. That is, define skin URIs that particular stock icons would fall back on, and the newChannel call or whatever could just create a channel for that URI if there is no such stock icon.
That won't help with the file type icons, of course, which are what this bug is about initially...
One other option is that the moz-icon impl could do the fallback itself. That is, define skin URIs that particular stock icons would fall back on, and the newChannel call or whatever could just create a channel for that URI if there is no such stock icon.
That won't help with the file type icons, of course, which are what this bug is about initially...