mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
757fe3cde1
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 |