Commit Graph

254 Commits

Author SHA1 Message Date
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
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
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
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
Boris Zbarsky
e801383a04 Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking 2008-11-25 20:50:04 -05: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
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
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
Justin Dolske
b851587e76 Investigating leaks in bug 463263, backout bug 453403. 2008-11-05 12:55:38 -08:00
Justin Dolske
4c397f756a Backed out changeset e8fd3f4c52b6 2008-11-05 12:54:51 -08:00
Shawn Wilsher
a1ce236437 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
d54eed15ff Backed out changeset f014c59ad81d 2008-11-04 23:35:39 -05:00
Jeff Muizelaar
d6bc35b4d4 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
78a7554f63 Bug 461071: Allow application caches to be obsoleted. r=honzab, r+sr=bz 2008-11-04 10:59:12 -08:00
Patrick McManus
346822dba8 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 11:14:29 -05:00
Patrick McManus
3714739a14 Bug 459724. Make page reload bypass the DNS cache. r+sr=bzbarsky 2008-11-04 11:05:46 -05:00
Boris Zbarsky
f3130e5161 Backing out changesets 374d3cf7b48d, 5d9dc9b6127e, 8c4f57a5674d, cd9a392337b7 2008-11-04 11:03:10 -05:00
Patrick McManus
3df57bb663 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 10:22:04 -05:00
Patrick McManus
7f731cfb6e Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 10:14:50 -05:00
Patrick McManus
0798777095 Bug 459724. Make page reload bypass the DNS cache. r+sr=bzbarsky 2008-11-04 10:12:49 -05:00
Dave Camp
075a71489f Bug 445544: Navigating away from an offline app fails. r=honzab, r+sr=bz 2008-11-04 02:20:27 -08:00
Ehsan Akhgari
1bd7a4be4f Bug 411929 - Private Browsing UI; r=mconnor,bzbarsky sr=bzbarsky 2008-11-04 02:52:23 +03:30
Boris Zbarsky
2d7dc5453a Bug 462804. Remove redundant method. r=dcamp, biesi, sr=roc 2008-11-03 11:00:54 -05:00
Boris Zbarsky
1322caec18 Bug 455311. Better handling of a successful redirect. r+sr=biesi pending 2008-10-22 21:43:15 -04:00
Boris Zbarsky
2938178520 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
Brad Lassey
dbe8393bf5 Bug 458252: local file paths are wrong on windows mobile r=dougt sr=bsmedberg 2008-10-20 13:03:20 -04:00
Dave Camp
a1df547c6e Bug 495822: Move OfflineAppAllowed from nsIOService to nsOfflineCacheUpdateService. r+sr=biesi 2008-10-19 21:12:25 -07:00
Ehsan Akhgari
d4ff4e3d91 Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [nsIPrivateBrowsingService interface]; r,sr=bzbarsky 2008-10-20 00:39:56 +03:30
Ian
ee43bba9c1 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
Honza Bambas
de852e3860 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
8b11d938d2 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
fdede899e6 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
d666c489d5 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
e56b3fe07b Merge backout of changeset 6357eb31cec6 (bug 455311) for causing performance regression bug 458065. 2008-10-05 19:56:17 -07:00
L. David Baron
00cbbadc3e Backed out changeset 6357eb31cec6 (bug 455311) for causing performance regression bug 458065. 2008-10-05 19:55:41 -07:00
Reed Loden
2e4f64de6e Merge backout changeset for bug 454406 2008-10-01 01:03:35 -05:00
Reed Loden
93534d0ac8 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
ca0850cf6f Bug 429347 - "URL parser gets confused by ref with no path" [r=bzbarsky sr=cbiesinger] 2008-10-01 00:34:29 -05:00
Jonas Sicking
cce6fbac9b Implement cookieless requests for Access-Control. b=389508 r=biesi sr=jst 2008-09-30 17:52:52 -07:00
Dave Camp
5a11a16230 Bug 442813: Implement fallback/opportunistic caching for application caches. p=me, Honza Bambas <honzab@allpeers.com>, r+sr=biesi 2008-09-30 11:34:23 -07:00
Boris Zbarsky
6c7a1a881c Bug 455311. Treat .url files as redirects. r+sr=biesi 2008-09-29 17:02:44 -04:00
Arpad Borsos
aa5c56e310 Bug 454479 - Clean up unused variables in netwerk/; r=cbiesinger 2008-09-15 15:34:46 +02:00
Magnus Melin
e3168d95a2 Bug 431890: nsStandardURL::SetSpec does not fail when host contains leading space " ". r+sr=cbiesinger 2008-09-14 21:15:06 +03:00
Michal Novotny
f3d2449c9b Bug 408138 - File URL incorrect when file path is not in filesystem encoding; r=cbiesinger sr=bzbarsky 2008-09-07 15:59:48 +02:00
Honza Bambas
86355cc4a3 Bug 452775 - Minefield Nightly fails to initiate dial-up login; r=cbiesinger 2008-09-07 14:43:35 +02:00
honzab@allpeers.com
2eba452039 Bug 135007, Transfer mode of images should be relevant for shown lock icon state (mixed content)
Based on ideas from Stuart Parmenter and experimental code from Kai Engert
Patch contributed by Honza Bambas
r=kaie, r=pavlov, sr=bz
2008-09-01 22:53:59 +02:00
Honza Bambas
ec80dcba93 Bug 442812: Implement the application cache selection algorithm. r+sr=bz 2008-08-27 18:15:32 -07:00
Brian Crowder
2103da0961 Bug 418703 - reduce narrow Windows API calls in necko, original patch by Brad Lassey <blassey@mozilla.com>, r=biesi 2008-08-27 14:44:54 -07:00
Dave Camp
ace5a3bf61 Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz
* * *
2008-08-26 16:09:02 -07:00
Jan Odvarko
232d776f64 Bug 430155. New nsHttpChannel interface to allow examination of HTTP data before it is passed to the channel's creator. r=biesi, sr=bzbarsky 2008-08-25 13:21:28 -04:00
Dave Camp
0356f133d4 Backed out changeset ebafb9df6ce0 (bug 442806) 2008-08-24 23:11:31 -07:00
Dave Camp
ac150ad11b Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-24 21:51:19 -07:00
Dave Camp
234fd1844f Backed out changeset ea551e6f0f40 (bug 442806) 2008-08-19 22:53:20 -07:00
Dave Camp
db4eca26fd Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-19 19:30:44 -07:00
Michal Novotny
96ad2865a5 Bug 379034 - Relative URLs with capitalized schemes are treated as absolute, r=biesi sr=bzbarsky 2008-08-19 10:48:10 -04:00
Dave Townsend
9cb6773784 Backed out changeset cf3eae029913 2008-08-18 15:08:14 +01:00
honzab@allpeers.com
a19d587018 Bug 135007, Transfer mode of images should be relevant for shown lock icon state (mixed content)
Based on ideas from Stuart Parmenter and experimental code from Kai Engert
Patch contributed by Honza Bambas
r=kaie, r=pavlov, sr=bz
2008-08-16 09:12:42 +02:00
Michal Novotny
1edb721140 Bug 427089 – FTP shouldn't send URLs in UTF-8. r=cbiesinger 2008-08-15 16:56:22 +02:00
Brian Crowder
7749f37e2e Backed out changeset f134ac75b142 2008-08-14 15:15:06 -07:00
Brian Crowder
cc90d484f8 Bug 418703 - [relanding] reduce narrow windows API calls (necko patch), original patch by Brad Lassey <blassey@mozilla.com>, r=biesi 2008-08-14 14:30:58 -07:00
Brian Crowder
17e18f188a Backed out changeset 45df6b91be5a 2008-08-13 11:22:36 -07:00
Brian Crowder
c5184d2bf9 Bug 418703 - [relanding] reduce narrow windows API calls (necko patch), original patch by Brad Lassey <blassey@mozilla.com>, r=biesi 2008-08-13 11:13:05 -07:00
Brian Crowder
d6dfdd6a4f Ugh! Mercurial fun: accidentally rolledback my rollback.
Backed out changeset bcc661750bec
2008-08-12 10:12:26 -07:00
Brian Crowder
3873ac30c6 Bug 422972: Backed out changeset e951bdfb047d (tree closed) 2008-08-12 09:46:47 -07:00
Brian Crowder
091e89ce8e Bug 418703: Backed out changeset f788da9b2165 (tree closed) 2008-08-12 09:45:54 -07:00
Brian Crowder
cc595c2e58 Bug 418703 - reduce narrow windows API calls in necko/, original patch by Brad Lassey <blassey@mozilla.com>, r=biesi 2008-08-12 09:30:42 -07:00
Benjamin Smedberg
e8fa485944 From bug 449561, bug 445949, and others: let's just ditch nsDerivedSafe since the class of errors it's trying to protect against are uncommon in today's world. r=dbaron 2008-08-11 11:05:58 -04:00
Kai Engert
a46e4f3f66 Bug 431819, SSL client auth, repeated prompts for client certificate
r=rrelyea, r=dveditz
2008-06-18 21:36:29 +02:00
Gavin Sharp
21f5e4e8bf Bug 407538: newURI(http://foo.com:80).port is 80, should be -1 (can set a URI's port to its default value by setting .spec), r+sr=biesi 2008-06-15 21:16:57 -04:00
Benjamin Smedberg
4982bf049a Bug 442714 - Mark NS_STACK_CLASS on nsAutoString, r=dbaron 2008-06-30 14:46:47 -04:00
Mats Palmgren
aaa49ce031 URI.path one character short after redirect involving fragment. b=438288 r+sr=cbiesinger 2008-06-19 23:39:46 +02:00
reed@reedloden.com
1d5b3e1253 Bug 422172 - ""Automatic proxy configuration URL" reload button does not work" [p=hugues.fournier@gmail.com (Hugues Fournier) r+sr=biesi a1.9=beltzner] 2008-05-08 02:05:11 -07:00
reed@reedloden.com
0cdb97a559 Back out Hugues Fournier's patch from bug 422172 as a possible cause of the crashes. 2008-05-07 04:29:08 -07:00
reed@reedloden.com
fd5db83e94 Bug 422172 - ""Automatic proxy configuration URL" reload button does not work" [p=hugues.fournier@gmail.com (Hugues Fournier) r+sr=biesi a1.9=beltzner] 2008-05-07 03:13:46 -07:00
gavin@gavinsharp.com
edac82482f Back out the patch for bug 235853, again, because of mochi*chrome* failures this time. 2008-04-17 19:49:40 -07:00
gavin@gavinsharp.com
ad723de10b Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, and fix HTTP channel code to properly forward cache-related properties to new proxied channels, patch by shaver@mozilla.org, r+sr=biesi, a=beltzner 2008-04-17 18:36:29 -07:00
cbiesinger@gmail.com
b7fc55e78b Bug 429128 correctly adjust mRef when changing the query part of a URL r+sr=bz a=beltzner; unit test by bz r+sr=biesi 2008-04-17 01:27:44 -07:00
gavin@gavinsharp.com
b797288af4 Back out bug 235853 due to mochitest failures 2008-04-08 10:23:19 -07:00
gavin@gavinsharp.com
cc9c79c41a Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, patch by shaver@mozilla.org, r+sr=biesi, a=beltzner 2008-04-08 07:28:02 -07:00
gavin@gavinsharp.com
79fd3610a0 Back out bug 235853 due to unit mochitest failures 2008-03-25 11:35:25 -07:00
shaver@mozilla.org
019c328818 Bug 235853: don't freeze the UI when resolving DNS for PAC, by using deferred resolution if we would otherwise block on DNS. r+madskills=biesi, a-b5=mconnor 2008-03-25 08:55:19 -07:00
cbiesinger@gmail.com
c25044c5af 364741 set mFDConnected before sending the connected notification r+sr=bz a=beltzner 2008-03-19 15:12:28 -07:00
cbiesinger@gmail.com
836c18f11e followup to bug 418535, add comments about which threads nsISocketTransportService functions can be called on patch by Florian Quèze <florian@queze.net> r+sr=biesi 2008-03-18 14:00:53 -07:00
reed@reedloden.com
ffb0913b45 Bug 419794 - "work out key API for nsICryptoHMAC" (API use nsIKeyObject + fix nsKeyModule + nsICryptoHMAC usage fix) [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r=rrelyea sr=dveditz a=blocking1.9+] 2008-03-18 12:45:40 -07:00
dveditz@cruzio.com
bf42be7570 bug 421840, relax restriction on empty user:info to fix mailnews regression bug 419116. r/sr=biesi,neil, a=dsicore 2008-03-14 18:31:42 -07:00
timeless@mozdev.org
9dc3d7bca0 Bug 419510 PAC dateRange function doesn't handle months after JUN r=biesi a=dsicore Also adds support for getDay("SAT")... 2008-03-10 18:40:08 -07:00
dolske@mozilla.com
2eef0839db Bug 419081 - Password prompting code doesn't check new passwords against all possible existing passwords. r=gavin, a=blocking-ff3+ 2008-03-10 17:14:10 -07:00
reed@reedloden.com
8fd5659a33 Bug 355181 - "net_IsValidHostName() comment says one thing, code does another" (use a whitelist) [p=michal@allpeers.com (Michal Novotny) r=biesi a=blocking1.9+] 2008-03-10 11:59:13 -07:00
reed@reedloden.com
bbc9507dde Bug 421490 - "wpad may be dangerous, and it is on by default" (only use WPAD if explicitly set in the prefs) [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a=blocking1.9+] 2008-03-08 01:58:17 -08:00
dveditz@cruzio.com
6eaa1f8b0e bug 295922 change default for "select cert automatically", r/sr=biesi, blocking1.9+ 2008-03-07 02:52:21 -08:00
bugzilla@standard8.plus.com
505e7ffa51 Bug 382437 nsLoginManagerPrompter.js needs to implement nsIAuthPrompt. r=dolske,gavin,sr=dveditz,approval1.9b4=beltzner 2008-03-02 04:24:24 -08:00
bzbarsky@mit.edu
1201485052 Add the charset right after the type, before all other params, if there is no existing charset in the type. Bug 413974, r=biesi, sr=sicking, a=beltzner 2008-02-28 20:24:32 -08:00
dcamp@mozilla.com
44b567a446 Bug 415799: Interface and implementation for HMAC support. p=honzab@allpeers.com (Jan Bambas), r=kaie, r=rrelyea, sr=dveditz, blocking1.9=sayrer 2008-02-26 22:31:13 -08:00
wtc@google.com
c3c311e84b Bug 415033: added a hidden preference (in about:config) for enabling or disabling the TLS session ticket extension. The patch is contributed by Nagendra Modadugu <ngm+mozilla@google.com>. r=wtc,rrelyea,kengert a1.9+=damons Modified Files: netwerk/base/public/security-prefs.js security/manager/ssl/src/nsNSSComponent.cpp 2008-02-26 15:09:39 -08:00
jwalden@mit.edu
0ac722e734 Bug 417218 - nsStandardURL::SetPath does the wrong thing when the path is '/' and is being set to ''. r+sr=biesi, a=beltzner 2008-02-26 14:48:42 -08:00
florian@queze.net
f3105887fb Bug 418535 - Make socket attachment to nsSocketTransportService usable from XPCOM. r+sr=biesi, a1.9=beltzner 2008-02-26 12:39:50 -08:00