зеркало из https://github.com/mozilla/pjs.git
7055c7a60f
a=waterson bug=51919 This fix makes it so nsIPluginManager::PostURL() works correctly in the case of a null target and non-null streamListener. The fix was to add parameters to NewPluginURLStream() for headers and post data: NS_IMETHOD - NewPluginURLStream(const nsString& aURL, nsIPluginInstance *aInstance, nsIPluginStreamListener *aListener); + NewPluginURLStream(const nsString& aURL, nsIPluginInstance *aInstance, + nsIPluginStreamListener *aListener, + void *aPostData = nsnull, PRUint32 aPostDataLen = 0, + const char *aHeadersData = nsnull, + PRUint32 aHeadersDataLen = 0); And to add a new method to correctly send the headers to the channel: + NS_IMETHOD + AddHeadersToChannel(const char *aHeadersData, PRUint32 aHeadersDataLen, + nsIChannel *aGenericChannel); Files in this fix: M modules/plugin/nglsrc/nsPluginHostImpl.cpp M modules/plugin/nglsrc/nsPluginHostImpl.h |
||
---|---|---|
.. | ||
appfilelocprovider | ||
calendar | ||
coreincl | ||
edtplug | ||
fullsoft | ||
libfont | ||
libhook | ||
libimg | ||
libjar | ||
libnls/headers | ||
libpref | ||
libreg | ||
libtest | ||
libutil | ||
oji | ||
plugin | ||
progress | ||
rdf | ||
schedulr | ||
security | ||
softupdt | ||
xml | ||
zlib | ||
Makefile | ||
Makefile.in | ||
makefile.win |