зеркало из https://github.com/mozilla/gecko-dev.git
de3f9dfd38
nsIDocumentLoader interface method change to LoadURL() we now accept a local ip address. M webshell/public/nsIWebShell.h 1. Extended the nsIWebShell LoadURL() method to take an additional PRUint32 parameter which represents an ip address. If specified, this address will be bound to the socket prior to connection as the local/client ip address to be used. The caller is guarantees the validity of this address. 2. Extended the nsReloadType enumeration to allow both proxy and cache bypass. M webshell/src/nsDocLoader.cpp 1. Extended nsDocumentBindInfo::Bind() to take an additional nsILoadAttribs pointer. (class definitaion change and implementation). 2. Extended nsDocLoaderImpl::LoadURL() to take an additional PRUint32 param which represents an optional local ip address to bind the connecting socket to, prior to connection. (class definitaion change and implementation) The docloader object maintains a pointer to an nsILoadAttribs interface. M webshell/src/nsWebShell.cpp Implemented new LoadURL() routine. Simple pass down to doc loader of PRUint32. M webshell/tests/ComFactory/makefile.win Added netlib to the list of prerequisites. |
||
---|---|---|
.. | ||
TestCOMFactory.cpp | ||
makefile.win |