[Project_owners] Are contents.rdf files needed in Firefox extensions?

Chris Neale cdn at mozdev.org
Wed Nov 10 21:11:06 EST 2004


Brian King wrote:
> One of the staples of traditional packages (in Mozilla) is that
> contents.rdf manifest files are needed to register a particular portion
> of your package as content | skin | locale, and enable chrome:// URLs to
> those locations.
> 
> I'm wondering if contents.rdf files are redundant in Firefox given that:
> a) install.rdf contains the front end data such as extension name,
> author, version, etc.
> b) install.rdf lists the package, skin and locale location, e.g.
>     <em:file>
>       <Description about="urn:mozilla:extension:file:mypackage.jar">
>         <em:package>content/</em:package>
>         <em:skin>skin/classic/</em:skin>
>         <em:locale>locale/en-US/</em:locale>
>       </Description>
>     </em:file>
> 
> I could do a simple test to check, but I'm asking here out of laziness
> and for others to be informed.
> 
> Another way to ask would be -- does anyone have a working extension
> *without* packaging any contents.rdf files?
> 


How else are to specify what overlays what in a chrome://ext/content/ 
sense ?


More information about the Project_owners mailing list