Commit Graph

5970 Commits

Author SHA1 Message Date
Jeff Walden
a440d5c705 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
f4bcf684b5 Backed out changeset b873bd70913f
--HG--
extra : rebase_source : 5edfb17304688d81579eca39df35f1a71f622f62
2008-12-18 23:16:09 +13:00
Chris Pearce
fce9710b28 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
8b5c72c8ea 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
4a6ba4660c 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
c7890d578f Adding a test for stream copier 2008-12-15 11:58:08 -05:00
Gavin Sharp
9746c70909 Bug 469528: add comments specifying units used for various cache capacities, r+sr=biesi 2008-12-14 21:57:24 -08:00
Jeff Walden
4203eb7bc0 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
38cf48c5a5 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
9025de0ae1 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
c037bae33d bug 468744 - finalize sqlite statements before closing db to avoid sqlite warnings; r=sdwilsh 2008-12-10 15:54:57 -08:00
Shawn Wilsher
fe66178c10 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
e2c8a6aeec Backed out changeset e33f490c8764 2008-12-08 20:26:56 -08:00
Dave Camp
d567d66d3f Bug 441751: Fix up LOAD_ONLY_FROM_CACHE. r+sr=bz 2008-12-08 19:24:33 -08:00
Shawn Wilsher
205d129c10 Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher
2a28a8b2b1 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
3a3a37f47d 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
4e67eccab9 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
fe7a97a1a0 Bug 464838: Tweak DNS prefetch to hopefully fix a tp3 regression. r+sr=bz 2008-12-05 12:53:24 -08:00
Daniel Holbert
61f320aa9d 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
31c5df869e 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
094bbdd8f8 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
2208596029 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
41b2b72ecd 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
940b1656f1 Fixing test to test the right thing 2008-11-25 22:32:12 -05:00
Boris Zbarsky
402f7a9c31 Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking 2008-11-25 20:50:04 -05:00
Jesse Ruderman
ca1f42ecc6 Remove line breaks from end of assertion messages 2008-11-19 15:15:35 -08:00
Honza Bambas
c3389a1504 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
3c67d30842 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
2a5b7140ea 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
6ed4048793 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
7576a12436 Bug 460328: Make online whitelist entries match by prefix. r=dcamp, sr=biesi 2008-11-05 16:01:08 -08:00
Honza Bambas
29b8953456 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
c16599cc1d 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
5fcf8aa9f1 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
e2e9e3fb10 Investigating leaks in bug 463263, backout bug 453403. 2008-11-05 12:55:38 -08:00
Justin Dolske
4a4f7244af Backed out changeset e8fd3f4c52b6 2008-11-05 12:54:51 -08:00
Justin Dolske
a8a8f0fcf0 Investigating leaks in bug 463263, backout bug 453403. 2008-11-05 12:54:19 -08:00
Justin Dolske
de8c57c52b Backed out changeset 19b3caf108d1 2008-11-05 12:53:02 -08:00
Shawn Wilsher
9087f22d1f Bug 460086 - Library context menu for history items should include "Delete all data to <domain>"
This also adds this to the history sidebar because of the modularity of the code.  Yay!
r=mconnor
r=dietrich

