Commit Graph

661 Commits

Author SHA1 Message Date
Mook
7909cef9dc Bug 481311 - nsIResProtocolHandler.idl shouldn't #include nsAString.h. r=bsmedberg 2009-03-08 10:21:38 +01:00
Bryan McQuade
95c153363f Bug 481612 - Should send activity distributor notifications also for STATUS_RECEIVING_FROM
r+sr=biesi
2009-03-05 19:47:01 +01:00
Chris Double
7a0ea88deb Backed out changeset 98381f8c8e08 due to test failure 2009-03-05 23:19:14 +13:00
Dan Witte
1fa46a3004 change cookie eviction so that purges only take place when the limit on max cookies is reached, and the oldest cookie is greater than a set age. b=444600, r=sdwilsh,
sr=mconnor.
2009-03-04 22:11:24 -08:00
Mark Banner
01f4953309 Bug 480324 Link state detection on Mac OS X not always working (offline, auto detect). r=dcamp,jduell.mcbugs,sr=jst 2009-02-28 09:53:45 +00:00
Jeff Walden
273325e9f8 Followup nitfix to bug 476302 that wasn't noticed when I reviewed the patch there 2009-02-27 15:57:07 -08:00
Ted Mielczarek
f953629314 bug 475178 - nsStandardURL::SetRef broken in Win32 PGO with new PGO input. r+sr=bz 2009-02-27 13:36:23 -05:00
Honza Bambas
6bf40c240c Bug 476302 - Allow httpd.js return multiple headers with same name, r=jwalden 2009-02-27 15:09:06 +01:00
Serge Gautherie
88ae9170e8 Merge for "Backed out changeset: fe7134fc65ec" of
Bug 465158 - Minefield Nightly fails to initiate dial-up login when using internet connection sharing; r=cbiesinger
which is suspected of perf regression: see bug 480464.
2009-02-27 05:52:03 +01:00
Serge Gautherie
a738c2ca74 Backed out changeset: fe7134fc65ec 2009-02-27 05:50:12 +01:00
Honza Bambas
60579fc675 Bug 474038 - Don't reuse keep-alive connections for both anonymous and non-anonymous requests; r=(cbiesinger + jonas) sr=jonas 2009-02-26 18:43:45 +01:00
Honza Bambas
b84acde538 Bug 465158 - Minefield Nightly fails to initiate dial-up login when using internet connection sharing; r=cbiesinger 2009-02-26 18:25:09 +01:00
Serge Gautherie
1559e80045 Backed out changeset: 08b98b9b0868 2009-02-25 16:46:51 +01:00
Koen Deforche
e64eff0388 Bug 479016 - ftp fails opening PASV data connection over socks with remote dns resolution enabled; r=bzbarsky sr=cbiesinger 2009-02-25 16:25:06 +01:00
Dave Camp
fbbee40aa1 Bug 471227 - revert debug spew for now. 2009-02-25 01:03:13 -08:00
Dave Camp
1a8ea997f1 Bug 471227 - More debug spew. 2009-02-24 23:12:13 -08:00
Jonas Sicking
fea9eede61 Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00
Jonas Sicking
b2248a4405 Backed out changeset 4130ff1e52f3 (bug 479521) due to test failures. 2009-02-24 15:38:40 -08:00
Jonas Sicking
ca2acd2b73 Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00
Boris Zbarsky
7fa0e0359a Fixing comments to match reality. No bug. 2009-02-23 15:59:26 -05:00
Michal Novotny
5e7c0ee5dd Bug 474434 - Active ftp sessions are not closed when clearing recent history; r=bzbarsky sr=cbiesinger 2009-02-23 19:28:17 +01:00
Arpad Borsos
70846f9fab Bug 474369 - get rid of nsVoidArray; netwerk part, v2; r=cbiesinger 2009-02-23 02:05:28 +01:00
Dave Camp
012f4eb5be Bug 477748 - app cache chooses namespaces in the wrong order. r=honzab, sr=bz 2009-02-22 11:09:10 -08:00
Dave Camp
cfb033a33d Bug 442810 - update ui for app cache changes. r=gavin, r=honzab, sr=bz 2009-02-22 11:09:10 -08:00
Dave Camp
1278a3978f Bug 470274 - Firefox cannot visit any websites when waking from sleep. r+sr=bz 2009-02-22 11:09:09 -08:00
Ehsan Akhgari
65a92bc6a8 Bug 475141 - Create a C++ wrapper for the private browsing service for Firefox 3.1; r+sr=mconnor 2009-02-22 18:21:52 +03:30
Michal Novotny
101b019764 Bug 386167 - firefox doesn't show login/password form when connecting to ftp server with anonymous accounts disabled; r+sr=bzbarsky 2009-02-21 03:09:18 +01:00
Jason Duell
8fbc5ad91e Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
L. David Baron
671f598185 Backed out changeset 4bd7dd7645c2 (Bug 474536) 2009-02-19 12:37:53 -08:00
Jason Duell
8c27d27270 Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
Michal Novotny
0600b3ffaa Bug 321361 - Cache corruption when viewing sites with several large images; r=dcamp sr=bzbarsky 2009-02-19 18:23:21 +01:00
Michal Novotny
af52655c11 Bug 448141 - Unable to open file with special characters in file:// ftp:// listing (";", semicolon, in file name); r+sr=bzbarsky 2009-02-19 18:23:19 +01:00
Boris Zbarsky
efc7569cec Backed out changeset dcb3aa2fd0ab to see whether this fixes unit test bustage 2009-02-19 09:14:36 -05:00
Ehsan Akhgari
7ac7fefe4f Bug 475141 - Create a C++ wrapper for the private browsing service for Firefox 3.1; r+sr=mconnor 2009-02-19 09:22:08 +03:30
Honza Bambas
69fd52a1e3 Bug 474696 - Process fallbacks on out-of-domain redirects, r=dcamp 2009-02-18 14:31:32 +01:00
Honza Bambas
5e815989ba Bug 468443 - Remove PUT/DELETE support from httpd.js, r=jwalden 2009-02-18 14:31:30 +01:00
bjarne@runitsoft.com
244d9431fc Bug 466080 - Make more things honor the LOAD_ANONYMOUS flag r=sicking,MisterSSL, sr=sicking 2009-02-17 14:06:52 -08:00
Boris Zbarsky
ac1ce67cea Bug 455367. Don't just assume that all image loads get data; ask imagelib instead. r=kaie, r=joedrew, sr=jst 2009-02-16 09:11:30 -05:00
Ehsan Akhgari
49edf7e991 Bug 348233 - FTP and Gopher index pages are LTR always; r+sr=bzbarsky 2009-02-15 10:51:04 +03:30
Michal Novotny
bfa4969899 Bug 449198 - http-on-examine-response isn't fired when a response comes from the cache; r=bzbarsky sr=cbiesinger 2009-02-12 05:16:00 +01:00
Dave Camp
3aeaf47c13 Bug 477666: namespaces broken after an appcache update. r=honzab, sr=bz 2009-02-09 22:40:40 -08:00
Patrick McManus
840be56e49 Bug 454990. On Windows, increase the size of our TCP send window to 128KB, from the default of 8KB. The value is already 128KB on other OSes, and it appears that other browsers on Windows change the default in the same way. r=jduell, r+sr=bzbarsky. 2009-02-09 12:31:44 -05:00
Jeff Walden
5ab2f999de Bug 471158 - Add getSharedState/setSharedState functionality to SJS, convert existing state to per-path state. r=honzab
--HG--
rename : netwerk/test/httpserver/test/data/sjs/state.sjs => netwerk/test/httpserver/test/data/sjs/state2.sjs
2009-02-04 11:08:03 -08:00
Dan Witte
a9d88e1379 delete corrupt cookies.sqlite on startup so the user doesn't have to. b=470578, r=sdwilsh, sr=mconnor 2009-02-03 19:26:59 -08:00
Dan Witte
0bf164f8a4 bump cookie limit from 1000 to 3000 to reduce occurrence of cookie purges. b=444600, r+sr=mconnor. 2009-02-03 19:11:33 -08:00
Jonas Sicking
be65469e7c Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Peter Van der Beken
bedc63e082 Merge backout 2009-01-22 14:53:06 +01:00
Peter Van der Beken
533783d9ea Backed out changeset 9fc993ac4427 (Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz) to fix orange. 2009-01-22 14:52:34 +01:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
8759b06c00 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Jonas Sicking
e0c26b7454 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Jonas Sicking
5b04c277ae Backed out changeset 2063e342b8e1 due to failing docshell tests 2009-01-21 18:07:29 -08:00
Jonas Sicking
e7e7213705 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Chris Pearce
dd26dee475 Bug 463830. Use the video file name as the window title for standalone video objects, for now. r+sr=roc,r+sr=bzbarsky
--HG--
extra : rebase_source : b9ee2200c86a0c3fa06cdb163a39a183aa313380
2009-01-16 22:07:26 +13:00
Chris Pearce
dab0d6b3f3 Bug 469446. Necko should be able to cache byte-range requests when the start offset is zero. Then we can make our initial video load a byte-range request to detect whether the server supports byte-range requests, and the video data can still be cached. r=doublec,sr=roc,r=bzbarsky
--HG--
extra : rebase_source : acec408274be2b770b5f1936b4f915ef1bafa60b
2009-01-16 21:22:08 +13:00
Phil Ringnalda
4d8777d31a Bug 243621 - (Back out) Standardize QueryInterface without throw, r=timeless, sr=sicking 2009-01-15 20:02:21 -08:00
Curtis Bartley
ede8f563d6 View Source Linkification should only linkify "safe" URLs. p=cbartley, r=mrbkap, sr=bzbarsky, b=467852 2009-01-15 15:07:53 -05:00
Mark Banner
489f8ec766 Bug 472824 promptPassword should unescape user names before use. r=dolkse,sr=mconnor 2009-01-15 13:16:34 +00:00
Patrick McManus
47618549c5 Bug 467562. Fix race between the timeout on our DNS thread waits and signals to those threads that could cause DNS requests to go AWOL every so often. r+sr=bzbarsky 2009-01-14 12:18:27 -05:00
Jonas Sicking
2fe71d8086 Backed out changeset 03bc3379822a 2009-01-14 00:59:52 -08:00
bjarne@runitsoft.com
bd9db67c3e Bug 466080 - Make more things honor the LOAD_ANONYMOUS flag r=sicking,MisterSSL, sr=sicking 2009-01-13 23:06:39 -08:00
Dave Camp
c5cf52ea8a Bug 463046: Network connectivity checking breaks running netwerk unit tests and mochitests with no connection. r=bz, r=jwalden 2009-01-12 21:52:00 -08:00
Daniel Veditz
2fb50e2eb6 Fixing bug 451613. URL parsing treats leading whitespace inconsistently. r=jst@mozilla.org 2009-01-12 17:02:07 -08:00
Boris Zbarsky
b379daa1a1 Bug 464956. Make .desktop files report a redirect not of type REDIRECT_INTERNAL so that we can use that type to detect redirects not under the control of the target resource. r+sr=biesi 2009-01-12 10:40:44 -05:00
Jeff Walden
6ff11cc4e7 Bug 381598 - HTTP server tests cleanup, round two. r=me because the old tests are difficult to understand and it's not worth making someone read them to do a review 2008-12-18 11:05:40 -08:00
Robert O'Callahan
3b9e8dca75 Backed out changeset b873bd70913f
--HG--
extra : rebase_source : 5edfb17304688d81579eca39df35f1a71f622f62
2008-12-18 23:16:09 +13:00
Chris Pearce
5d0abd204d Bug 463830. Make the window title for standalone video/audio documents be useful. r+sr=roc
--HG--
extra : rebase_source : afeb3c793fb8756901ee6ef16782f3a288ed106c
2008-12-18 21:07:24 +13:00
Jeff Walden
3832d15fae Bug 381598 - HTTP server tests cleanup. r=me because I don't think it's a good use of anyone's time to disentangle the tests as they were written prior to this checkin 2008-12-15 21:02:41 -08:00
Jeff Walden
b221abac7a Bug 465921 - httpd.js fails to deliver after about 35 reloads of test_seek1.html, most likely because the connection is being prematurely terminated by the client. r=bz 2008-12-15 21:02:40 -08:00
Boris Zbarsky
068f0d455b Adding a test for stream copier 2008-12-15 11:58:08 -05:00
Gavin Sharp
aeb47c5a4c Bug 469528: add comments specifying units used for various cache capacities, r+sr=biesi 2008-12-14 21:57:24 -08:00
Jeff Walden
33fffe4388 Followup nitfix from review comment, bumping iteration count up one to 'fail' more places if a regression happens. 2008-12-12 11:43:51 -08:00
Jeff Walden
a91717aa17 Bug 468467 - If onInputStreamReady doesn't process all of the Request-Line the first time, httpd.js asserts. r=honzab 2008-12-12 11:31:30 -08:00
Dave Camp
1f1b980ffe Bug 441751 - "Directives not to cache pages ignored." [r+sr=bzbarsky]
* * *
Bug 441751 - "Directives not to cache pages ignored." (fix for offline cache updating) [r+sr=bzbarsky]
2008-12-11 21:57:47 -08:00
Dan Witte
e738a8d1e4 bug 468744 - finalize sqlite statements before closing db to avoid sqlite warnings; r=sdwilsh 2008-12-10 15:54:57 -08:00
Shawn Wilsher
bf0e65a35b Bug 466582 - smarter handling of remote chrome (and not allowing it)
This adds a new flag, URI_IS_LOCAL_RESOURCE, to nsIProtocolHandler that allows
something of this protocol to be registered in chrome.

