12.2. The Chrome Registry

Mozilla's chrome registry is a set of RDF facts that describes the packages that exist in the chrome. The chrome is used to support chrome: URLs and to apply some simple restrictions to packages. It is automatically used when XUL documents are loaded, and when new packages are installed.

Use of the term registry is unfortunate because Mozilla has several registries, all in different formats. The chrome registry is more accurately a database of information and a processing system. The chrome registry is used at the XUL application level inside the platform. The Mozilla registry, which is separate, is used lower down at the platform functionality level.

Without the chrome, the platform would have to perform searches of ...

Get Rapid Application Development with Mozilla™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.