a=brendan
bug=49525
This simple fix just adds parameters to an existing method in an XPCOM
safe way, by defining a new method at the end of the interface
definition with the additional parameters.
Original method:
NS_IMETHOD
GetURL(nsISupports* pluginInst,
const char* url,
const char* target = NULL,
nsIPluginStreamListener* streamListener = NULL,
const char* altHost = NULL,
const char* referrer = NULL,
PRBool forceJSEnabled = PR_FALSE) = 0;
New method:
NS_IMETHOD
GetURLWithHeaders(nsISupports* pluginInst,
const char* url,
const char* target = NULL,
nsIPluginStreamListener* streamListener = NULL,
const char* altHost = NULL,
const char* referrer = NULL,
PRBool forceJSEnabled = PR_FALSE,
PRUint32 getHeadersLength = 0,
const char* getHeaders = NULL) = 0;
I have modified nsPluginHostImpl.h to include this new method, and
modified nsPluginHostImpl.cpp so that its GetURL calls GetURLWithHeaders
with null values for the last two params.
M modules/plugin/public/nsIPluginManager.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginHostImpl.h
git-svn-id: svn://10.0.0.236/trunk@79207 18797224-902f-48f8-a5cc-f745e15eee43
+ Added dummy function to all users of nsIWebProgressListener
+ Added new security event sink.
+ Hooked up new event sink to docloader and friends.
+ Fixed memory leaks and crashes in nsSecureBrowserImpl.
+ Added AlertPrompt to nsIPrompt Interface.
+ Enabling xpcom test on unix.
Fixes bug 46872. r=valeski/rpotts
git-svn-id: svn://10.0.0.236/trunk@79206 18797224-902f-48f8-a5cc-f745e15eee43
r=mkaply, a=brendan
Code from samake - report locale to current and to use OS, not c runtime
git-svn-id: svn://10.0.0.236/trunk@79205 18797224-902f-48f8-a5cc-f745e15eee43
r=nhotta, a=brendan
Code from samake - report locale to current and to use OS, not c runtime
git-svn-id: svn://10.0.0.236/trunk@79203 18797224-902f-48f8-a5cc-f745e15eee43
r=rmkaply, a=brendan
Code from jkobal - step one of bring nsWindow current
git-svn-id: svn://10.0.0.236/trunk@79200 18797224-902f-48f8-a5cc-f745e15eee43
packaging up a zero length menu.css file and referencing it.
r=nbhatla,mscott
git-svn-id: svn://10.0.0.236/trunk@79198 18797224-902f-48f8-a5cc-f745e15eee43
- Remove temporary call to SetInitialValue() in CreateAnonymousContent().
- Move all calls to SetInitialValue() out from under the 'if' statement
they were under. This will make sure that it gets called at least
once since there are times when GetPrefSize() and Reflow() are not
called during the initial reflow.
r=mjudge@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79192 18797224-902f-48f8-a5cc-f745e15eee43
mozilla/mailnews/compose/nsMsgCompose.cpp
- Scroll the selection into view after all the reply text
is inserted and the caret is positioned.
mozilla/editor/base/nsHTMLEditor.cpp
- Added nsAutoEditBatch variable to InsertBreak() to make
sure that we reflow before returning. Without this fix,
apps like MsgCompose will not be able to scroll the
selection properly.
r=jfrancis@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79191 18797224-902f-48f8-a5cc-f745e15eee43
modules work for ListCerts and ListKeys. Allow password from file for these
options as well.
git-svn-id: svn://10.0.0.236/trunk@79180 18797224-902f-48f8-a5cc-f745e15eee43
gets called twice. this was causing the frame src to be set twice
which was interrupting the file loading from the JAR. r=alecf,putterman
git-svn-id: svn://10.0.0.236/trunk@79169 18797224-902f-48f8-a5cc-f745e15eee43