I’ve ported my extension over to being a Web Extension but I’m having difficulty getting Firefox to auto-update to the new version. Upgrades were previously done using the RDF format so I’m aiming to change it once to point to the new build and then future updates will be handled using the JSON format (which I’ve tested and works fine).
When I check for updates, I get the following warning:
Update manifest for jid1-np4qQKys1098lQ@jetpack did not contain an updates property
My manifest looks like this:
<?xml version="1.0" encoding="utf-8"?>
<RDF
xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:jid1-np4qQKys1098lQ@jetpack">
<em:updates>
<Seq>
<li>
<Description>
<em:version>2.7.1</em:version>
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:updateLink>https://s3-eu-west-1.amazonaws.com/gustaf-dist/PROD/gustaf-2.7.1.xpi</em:updateLink>
</Description>
</em:targetApplication>
</Description>
</li>
</Seq>
</em:updates>
</Description>
</RDF>
Having a quick browse through the Gecko code, I can find the line emitting the warning but I have the em:updates
property in my XML.
Chances are I’m missing something obvious. Has anyone got any ideas?