Benjamin Smedbergs wrote:The new flat chrome manifests are currently not usable by extensions because the
manifest is overwritten while doing compatibility. This patch makes sure that we
upgrade/delete/manage the chrome.manifest files in an extension properly such
that extensions can include a chrome.manifest in the root of their XPI.
Fixed on trunk. Updated documentation is at
http://www.mozilla.org/projects/firefox/ex...extensions.html
I could use help spreading the word about this checkin amongst extension
authors. My blog is down from having moved websites and not configured the new
one yet.
Important: Firefox 1.1 Extension Changes
- mcm_ham
- Posts: 1747
- Joined: June 16th, 2004, 6:09 am
- Location: Christchurch, New Zealand
Important: Firefox 1.1 Extension Changes
From Bug #283352:
- BenBasson
- Moderator
- Posts: 13671
- Joined: February 13th, 2004, 5:49 am
- Location: London, UK
- Contact:
- mcm_ham
- Posts: 1747
- Joined: June 16th, 2004, 6:09 am
- Location: Christchurch, New Zealand
"If chrome.manifest is missing, the extension manager will generate one from the old em:file property and contents.rdf files."
I think you are correct. Although if you bundle both the chrome.rdf and the chrome.manifest files that should support both versions. A bit like how many extensions have install.rdf and install.js files packaged. I guess that depends on whether having the <em:file> property in the install.rdf forces it into old style even if the chrome.manifest file is there, but from the quote it doesn't seem that's the case.
I think you are correct. Although if you bundle both the chrome.rdf and the chrome.manifest files that should support both versions. A bit like how many extensions have install.rdf and install.js files packaged. I guess that depends on whether having the <em:file> property in the install.rdf forces it into old style even if the chrome.manifest file is there, but from the quote it doesn't seem that's the case.