Boris Zbarsky
c684aeb137
Moving closing paren to make it clearer what the logic really is and removing redundant comment. No behavior change.
2008-10-22 22:11:40 -04:00
dolske@mozilla.com
59fafa0671
Bug 299372 - Content-Disposition headers no longer looked at for Save Link As filename. original-patch=dmose, r=mconnor, r=biesi, a=blocking-ff3+
2008-04-02 20:02:08 -07:00
vladimir@pobox.com
ddb55e3265
backing out patch for bug 299372 for b4, as per bug 420481
2008-03-02 23:31:37 -08:00
dmose@mozilla.org
a0abc6c77c
Use Content-Disposition headers for "Save Link As", when available (bug 299372); r=mconnor (browser bits), r/sr=biesi (uriloader bits), ui-r=beltzner, a1.9b4=beltzner
2008-02-29 15:59:20 -08:00
bzbarsky@mit.edu
4c52c17775
Put our load into the newly-created loadgroup when we go and create one. Bug 383961, r+sr=biesi, a=bzbarsky
2007-08-23 10:37:40 -07:00
bzbarsky@mit.edu
57b1b90f4d
Make <object> do the same text/plain sniffing that <iframe> does, and use the content type hint if the type comes back as application/octet-stream or sniffed-binary. Bug 389677, r+sr=biesi, a=sicking
2007-08-20 20:26:12 -07:00
cbiesinger@gmx.at
0fdb87f45b
Bug 382113 make sure to add the request to the new loadgroup before removing it
...
from the old one so that onload doesn't fire before it should
Also make nsLoadGroup::AddRequest assert that the request isn't in the loadgroup yet
Finally, reenable the reftest that tests the <object> onload behaviour
r+sr=bz
2007-07-18 14:37:39 -07:00
bzbarsky%mit.edu
9468056c63
Make javascript: URI execution asynchronous. Bug 351633, r=jst, sr=biesi
2006-10-17 00:55:14 +00:00
timeless%mozdev.org
27eaab5dcd
Bug 337917 Make consumers stop using cids from other modules
2006-06-18 21:18:22 +00:00
cbiesinger%web.de
24dd26fae9
bug 336108 add OOM check. r+sr+a=bz
2006-05-01 18:36:30 +00:00
bzbarsky%mit.edu
c01799ad25
Don't go out to the helper app service if we're dealing with an error page.
...
Bug 312727, r=biesi, sr=darin
2006-04-27 18:00:36 +00:00
cbiesinger%web.de
463712374b
bug 321932 r=bz sr=darin
...
Better handle the case where channels don't implement isPending correctly
2006-01-28 14:06:31 +00:00
cbiesinger%web.de
9cfbb029a4
309525 add a method to nsIURILoader that accepts a (possibly already opened)
...
channel and returns a streamlistener for getting the data. Add a flag
DONT_RETARGET for ensuring that content will load in a specific docshell or not
at all.
Also, fix nsChromeProtocolHandler to correctly implement IsPending.
r=bz sr=darin
2005-12-17 18:26:25 +00:00
bzbarsky%mit.edu
75124cd0f0
When doing text/plain sniffing, don't let the special MIME types we use for the
...
purpose leak out of the URILoader/exthandler combination. Bug 300027, r=biesi,
sr=darin, a=bsmedberg
2005-07-13 16:48:01 +00:00
darin%meer.net
548e42a51f
fixes bug 276720 "HTTP 204/205 responses should not cause STATE_TRANSFERRING events to be synthesized" r=biesi sr=bz
2005-02-12 00:40:46 +00:00
bzbarsky%mit.edu
55ab8dd119
Make docshell inherit from docloader; clean up related code, move toward
...
eliminating the nsIWebShell, nsIWebShellContainer, nsIDocumentLoader
interfaces and clarifying the other docshell-related interfaces.
r=darin, biesi, sr=jst
2004-12-08 17:32:06 +00:00
bzbarsky%mit.edu
f119e6962c
Only sniff text/plain types if the channel says it's still text/plain (this may
...
be changed after the header is parsed by other components, eg ones listening to
HTTP notifications). Bug 273306, r=biesi, sr=darin
2004-12-07 00:27:50 +00:00
bzbarsky%mit.edu
741545d0bf
Treat an empty disposition string the same as it not being set. Bug 272541,
...
r=biesi, sr=darin
2004-12-04 17:46:49 +00:00
jshin%mailaps.org
da3ad9140c
bug 267475 Clicking links to JPEG file with Chinese name download the file instead of displaying it in browser r=cbie, sr=bz
2004-11-07 02:22:55 +00:00
cbiesinger%web.de
281c8602e1
Bug 234257 nsIDocumentLoader/nsDocLoader misc cleanup
...
r=bz sr=darin
2004-09-28 20:48:58 +00:00
darin%meer.net
bb70f70378
landing additional patch for bug 257308 "Visual indicators of site security appear for the wrong site" r=biesi sr=bz
2004-09-17 20:33:25 +00:00
cbiesinger%web.de
6263ab98d2
bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
...
r+sr=darin
2004-06-29 16:45:07 +00:00
roc+%cs.cmu.edu
0f4150a4e5
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
0e3ff503fb
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
gerv%gerv.net
f7f3cb2736
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 16:52:41 +00:00
cbiesinger%web.de
f028ea412d
bug 239604. make uriloader more doxygen friendly, and remove unused "command"
...
parameter from nsIContentHandler::handleContent, and change the type of
aWindowContext to nsIInterfaceRequestor.
r=bzbarsky sr=darin
2004-04-16 21:06:07 +00:00
cbiesinger%web.de
14177dedcb
Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
...
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
bzbarsky%mit.edu
5351f884f1
Temporarily disable type-guessing for content-encoded text/plain content. Bug
...
233047, r=biesi, sr=darin, a=chofmann
2004-03-15 02:00:15 +00:00
jst%mozilla.jstenback.com
90431d8022
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
bzbarsky%mit.edu
6ccc20cdbe
Work around misconfiguration in default Apache installs that makes it claim all
...
sorts of stuff as text/plain. Bug 220807, r=biesi, sr=darin
2004-01-08 03:56:02 +00:00
cbiesinger%web.de
94dbdd84e4
bug 229785 also allow "Content-Disposition: name=foo" headers, in addition to filename=foo
...
r=bzbarsky sr=darin
2004-01-07 20:23:46 +00:00
bzbarsky%mit.edu
e85e912e39
Add NSPR logging to content dispatch (not forced on in release builds; the
...
module is "URILoader"). Bug 223694, r=biesi, sr=darin
2003-10-30 02:03:41 +00:00
bzbarsky%mit.edu
9d0aeeab9d
Forgot to make these changes per biesi's review. Bug 171025.
2003-10-09 06:28:49 +00:00
bzbarsky%mit.edu
9d4af46a60
Move all URI dispatch code into nsDocumentOpenInfo. This lets us try other
...
content listeners if the first one we find fails, as well as letting us
gracefully handle failures to get content converters. Bug 171025, r=biesi,
sr=darin
2003-10-09 04:00:01 +00:00
bryner%brianryner.com
377bfd51dd
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-08 00:18:24 +00:00
cbiesinger%web.de
c4641b8725
188058 r=bzbarsky sr=darin When saving a .zip file "as...," Moz appends a .x after the .zip extension.
2003-07-01 14:16:06 +00:00
jshin%mailaps.org
bc9eb3ea37
bug 209513 : be generous to broken servers emiitng 'filename=...' without
...
specifying the dispositin type spec in Content-Disposition header.
(r/sr=bzbarsky)
2003-06-18 09:07:58 +00:00
jshin%mailaps.org
c1c5164316
wrapping up bug 162765 : r=cbiesinger, sr=bz : Make the disposition method
...
comparison use EqualsIgnoreCase without the 2nd argument (length) when
parsing Content-Disposition header in http
2003-06-13 21:46:07 +00:00
jshin%mailaps.org
eb93104d96
bug 167265 : add to necko Content-Disposition header handling per RFC 2231 (with
...
fallbacks to RFC 2047 and raw 8bit chars in |aOriginCharset| ) necessary for
i18nized filename support (when downloading files via http) :
r=cbiesinger, sr=alecf
2003-06-12 21:57:49 +00:00
bzbarsky%mit.edu
ca44279106
Clean up nsURILoader.cpp some. Better comments, more understandable code in
...
nsDocumentOpenInfo::DispatchContent, less confusing use of RetargetOutput
(which is now ConvertData). Bug 201618, r=darin, sr=sspitzer.
2003-04-12 03:36:53 +00:00
bzbarsky%mit.edu
a4cf9a723d
Removing unused openURIVia function. Bug 200223, r+sr=sspitzer.
2003-04-06 20:33:38 +00:00
suresh%netscape.com
0dd2d570e3
bug 49172 - Browser fails to respond correctly to a 205 (reset) status. r-dougt, sr-darin.
2003-03-19 23:55:12 +00:00
dbaron%dbaron.org
b9083989bb
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 23:19:20 +00:00
bzbarsky%mit.edu
0a0c68ca0b
more nsCOMArray goodness -- uriloader, this time. Bug 183656, r=timeless,
...
sr=rpotts
2002-12-11 00:15:19 +00:00
timeless%mozdev.org
b2b5ce1025
Bug 183623 malformed for loop results in infinite loop in [@ nsURILoader::DispatchContent]
...
r=bz sr=darin a=asa
2002-12-05 21:44:28 +00:00
bzbarsky%mit.edu
e3273e17d0
Any disposition that's not "inline" should be treated as "attachment".
...
Bug 172003, r=bbaetz, sr=rpotts
2002-11-13 21:17:40 +00:00
scc%mozilla.org
593c4835df
bug #167722 , patch by Donnie Cranford, r=gisburn, sr=scc; ports bustage,
...
must include "nsReadableUtils.h"
2002-09-27 01:30:04 +00:00
rpotts%netscape.com
dc675a9675
bug #169583 (r=jst, sr=darin) URILoader should allow nsIContentHandler::DoContent() to fail...
2002-09-24 19:53:43 +00:00
bzbarsky%mit.edu
98dea7435c
Honor content-disposition: attachment even when it's set on content we
...
can handle internally. Bug 98360, r=law,rpotts, sr=darin. Correct
whitespace this time.
2002-09-03 22:00:22 +00:00
bzbarsky%mit.edu
a8e1beb0d2
doh. Wrong patch version (-w). backing it out and fixing the whitespace...
2002-09-03 21:47:44 +00:00
bzbarsky%mit.edu
371890dd60
Honor content-disposition: attachment even when it's set on content we
...
can handle internally. Bug 98360, r=law,rpotts, sr=darin
2002-09-03 21:46:25 +00:00
dougt%netscape.com
c683a217ab
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
2002-05-15 18:55:21 +00:00
darin%netscape.com
9fbd1028d6
b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
2002-03-20 22:50:33 +00:00
bzbarsky%mit.edu
17030cc1da
Make it possible to save parts of multipart streams. Bug 117958, patch
...
by rpotts@netscape.com , r=bzbarsky, sr=darin, a=asa
2002-03-07 20:57:55 +00:00
rpotts%netscape.com
3fd1f474e4
Backing out the patch for bug #120113 . To clear smoketest blocker...
2002-01-16 19:01:43 +00:00
rpotts%netscape.com
6e4b22e068
bugscape #11602 . Embedding clients were unable to render data if no content-type was available... This is a temporary patch that will be replaced with a correct fix soon...
2002-01-15 02:41:05 +00:00
kaie%netscape.com
7ae25bdb4b
b=109777 Make sure certificate downloading works immediately
...
r=javi sr=mscott
2001-11-30 00:07:13 +00:00
rpotts%netscape.com
09cb09c5cf
bug #106558 (r=darin) again! make sure that all initial stream errors prevent the creation of a content viewer!
2001-11-13 07:47:22 +00:00
blizzard%redhat.com
7fcab3457c
back out rpotts' checkin for bug #106558 since it caused blocker bug #108869 . r=mscott
2001-11-07 19:56:27 +00:00
rpotts%netscape.com
141ebb9b14
bug #106558 (r=darin@netscape.com, sr=mscott@netscape.com) Do not call a consumers OnStartRequest() if an error has already occurred...
2001-11-07 04:50:35 +00:00
rpotts%netscape.com
ae53430684
bug #99627 (r=valeski@netscape.com, sr=mscott@netscpae.com). Freeze the nsIURIContentListener interface...
2001-10-27 02:52:39 +00:00
jaggernaut%netscape.com
66cbbb8a07
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
2001-10-25 03:49:28 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
blizzard%redhat.com
6003c43280
Fix bug #98600 . Handle the return of NS_ERROR_NO_CONTENT in the URI loader. mailto: urls shouldn't assert now. r=rpotts, sr=mscott
2001-09-08 04:58:59 +00:00
valeski%netscape.com
93959d48cc
r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
2001-09-05 21:28:38 +00:00
rpotts%netscape.com
f5ce40fc78
bug #96029 (r=valeski, sr=mscott) Loading cnn.com caused the sav-as dialog to appear...
2001-08-21 06:26:59 +00:00
javi%netscape.com
710ca72921
Fix for Bug 84336, Checking in for Kai Engert
...
r=bbaetz, sr=mscot
Check return value from GetResponseStatus so that if a lower layer
failed we don't deliver a blank page.
2001-08-01 22:52:42 +00:00
jaggernaut%netscape.com
e91f8a147e
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
5a6317b8a5
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
rpotts%netscape.com
bd79912193
bug #87370 (r=dougt sr=mscott). Allow OnStopRequest to be called multiple times (more multipart content) and make sure that OnStopRequest is called even if the channel load fails...
2001-06-29 03:09:59 +00:00
dougt%netscape.com
5d5f1e3826
Fixes 87370. This allows multiple onStopRequest. r=harishd@netscape.com, sr=mscott@netscape.com
2001-06-26 22:58:18 +00:00
rpotts%netscape.com
f02e84c4bb
bug #65777 (r=valeski, sr=mscott) - Window targeting fixes...
2001-05-14 02:16:27 +00:00
darin%netscape.com
b26d5adb54
Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann
2001-05-11 21:05:08 +00:00
jst%netscape.com
ea706038cf
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 17:42:36 +00:00
law%netscape.com
d56b479417
Bug 52454; fix lots of external app service bugs and enable new helper app dlg; r=pchen@netscape.com, sr=mscott@netscape.com
2001-05-03 21:24:36 +00:00
rpotts%netscape.com
a7c30069fd
Reverting to rev 1.72
2001-04-27 22:17:30 +00:00
rpotts%netscape.com
259fce8009
fix for bugs #55867 , 63529, 26295, 63247 (r=darin, valeski)
2001-04-27 21:05:52 +00:00
darin%netscape.com
9deb4986e3
Patch to finalize necko loadFlags and fix HTTP validation correctness w.r.t.
...
cache validation preferences and browsing via history. r=gagan,gordon.
Fixes several bugs that I would mention here if bugzilla weren't down ;-)
2001-04-14 02:02:19 +00:00
darin%netscape.com
00a7e27ee6
Necko API changes, bug 74221. r=valeski, sr=rpotts.
2001-04-10 06:01:08 +00:00
locka%iol.ie
082e014189
Updated GetTarget so windows are created if the named target cannot be found and for _new & _blank targets. b=72491, sr=mscott
2001-04-03 21:56:02 +00:00
alecf%netscape.com
fcaf601272
fix for bug 73640 - make uri loader support "true" weak references so we can implement them from JavaScript
...
sr=mscott
r=jag
2001-03-28 18:09:03 +00:00
timeless%mac.com
e76ccfd647
fix Bug 70989 Clean up lots of "shadows" and other common warnings
...
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
dougt%netscape.com
128f95aa9b
Relanding Necko Changes.
...
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.
This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.
r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
3d2d80d536
Back out dougt's channel changes
2001-02-12 03:14:23 +00:00
dougt%netscape.com
1b9ca82439
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
...
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.
This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.
The full details of the change on written up in the netlib newsgroup.
r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
mscott%netscape.com
2019b92f07
Bug #67598 --> we no longer need to invoke the ucth dialog here.
...
sr=sspitzer
2001-02-07 02:44:09 +00:00
locka%iol.ie
06506207df
Added code to create a new window for _blank, _new targets before URI loader tries to push content into it and fails. sr=mscott@netscape.com b=41241
2001-02-05 10:50:33 +00:00
pollmann%netscape.com
8911ee3487
Bug 13871: Frameset spoofing - cleanup unneeded DOM interface. r=jst, sr=vidur
2000-10-24 04:35:25 +00:00
pollmann%netscape.com
3da7c0c668
Bug 13871: Prevent frameset spoofing r=mstoltz, sr=mscott, a=rpotts
2000-10-19 10:25:49 +00:00
mscott%netscape.com
07637ef394
Bug #47636 --> add methods to convert back and forth between a nsIDocShellLoadTypeInfo
...
and a docshell load tye. Unify nsIURILoadCommand and nsIDocShellLoadType enums so they
can be treated as the same type. This allows the uriloader to pass the correct load info
from the docshell that originates the load over to the docshell that actually
ends up loading the url.
r=radha, sr=rpotts
2000-10-11 23:14:38 +00:00
mscott%netscape.com
7cb10d986d
Bug #47203 --> force more code to use the helper app dialog.
...
sr=alecf,rpotts
2000-10-04 06:53:52 +00:00
rayw%netscape.com
0257791053
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
mscott%netscape.com
91c59f8553
Fix unix breakge by using .get()
2000-09-01 23:07:57 +00:00
mscott%netscape.com
14371bacb4
Bug #47365 --> set the retargeting URL flag when we are retargeting to another window
...
r=radha
2000-09-01 22:28:37 +00:00
vidur%netscape.com
e153192875
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
heikki%netscape.com
418d0168ea
Fixed bug 41772, if XLink target was XML file it never opened it in new window. r=jst.
2000-08-10 20:18:49 +00:00
mscott%netscape.com
2bdc7ded6d
Bug #41707 , #43652 --> JS urls aren't working. We need to check for the correct return value and don't propogate
...
the on start request in that case.
r=alecf
2000-07-07 02:23:19 +00:00
dougt%netscape.com
17461eaf11
Check for null. If a NS_EXTERNALHELPERAPPSERVICE_PROGID was not found,
...
crash would occur.
2000-06-27 21:43:17 +00:00
mscott%netscape.com
5ce6a320cc
Bug #38374 , 30157, 10802 --> turn on launching of helper applications to handle content types we don't know how to handle!!
...
turn on the ability to launch urls using OS default protocol handlers.
uri loader modifications to make open attachment possible.
r=sspitzer
2000-06-23 04:43:28 +00:00
rpotts%netscape.com
44dfb4b825
Reworked the nsIWebProgress interfaces and implementation...
2000-06-19 05:54:37 +00:00