ksachdeva wrote:
I am trying to develope an extension similar to XmlHttpRequest but for
a different protocol than Http.

Note that XMLHttpRequest can make requests to all URIs (file:, ftp:, etc). Though subject to same-origin checks in some cases.

I took the path of implementing the protocol handler for
my protocol using an example from
http://www.mozilla.org/projects/netlib/new-handler.html.

That sounds like the right way to go... now why do you need nsIDocument, 
exactly?

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

Reply via email to