We need a way to allow some chrome files to come out of directories while others come out of jar files -- for the same chrome package. The navigator package is the major culprit here, since its files are scattered throughout the tree, and we'd like to be able to convert one directory at a time to package its chrome stuff into a jar file. Today, we discussed a way to do this, where when the chrome registry parses the installed-chrome.txt file, it will (temporarily) add a parallel entry to check in a corresponding jar file. E.g. if the installed-chrome.txt file says this: skin,install,url,resource:/chrome/skins/modern it behind the scenes registers 'resource:/chrome/skins/modern' and 'jar:resource:/chrome/skins/modern.jar!/' as resource substitutions for "Chrome,skin,navigator" such that: resource://Chrome,skin,navigator/foo.css tries first to resolve to: resource:/chrome/skins/modern/foo.css and then tries: jar:resource:/chrome/skins/modern.jar!/foo.css (or does that have to be in the other order?) Hmmm... I'm forgetting the rest...
FYI, I also added nsIResProtocolHandler::HasSubstitutions for this.
Sweet. I'll get this whipped up by tomorrow sometime.
Yo. What's up with this? We're ready!
Went on vacation for a week. Back now. Anyway, seeing as how some pointy-head will chew me out if I work on this bug and/or check code in without the bug first being nsbeta2+, I'm nominating it for nsbeta2.
hyatt says dprice and warren don't need this after all. resolving as invalid.
Well, we don't _need_ it, but developers would probably want to have it. Oh well.