Граф коммитов

155 Коммитов

Автор SHA1 Сообщение Дата
dolske@mozilla.com bd40f61468 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 3fc2502f62 backing out patch for bug 299372 for b4, as per bug 420481 2008-03-02 23:31:37 -08:00
dmose@mozilla.org 14e98bc2cb 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 b3f58b40e2 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 c337f354ba 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 0cbb53edf3 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
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
dolske%mozilla.com 3d81cc758c 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-03 03:02:10 +00:00
vladimir%pobox.com 37b9fcb183 backing out patch for bug 299372 for b4, as per bug 420481 2008-03-03 07:31:38 +00:00
dmose%mozilla.org a891d57fd8 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 23:59:20 +00:00
bzbarsky%mit.edu cf739cd0b4 Put our load into the newly-created loadgroup when we go and create one. Bug
383961, r+sr=biesi, a=bzbarsky
2007-08-23 17:37:40 +00:00
bzbarsky%mit.edu 6a6ea55213 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-21 03:26:13 +00:00
cbiesinger%gmx.at fecd6b7ed9 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 21:37:40 +00:00
bzbarsky%mit.edu 6f12b98f3f Make javascript: URI execution asynchronous. Bug 351633, r=jst, sr=biesi 2006-10-17 00:55:14 +00:00
timeless%mozdev.org 64a760c3c0 Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
cbiesinger%web.de a699bc0742 bug 336108 add OOM check. r+sr+a=bz 2006-05-01 18:36:30 +00:00
bzbarsky%mit.edu 1a39e02ebd 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 a12fe095b9 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 4fd815bd39 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 d044160f2a 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 62d24f34f6 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 194e16cd98 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 b59b9c3eb3 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 0c1dfb26c6 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 b40406da6b 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 f67b37e6c1 Bug 234257 nsIDocumentLoader/nsDocLoader misc cleanup
r=bz sr=darin
2004-09-28 20:48:58 +00:00
darin%meer.net 79280bb50d 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 accb367c14 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 52092297fe Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu b8ecbc84da Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
gerv%gerv.net aa835b77c5 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 16:52:41 +00:00
cbiesinger%web.de 3c212719bf 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 d4e1da55f3 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 7ea279539a 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 1804c4910c 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 f8f335cb15 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 fe5166ce4b 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 8ec2821c21 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 2fded71a76 Forgot to make these changes per biesi's review. Bug 171025. 2003-10-09 06:28:49 +00:00
bzbarsky%mit.edu c73fddfecd 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 20386efec4 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 a36fa1715d 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 f9136bcc62 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 aa8e010f17 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 ecc35790fe 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 c1beef340d 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 d384919a6d Removing unused openURIVia function. Bug 200223, r+sr=sspitzer. 2003-04-06 20:33:38 +00:00
suresh%netscape.com b7c8816e68 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 f2cd5e3e66 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 58278e9055 more nsCOMArray goodness -- uriloader, this time. Bug 183656, r=timeless,
sr=rpotts
2002-12-11 00:15:19 +00:00