[Project_owners] XML-RPC trouble

matthew at mjwilson.demon.co.uk matthew at mjwilson.demon.co.uk
Fri Apr 1 08:15:55 EST 2005


lid2000 at tpg.com.au wrote:
> Okay, figured it out:
> 
> The nsXmlRpcClient.js file that ships with Firefox (in the components 
> directory, dated 26/3/2003, version 1.33) hates me. It will launch 
> errors when requests completed successfully and all sorts of things. If 
> I overwrite this file with the version found at 
> http://mozblog.mozdev.org/nsXmlRpcClient.js (dated 9/7/2003, version 
> 1.5), everything works perfectly fine.
> 
> So that seems to be that problem finally averted. Now my question is: 
> how would I go about including this modified file with my extension? It 
> won't load it from XUL (seems to get ignored and relies on old version 
> in components dir), and I can't go getting people to overwrite stuff in 
> their components directory. What would be the best way to include this? 
> Rename the object, then reference that?

Yes, ship a renamed version of the component with the extension.

Matthew



More information about the Project_owners mailing list