This changeset removes a runtime check every time we open a chrome channel to
see if it is remote to a registration time check that checks flags.  The old
code could be easily worked around, and allowed for remote resources to be used.

r=bsmedberg
r=bz
sr=bz
2008-12-09 16:27:42 -05:00
Dave Camp
30b213c23a Backed out changeset e33f490c8764 2008-12-08 20:26:56 -08:00
Dave Camp
06a2be6538 Bug 441751: Fix up LOAD_ONLY_FROM_CACHE. r+sr=bz 2008-12-08 19:24:33 -08:00
Shawn Wilsher
6ea17d3edc Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher
52fa025019 Bug 466582 - smarter handling of remote chrome (and not allowing it)
r=bsmedberg, r=bz, sr=bz
2008-12-08 17:14:14 -05:00
Masatoshi Kimura
a682e0d618 Bug 335531 - Correct misuse of UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE charset labels; r=smontagu sr=dbaron 2008-12-06 11:08:26 -08:00
Masahiro Yamada
2623c93663 Bug 464162 - Apache does not accept IPv6 addresses with a scope id in the Host: header; r+sr=cbiesinger 2008-12-06 14:15:24 +01:00
Patrick McManus
36e0dca600 Bug 464838: Tweak DNS prefetch to hopefully fix a tp3 regression. r+sr=bz 2008-12-05 12:53:24 -08:00
Daniel Holbert
03c259e522 Backed out changeset 78d662c2c878 (Bug 335531) on suspicion of causing mochitest failures in test_bug399284.html on linux & windows unittest boxes. 2008-12-05 11:52:01 -08:00
Masatoshi Kimura
2171389689 Bug 335531 - Correct misuse of "UTF-16BE", "UTF-16LE", "UTF-32BE", and "UTF-32LE" charset labels; r=smontagu sr=dbaron 2008-12-05 18:31:00 +01:00
Arpad Borsos
c1c477b539 Bug 462438 - kill MOZ_PROFILESHARING and MOZ_IPCD; build system cleanup + removes, v2; r+sr=benjamin 2008-12-04 15:37:37 +01:00
Jeff Walden
7324e8cab7 Bug 463327 - Enable stateful SJS handlers somehow other than through universal insta-XSS. r=honzab 2008-12-03 22:24:59 -08:00
Ehsan Akhgari
f6339a1187 Bug 462707 - nsHttpChannel::GetEntityID should respect Accept-Ranges response header; r,sr=biesi a191=beltzner 2008-11-28 15:28:57 -08:00
Boris Zbarsky
586f905b27 Fixing test to test the right thing 2008-11-25 22:32:12 -05:00
Boris Zbarsky
e801383a04 Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking 2008-11-25 20:50:04 -05:00
Jesse Ruderman
e9a81a3451 Remove line breaks from end of assertion messages 2008-11-19 15:15:35 -08:00
Honza Bambas
ef5df62b77 Bug 454381: Minefield Nightly brings up Dial-Up Login if a website is unavailable. r=biesi, sr=bsmedberg, a1.9.1b2=beltzner 2008-11-13 15:38:02 +00:00
David Triendl
80d990d03e Bug 460776. Add 'nhs.uk' as an exception to the effective TLD list. r=gerv, a=beltzner 2008-11-11 22:38:49 -05:00
Patrick McManus
92f594cb63 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky, a=beltzner 2008-11-07 18:00:26 -05:00
Jeff Walden
9ba0796b8f Bug 463254 - httpd.js fails on mac when running test_CrossSiteXHR.html. The problem was that exceptions were causing files not to be closed on OS X, and we were hitting the open-file limit; add some try-finally magic to close in a failsafe manner. r=honzab 2008-11-06 12:44:27 -08:00
Honza Bambas
6a4c010622 Bug 460328: Make online whitelist entries match by prefix. r=dcamp, sr=biesi 2008-11-05 16:01:08 -08:00
Honza Bambas
c8fedd2705 Bug 461325: Cache implicit entries when the manifest is not changed. r=dcamp, sr=biesi 2008-11-05 16:01:08 -08:00
Honza Bambas
d82181a981 Bug 460353: app caches should be per iframe, not per toplevel browsing context. r=dcamp, r+sr=jst 2008-11-05 16:01:07 -08:00
Jeff Walden
060e9f580e Bug 462864 - Expose request body as a stream, state-machine refactoring in httpd.js. r=honzab 2008-11-05 15:31:30 -08:00
Justin Dolske
b851587e76 Investigating leaks in bug 463263, backout bug 453403. 2008-11-05 12:55:38 -08:00