Tests will be landing in a follow-up patch.
2008-11-05 03:24:22 -05:00
Gavin Sharp
7b41cb93e4 Backed out changeset f014c59ad81d 2008-11-04 23:35:39 -05:00
Jeff Muizelaar
e6551e382c Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, original patch by shaver@mozilla.org, r+sr=biesi 2008-11-04 23:11:31 -05:00
Dave Camp
b3101704f6 merge 2008-11-04 11:58:28 -08:00
Doug Turner
06a2736626 Merge to tip 2008-11-04 11:39:05 -08:00
Dave Camp
0c0880f78f Bug 461071: Allow application caches to be obsoleted. r=honzab, r+sr=bz 2008-11-04 10:59:12 -08:00
Boris Zbarsky
322a9a7af8 Bug 453403. Fix leak of nsHostResolver by making sure to wake up all the worker threads on shutdown 2008-11-04 12:03:11 -05:00
Patrick McManus
dbf40a5ca6 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 11:14:29 -05:00
Doug Turner
239a0b6980 Merge to tip 2008-11-04 08:12:50 -08:00
Patrick McManus
f33e25510d Bug 459724. Make page reload bypass the DNS cache. r+sr=bzbarsky 2008-11-04 11:05:46 -05:00
Patrick McManus
4fc459d715 Bug 459724. Fix normalization of flags in the DNS cache to allow other work that depends on these flags to happen. r+sr=bzbarsky 2008-11-04 11:05:24 -05:00
Boris Zbarsky
a0dfe7f851 Backing out changesets 374d3cf7b48d, 5d9dc9b6127e, 8c4f57a5674d, cd9a392337b7 2008-11-04 11:03:10 -05:00
Doug Turner
70904f314d Bug 461832 - windows mobile bustage on file protocol handler. r=blassey sr=bz 2008-11-04 07:23:54 -08:00
Patrick McManus
4f0fa604d1 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 10:22:04 -05:00
Patrick McManus
05ec1c59e2 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 10:14:50 -05:00
Patrick McManus
4136c5cdaa Bug 459724. Make page reload bypass the DNS cache. r+sr=bzbarsky 2008-11-04 10:12:49 -05:00
Patrick McManus
bda290e94d Bug 459724. Fix normalization of flags in the DNS cache to allow other work that depends on these flags to happen. r+sr=bzbarsky 2008-11-04 10:10:00 -05:00
Dave Camp
dea763c065 Bug 445544: Navigating away from an offline app fails. r=honzab, r+sr=bz 2008-11-04 02:20:27 -08:00
Phil Ringnalda
538c9fb42a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Ehsan Akhgari
07521d5740 Bug 411929 - Private Browsing UI; r=mconnor,bzbarsky sr=bzbarsky 2008-11-04 02:52:23 +03:30
Ehsan Akhgari
c078acab37 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [unit test API changes]; r,sr=mconnor 2008-11-04 02:52:22 +03:30
timeless@mozdev.org
eb19759424 Bug 460115 Setting "Authorization" request header to value without a space results in crash [@ libc-2.6.so@0x6fbcc]
r=biesi sr=biesi
2008-11-03 23:08:44 +01:00
Boris Zbarsky
e85412920a Bug 462804. Remove redundant method. r=dcamp, biesi, sr=roc 2008-11-03 11:00:54 -05:00
Jeff Walden
6b5811b656 Consistently rebrand to httpd.js, since that's basically how everyone knows about it and because the older name was ugly. No bug, basically comment-only changes, r+sr+ui-r+a=mconnor per the inestimable firebot 2008-11-02 22:46:54 -08:00
Ehsan Akhgari
0957dd9350 Change the IDL comment to specify microseconds for bug 411952 2008-11-01 01:06:23 +03:30
Ehsan Akhgari
755a14f883 Bug 411952 - Cookie's creationTime needs to be exposed via nsICookie2; r=mconnor, sr=bzbarsky (unit test) 2008-10-31 17:21:31 +03:30
Ehsan Akhgari
d59b7462e0 Bug 411952 - Cookie's creationTime needs to be exposed via nsICookie2; r=mconnor, sr=bzbarsky 2008-10-31 17:19:18 +03:30
Honza Bambas
f7ccc681d9 Bug 461327 - White list entries fix; r=dcamp sr=bzbarsky 2008-10-28 05:33:12 +01:00
Ehsan Akhgari
2e670c72eb Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [cache part]; r=cbiesinger,dcamp sr=cbiesinger 2008-10-25 13:56:20 +03:30
Daniel Veditz
0ee094d218 bug 443299: prevent potential OOM dos and null-deref crash. Patch by Justin Schuh, r=cbiesinger, sr=dveditz 2008-10-24 16:47:41 -07:00
Boris Zbarsky
d3fc632669 Bug 455311. Better handling of a successful redirect. r+sr=biesi pending 2008-10-22 21:43:15 -04:00
Boris Zbarsky
fc70586314 Fixing test to actually pass on Mac 2008-10-22 13:45:07 -04:00
Boris Zbarsky
160e4afb66 Fixing indent 2008-10-22 11:44:51 -04:00
Boris Zbarsky
44e9fa1c3e Bug 455311. Better handling of Cancel and IsPending() on nsBaseChannel redirects, plus unit tests. r+sr=biesi 2008-10-22 11:42:32 -04:00
Ehsan Akhgari
2b72bfb314 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [a fix to the cookie part]; r=dwitte sr=bzbarsky 2008-10-21 02:00:30 +03:30
Brad Lassey
791430bafe Bug 458252: local file paths are wrong on windows mobile r=dougt sr=bsmedberg 2008-10-20 13:03:20 -04:00
Dave Camp
65de892f3f Bug 495822: Move OfflineAppAllowed from nsIOService to nsOfflineCacheUpdateService. r+sr=biesi 2008-10-19 21:12:25 -07:00
Ehsan Akhgari
1b7a5323d9 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [cookie part]; r=dwitte,mconnor sr=bzbarsky 2008-10-20 00:42:53 +03:30
Ehsan Akhgari
f434cfd85b Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [nsIPrivateBrowsingService interface]; r,sr=bzbarsky 2008-10-20 00:39:56 +03:30
Pam Greene
d77e8cd70f Bug 455771 - Add information for .tel to public suffix (effective TLD) list; r=gerv 2008-10-18 00:28:36 +02:00
Chris Double
8f39fe8e21 Bug 398185 - Add byte range request support to JS httpd - r=jwalden+bmo 2008-10-17 12:38:14 +13:00
David Triendl
40d6fdce70 Bug 457470 - Update public suffix (effective TLD) list (3); r=gerv 2008-10-17 01:29:10 +02:00
Ian
f2cd72a0db Bug 251475. Make sure channels don't return null for the originalURI. Initial work by Daniel Kraft <domob@daniel-kraft.net> and Brandon Ferguson <bnferguson@gmail.com>. r+sr=bzbarsky. 2008-10-15 16:05:23 -04:00
Patrick McManus
26fb25117e Bug 208312. Cache DNS failure responses, not just successful lookups. r+sr=bzbarsky 2008-10-13 17:04:09 -04:00
Bjarne
caced0161b Bug 327765 - Mozilla's cache does not invalidate on non-GET requests; r=cbiesinger 2008-10-10 18:14:51 +02:00
Honza Bambas
0db111e721 Bug 435558 - Certificate error page not displayed while using proxy on 'localhost'; r=cbiesinger sr=bzbarsky 2008-10-10 18:02:30 +02:00
Arpad Borsos
c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Ben Newman
97433a48ab Bug 454850. Make sure that whenever nsPrincipal::Equals would return true for a pair of principals their nsPrincipal::GetHashValue returns are also equal. r+sr=bzbarsky 2008-10-08 09:16:27 -04:00
Boris Zbarsky
43a6ea85c9 Back out changeset a8eb5fc88c01: relanding bug 455311. Treat .url files as redirects. r+sr=biesi 2008-09-29 17:02:44 -04:00
L. David Baron
f7423b5b9a Merge backout of changeset 6357eb31cec6 (bug 455311) for causing performance regression bug 458065. 2008-10-05 19:56:17 -07:00
L. David Baron
d9056fab22 Backed out changeset 6357eb31cec6 (bug 455311) for causing performance regression bug 458065. 2008-10-05 19:55:41 -07:00
Reed Loden
1c77a41798 Merge backout changeset for bug 454406 2008-10-01 01:03:35 -05:00
Reed Loden
984577563b Bug 454406 - "SSL handshakes fail after asking PSM to remember user's choice of client auth cert" (backed out changeset 6615b044bcd8 from bug 431819) 2008-10-01 01:01:39 -05:00
Michal Novotny
c6c4687357 Bug 429347 - "URL parser gets confused by ref with no path" [r=bzbarsky sr=cbiesinger] 2008-10-01 00:34:29 -05:00
Michal Novotny
294525a204 Bug 412945 - "Malformed POST requests generated when using elance.com" [r=biesi sr=bzbarsky] 2008-10-01 00:31:24 -05:00
Michal Novotny
12c9fd28e9 Bug 365133 - "The FTP folder won't open!" [r=bzbarsky sr=dougt] 2008-10-01 00:28:39 -05:00
Daniel Veditz
19819246b6 Bug 380994 - "Fix for bug 367428 lets through escaped slashes on Linux (windows too on trunk)" (incremental patch on top of what's checked in) [r=biesi] 2008-10-01 00:21:05 -05:00
Daniel Veditz
3faa484c5e Bug 380994 - "Fix for bug 367428 lets through escaped slashes on Linux (windows too on trunk)" [r=biesi] 2008-10-01 00:15:58 -05:00
Jonas Sicking
bd5e92615c Implement cookieless requests for Access-Control. b=389508 r=biesi sr=jst 2008-09-30 17:52:52 -07:00
Jonas Sicking
69b9ff0371 Update Access-Control implementation to match changes in spec. b=389508 r/sr=jst 2008-09-30 17:50:42 -07:00
Dave Camp
b01fb32f96 Bug 426932: update online/offline state on osx. p=dcamp/smichaud, r=smichaud/josh, sr=roc 2008-09-30 15:27:06 -07:00