Re: Issues with chrome.manifest when installed in path having japanese characters
[email protected] Thu, 14 Aug 2014 06:08:31 -0700 (PDT)
| Newsgroups | gmane.comp.mozilla.devel.embedding |
|---|---|
| Message-ID | <[email protected]> |
In our code , we are having following snippet :
rv = NS_NewNativeLocalFile(nsEmbedCString((char *)filepath), PR_FALSE, getter_AddRefs(libxul));
if (NS_FAILED(rv))
{
throw BALBrowserException();
}
rv = NS_NewNativeLocalFile( nsEmbedCString((char *)filepath), PR_FALSE, getter_AddRefs(appDir));
if(NS_FAILED(rv))
{
throw BALBrowserException();
}
rv = XRE_InitEmbedding(libxul, appDir, 0);
rv in each case is NS_OK . After execution of 'XRE_InitEmbedding(libxul, appDir, 0); ' we are getting the chrome.manifest error. I have checked filepath ( containing japanese characters) , it is correct.
Is there any other way by which we can register our JS and binary components ?
I'll log a bug separately and cc you.