Profile installation

Lithian <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization -
Message-ID <[email protected]>
Hi,

I'm converting my extenstion to the new firefox installation api. But 
before that I'm trying to install it on the profile directory. I notice 
that, with the news install.js script, it seems that the onload event of 
the main windows doesn't fire. After some test I see that this happen only 
if:

1. I register at least a locale 
2. The extension is installed on the profile directory
3. It run "standalone", not run throught the url bar but directly
   e.g.: mozilla -chrome chrome://moztest/content/
4. the problem happen only the "second time" (!?!?) I run the extension

Here http://downloads.mozdev.org/mozimage/moztest.xpi there's a simple 
extension (for the old installation api) that has only a listbox filled 
when the main window is loaded. But it doesn't work. I've test with 
Mozilla 1.4/1.5 e firefox 0.8 on both window and linux.

Thanks,
Lithian.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.