Re: Registering components under XULRunner 24
Christian Sell <[email protected]> Mon, 17 Feb 2014 06:37:20 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.embedding |
|---|---|
| Message-ID | <[email protected]> |
replaced the
file->AppendRelativePath(NS_LITERAL_STRING("components/components.manifest"));
with 2 calls:
retval = file->Append(NS_LITERAL_STRING("components"));
retval = file->Append(NS_LITERAL_STRING("components.manifest"));
now the manifest file is detected and parsed, resulting in a Javascript warning
[JavaScript Warning: "Trying to re-register CID '{e96f8106-a919-4a31-8b44-74bf3e5283ed}' already registered by ...
No additional error messages. When trying to load the component later on, still NS_ERROR_FACTORY_NOT_REGISTERED.