Commit Graph

1746 Commits

Author SHA1 Message Date
edburns@acm.org
c05e057a42 This was tested on win32, and is known to build on win32 and solaris.
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders.  However, nothing is being done with
these parameters.  This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.

Important assumptions made by this fix:

* postHeadersLength is the correct length for postHeaders.

* postHeaders is a buffer of headers in the form

  "HeaderName: HeaderValue\r\n"

  each header, including the last, MUST be followed by "\r\n".

To affect this fix I had to modify the following files:

M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h

Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.
2000-09-05 19:03:56 +00:00
mscott@netscape.com
3b770b5446 Bug #32387,47365, 46331, 46338, 23734 --> reset the load type when we get a redirected url so it gets added to
session history properly. Only add to session history if the url resulted in document being
loaded.
r=radha
2000-09-01 22:34:19 +00:00
radha@netscape.com
5276c6d71a partial fix for 49498. r=nisheeth. 2000-09-01 21:29:48 +00:00
vidur@netscape.com
0a175de4e5 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
mstoltz@netscape.com
69b74db083 Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur 2000-08-31 05:53:32 +00:00
locka@iol.ie
98227cbd32 currentURI property removed from nsIDocShell. currentURI property changed to return nsIURI on nsIWebNavigation. b=46847, r=valeski, a=valeski 2000-08-30 11:32:30 +00:00
dp@netscape.com
4f6d5ae3b2 bug 41950 Getting correct url to get updated on redirect r=mscott 2000-08-29 03:28:30 +00:00
akkana@netscape.com
8f347ca810 23485: make it possible for urlbar to go to urls spanning multiple lines. r=jfrancis 2000-08-28 22:15:03 +00:00
locka@iol.ie
eceb4c06f4 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
mscott@netscape.com
785eaeb8d5 Bug #27048 --> implement nsIHTTPEventSink
r=valeski
2000-08-25 01:46:00 +00:00
ruslan@netscape.com
9466bdc792 Fix string buffer overrun - 50148 2000-08-24 22:15:32 +00:00
jst@netscape.com
3ba32f670e DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
scc@mozilla.org
52de051578 fixing code that relied on implicit string construction 2000-08-19 22:35:49 +00:00
radha@netscape.com
65dd4b0e3a Fix for bug # 47148. r=rpotts 2000-08-18 18:33:12 +00:00
jst@netscape.com
25ac75e072 Fixing nsbeta3+ bug 46190. Clicking on links that point to anchors with whitespace in them wasn't working... r=pollmann@netscape.com 2000-08-18 07:31:40 +00:00
av@netscape.com
4162caa758 Fixing 46490, r=sean, r=waterson, r=valeski, a=adamlock 2000-08-17 19:16:39 +00:00
hyatt@netscape.com
e89eed94b8 Fix for 32661, r=brendan 2000-08-16 23:57:03 +00:00
mstoltz@netscape.com
6c02862321 Fixed 37702 and 47670. r=vidur 2000-08-09 20:08:54 +00:00
mscott@netscape.com
dd6242700f Bug #1642 --> don't run JS urls with the default browser (effects shrimp only)
r=prass
2000-08-09 02:30:58 +00:00
saari@netscape.com
4d45b187d7 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
cata@netscape.com
bb26d8077f Fix for bug #37543, a=ftang, r=nhotta. 2000-08-05 00:07:03 +00:00
radha@netscape.com
dbbf10ce67 fixes related to bug # 18321. Checking in branch fixes to the trunk. r=nisheeth 2000-08-02 21:49:26 +00:00
warren@netscape.com
dc6e48adee Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
jst@netscape.com
75ad229c8e Fixing nsbeta2+ bug 45019, images didn't show up on document that were fully created with document.open(): document.write();... r=nisheet&rpotts 2000-07-21 23:44:38 +00:00
radha@netscape.com
9cedc935b2 Possible fix for 45297. r=pollmann 2000-07-18 22:24:27 +00:00
radha@netscape.com
90d0f08ace Fix for bug # 37324 r=rpotts 2000-07-18 21:55:37 +00:00
radha@netscape.com
e7ab5a2543 Fallout from previous checkin for bug # 45520. r=pollmann 2000-07-17 20:12:27 +00:00
radha@netscape.com
dd3b874cb2 Fix for 45297 r=pollmann 2000-07-14 22:42:33 +00:00
andreas.otte@primus-online.de
a9c13ba8d1 fix for bug 42342 [[regression] Text before ':' in URL is interpreted as protocol], we now try the www...com trick instead, not much better, but in alignment with our current fixup strategy, r=valeski@netscape.com, a=waterson@mozilla.org 2000-07-14 22:21:52 +00:00
radha@netscape.com
317c6afd52 fix for 44963.crash in SH while clicking in the throbber. r=rpotts@netscape.com 2000-07-14 21:06:20 +00:00
dougt@netscape.com
571c5403a5 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
mscott@netscape.com
b5ebcc620f Fix for Bug #41707 --> JS and data urls were not getting an owner set on them when they were entered from the urlbar. this
prevented them from getting executed properly. For now, we'll inherit the owner of the current document in these
two cases.
r=mstoltz
2000-07-12 05:06:28 +00:00
valeski@netscape.com
cd7fa0b06f r=mscott, 42505. somehow a switch enum was dropped from a previous checkin. 2000-07-11 15:00:59 +00:00
rpotts@netscape.com
90813f9029 More session history cleanup... Reorganizing the code and removing SH_IN_FRAMES ifdefs... (r=radha) 2000-07-08 05:17:49 +00:00
mscott@netscape.com
6404e4fba0 Bug #44568 -> don't fall out and not open the url if we failed to set the load
attributes on a channel. This broke mailto urls because the mailto channel
is just a stub and doesn't implement this method.
r=valeski
2000-07-07 21:43:16 +00:00
radha@netscape.com
3db9bee89f More changes regarding feature bug 36547 r=rpotts 2000-07-06 04:34:52 +00:00
rpotts@netscape.com
392807ddda Moved session history methods from nsIWebNavigation into a new interface called nsIDocShellHistory. Also made docshells persist layout state before being destroyed (this is necesssary for framesets). 2000-07-05 23:10:29 +00:00
dougt@netscape.com
b38580ab54 I am an idiot. 2000-07-04 22:08:41 +00:00
dougt@netscape.com
a1fbe803df 44113 r/a=valeski@netscape.com 2000-07-04 21:49:27 +00:00
valeski@netscape.com
4460d9d9f2 39474. r=rpotts,mscott. We now can load a stream directly into the uri loader (bypassing necko). built and pre-checkin tested on linux and win 2000-06-30 23:39:30 +00:00
rpotts@netscape.com
4660386ba0 Fixed the nsIWebNavigation methods on the docshell when SH_IN_FRAMES is defined... 2000-06-30 22:05:32 +00:00
radha@netscape.com
c64ec69b07 More code for feature 36547. CODE NOT PART OF THE BUILD. Will provide reviewer when
feature is enabled.
2000-06-29 21:48:18 +00:00
radha@netscape.com
ca1a2e25b8 More checkins for feature bug 36547. CODE NOT PART OF THE BUILD. reviewer will be provided
when feature is enabled.
2000-06-23 23:54:30 +00:00
mscott@netscape.com
3bb7831bfd Bug #30157 --> add the ability to launch urls using OS default protocol handlers. You must set a pref to
enable this behavior.
r=valeski
2000-06-23 04:44:36 +00:00
dbaron@fas.harvard.edu
700d5509ed Fix leak of an atom. r=waterson 2000-06-22 22:49:44 +00:00
locka@iol.ie
36d6e39265 Fix for incorrect cache checking. Checking in for Tomi.Leppikangas@oulu.fi
b=42505,r=adamlock
2000-06-22 14:18:03 +00:00
mscott@netscape.com
5095261d43 Bug #10802 --> expose load types to load info class so callers can set the load type
this is needed to implement things like open attachment so we can make the doc shell
think a user click happened when it talks to the uriloader.

I removed two boolean fields which were representing two load types. Simplified the api by allowing you
to pass in any of our load types.
r=valeski
2000-06-22 07:22:23 +00:00
rpotts@netscape.com
b03177ae34 DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer 2000-06-22 05:38:07 +00:00
radha@netscape.com
1d5392a635 More code for feature bug 36547. CODE NOT PART OF TEH BUILD. reviewer will be provided when the feature is enabled. 2000-06-22 05:36:13 +00:00
andreas.otte@primus-online.de
1ab6b0987e fix bug 42342, [regression} Text before ':' in URL is interpreted as protocol, r=Adam Lock, Scott Collins, a=Chris Waterson 2000-06-21 22:36:50 +00:00