James Newell wrote:
Flags are:
                //Create a new URI object
                var objURI =
[EMAIL 
PROTECTED]/network/simple-uri;1].createInstance(Components.interfaces.nsIURI);

Simple URIs do not support relative URIs. If you have a concept of relative URIs, you need to use "@mozilla.org/network/standard-url;1".

I also tried using "@mozilla.org/network/standard-url;1" but I kept
getting an exception trying to set the spec

What sort of exception?  What was your spec string?

-Boris
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to