Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
edburns%acm.org 757fe3cde1 r=av
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
2000-09-08 23:58:36 +00:00
README/mozilla
apache/gzip/src
build Adding dist/bin/components to LIBRARY_PATH as part of fix for BeOS shared lib loading. Bug #51658. Thanks to Justin Morey <justin@68k.org> for the patch. 2000-09-07 04:50:48 +00:00
calendar
caps bug 50304, adding "static" to security policy struct, should save some memory and time. r=rogerl 2000-09-07 19:03:23 +00:00
cck Adding customized UserAgent String to the Browser all-ns.js 2000-08-30 01:26:39 +00:00
chrome Use nsIDirectoryService instead of nsIFileLocations - bug #38626 r=hyatt 2000-09-07 13:06:28 +00:00
cmd
config moving regchrome target into rules.mak so it'll work from anywhere 2000-09-07 12:06:38 +00:00
content bug:13718: natural img dimens. pnunn, r:sfraser 2000-09-08 22:52:05 +00:00
db
dbm
directory Patch from <peter.vanderbeken@pandora.be> to keep LDAP building with the latest string changes. r=dmose@mozilla.org, a=(not built). 2000-09-06 01:25:19 +00:00
docshell Fixes for bugs 45989, 50509, r=ben,jrgm" 2000-09-08 08:04:53 +00:00
dom Fixing nsbeta3+ bug 45389. Adding support for window.location.assign('xxx');. r=nisheeth@netscape.com 2000-09-08 07:29:54 +00:00
editor Refinements to make Composer context menus work and remove unused entities, b=43307, r=akkana 2000-09-08 01:45:06 +00:00
ef
embedding remove call to unset session history object. a=brendan 2000-09-08 14:51:57 +00:00
expat Some compilers don't like C++ comments in C files. Changing to C comments. 2000-08-30 01:35:07 +00:00
extensions bug 51756, r=pinkerton, only pass in ONE 'security-button' DOM element 2000-09-07 23:36:06 +00:00
gc/boehm compressed stack crawls 2000-09-07 02:59:36 +00:00
gconfig
gfx 50188. removing release spammage 2000-09-08 23:21:08 +00:00
grendel
htmlparser fixed nsbeta3 bugs (crash and compatibility), an FMM, reduced memory usage. Top100+Regression tests ok. R=harishd/buster 2000-09-08 23:06:13 +00:00
include Removing unused/obsolete files. Not part of build. 2000-09-01 02:30:52 +00:00
intl Fix for bug #45356 and lots of clean-up. 2000-09-08 23:45:56 +00:00
java Add lib directory to -L line. 2000-08-24 23:03:34 +00:00
jpeg
js Comments and white-space cleanup. 2000-09-08 21:24:14 +00:00
js2 All JSValue constructors are explicit. 2000-09-08 01:16:03 +00:00
l10n 51193: Corrections and incorporationg first feedback from the ng. r=David 'Master_D' Krause (mostly), a=brendan. 2000-09-08 08:50:27 +00:00
layout Final part of fix for 13718 -- implement call through nsHTMLImageLoader to get natural dimensions. r=pnunn. 2000-09-08 23:36:29 +00:00
lib GC_mark_object. 2000-09-02 04:08:24 +00:00
mailnews Oops, commenting out some debug stuff from my last checkin. 2000-09-08 23:41:53 +00:00
modules r=av 2000-09-08 23:58:36 +00:00
msgsdk
mstone
netwerk Fix bug 35564 '[MLK] Potential nsIIOService Leak' - integrated Patrick's changes 2000-09-08 23:31:26 +00:00
network/protocol/http
nsprpub Bugzilla bug #30746: the primordial thread should wait for the timer 2000-09-01 18:26:28 +00:00
nunet
parser fixed nsbeta3 bugs (crash and compatibility), an FMM, reduced memory usage. Top100+Regression tests ok. R=harishd/buster 2000-09-08 23:06:13 +00:00
plugin/oji/MRJ Fixes for bug #49510. 2000-08-26 05:37:43 +00:00
privacy
profile 51193: Corrections and incorporationg first feedback from the ng. r=David 'Master_D' Krause (mostly), a=brendan. 2000-09-08 08:50:27 +00:00
rdf r=ben, same as prev checkin 2000-09-08 10:02:00 +00:00
security Sigh... let's compile this puppy before I check it in.... 2000-09-08 23:08:49 +00:00
silentdl
string not yet part of the build, this is the bulk of the work for the special parser strings 2000-09-08 23:54:23 +00:00
suite
sun-java
themes #46423 -> new modern skin. backing out changes to toolbar. workaround fix for #51768. navbar no longer accomodates larger fonts in urlbar. r=hewitt. 2000-09-08 23:43:40 +00:00
timer
tools New weekly data: not part of build. 2000-09-07 21:55:24 +00:00
tripledb
uriloader Bug #43556 --> register our nsIMIMEService implementation with a progid. 2000-09-08 00:17:34 +00:00
view Revert back to old loop construct for dispatching events which is safer when the event destroys the current view bug 50335 r=attinasi@netscape.com 2000-08-31 02:31:17 +00:00
wallet
webshell This was tested on win32, and is known to build on win32 and solaris. 2000-09-05 19:03:56 +00:00
webtools Fix for bug 51519: Links to index are too specific. Patch by 2000-09-07 06:31:12 +00:00
widget put nsFileWidget back. 2000-09-08 23:21:28 +00:00
xpcom not yet part of the build, this is the bulk of the work for the special parser strings 2000-09-08 23:54:23 +00:00
xpfc
xpfe Fix for bug #45356 & lots of clean-up. 2000-09-08 23:45:28 +00:00
xpinstall revamp chrome zipping to fix dev vs. release build problems, also support bugscape bug 2152. r=dveditz 2000-09-07 09:34:29 +00:00
.cvsignore
LEGAL
LICENSE
Makefile.in adding GARBAGE_DIRS variable for clobbers... so we can have core directories 2000-08-30 01:15:32 +00:00
aclocal.m4
allmakefiles.sh removing makefile that is no longer in the tree 2000-09-01 07:55:20 +00:00
client.mak revamp chrome zipping to fix dev vs. release build problems, also support bugscape bug 2152. r=dveditz 2000-09-07 09:34:29 +00:00
client.mk
configure Automated update 2000-09-01 21:30:08 +00:00
configure.in Every MKSHLIB_FORCE_ALL needs a MKSHLIB_UNFORCE_ALL. Should fix freebsd 2.2 bustage. 2000-09-01 21:16:36 +00:00
makefile.win moving regchrome target into rules.mak so it'll work from anywhere 2000-09-07 12:06:38 +00:00
nglayout.mac
nglayout.mk
trex.mak
trex.mk