Alex Eng wrote:
During testing of a new version 2.0 release of my Firefox extension,
Clippings, I noticed that Firefox won't update the extension from a
previous release either automatically, or manually in the Extensions
window, unless I clear the browser cache first.
I get this too. My experience is as follows: When I get this scenario,
if I load the update RDF directly in the browser, then I get the old
version. If I shift-reload then I get the new version, and the Extension
Manager does the update.
Strangely enough it appears that the Extension Manager does attempt to
overcome caching problems:
http://lxr.mozilla.org/mozilla1.8/source/toolkit/mozapps/extensions/src/nsExtensionManager.js.in#6163
It looks like that isn't working correctly.
If I do the following with LiveHttpHeaders installed:
1. load the update RDF manually
2. clear the LiveHttpHeaders output
3. request an update for my extension
then no HTTP request occurs.
So it looks like a Mozilla bug.
One other test would be to serve the update RDF with a very short expiry
time, to see what would happen.
Matthew
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners