Commit Graph

300 Commits

Author SHA1 Message Date
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
benjamin@smedbergs.us
ca89a98e8c Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
dveditz@cruzio.com
cad53fa7ea bug 415034 prevent URIs with userinfo but no username. r=biesi, sr=bsmedberg, blocking1.9+ 2008-02-20 17:24:41 -08:00
dougt@meer.net
43d3cf3539 disable autodialer in windows mobile. r=bsmedberg, a=beltzner 2008-02-20 14:41:27 -08:00
reed@reedloden.com
b52ea5e45c Bug 412207 - nsSocketTransport::OnSocketDetached should null out mCallbacks and mEventSink [p=cbiesinger@gmx.at (Christian :Biesinger) r=Silver sr=sicking a=blocking1.9+] 2008-02-14 03:12:50 -08:00
benjamin@smedbergs.us
54c3badf2f Bustage fix, bug 412320 2008-02-12 12:07:57 -08:00
benjamin@smedbergs.us
5e262ed60c Bug 412320 - generate QI for additional classes which, according to stats, show up in profiles as frequent callers of nsID::Equals, r=biesi,ted,sicking 2008-02-12 11:46:26 -08:00
timeless@mozdev.org
bec7fcee32 Backing out because of unit test failure: [Exception... "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIZipWriter.addEntryStream]" nsresult: "0x80470002 (NS_BASE_STREAM_CLOSED)" location: "JS frame :: ../../../../_tests/xpcshell-simple/test_zipwriter/unit/test_storedata.js :: run_test :: line 84" data: no] 2008-02-09 16:01:36 -08:00
timeless@mozdev.org
933fc11012 Bug 412867 nsSimpleStreamListener needs to autoclose mSink IFF !mObserver r=biesi a=dsicore 2008-02-09 15:15:26 -08:00
reed@reedloden.com
23e398896c Bug 414901 - "Back out scriptable IO" [p=neil@mozilla.com (Neil Deakin) r+sr=bsmedberg a1.9b3=beltzner] 2008-02-01 18:07:49 -08:00
reed@reedloden.com
41073ec644 Back out the back out from bug 414901 until bug 415218 is fixed, or else we'll have very broken nightlies. :( 2008-02-01 00:51:29 -08:00
enndeakin@sympatico.ca
d23cbccf38 Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner 2008-01-31 11:18:07 -08:00
jonas@sicking.cc
ba446696ec Bug 397878: Send Referer-Root header when doing cross-site access requests. Also update domain pattern matching to spec. Patch by <suryaismail@gmail.com>. r=bent sr=sicking b3a=beltzner 2008-01-31 00:16:54 -08:00
reed@reedloden.com
9b84e3d976 Bug 66057 - "Proxy: $http_proxy should influence proxy settings" [p=roc@ocallahan.org (Robert O'Callahan [roc]) / diane@ghic.org (Diane Trout) / ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=josh r+sr=biesi a1.9=damons] 2008-01-29 10:38:15 -08:00
reed@reedloden.com
14365335d8 Back out for now until there's a fix. 2008-01-29 09:57:17 -08:00
reed@reedloden.com
6e3e57465e Bug 66057 - "Proxy: $http_proxy should influence proxy settings" [p=roc@ocallahan.org (Robert O'Callahan [roc]) / diane@ghic.org (Diane Trout) / ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=josh r+sr=biesi a1.9=damons] 2008-01-29 07:58:38 -08:00
reed@reedloden.com
ba1ebe6e9b Bug 405693 - "don't update identical offline cache manifests" [p=honzab@allpeers.com (Honza Bambas) r=dcamp sr=biesi a=blocking1.9+] 2008-01-28 23:54:54 -08:00
sayrer@gmail.com
04bee08152 Bug 400091. nsFaviconService leak with rapid page loads. r/sr=biesi 2008-01-28 15:21:27 -08:00
mats.palmgren@bredband.net
24741d2e93 Make NS_ReadLine() not lie about having more data when the stream ends in \r\n. b=397850 r+sr=cbiesinger a=blocking1.9 2008-01-15 02:22:58 -08:00
mats.palmgren@bredband.net
41dd0fc779 Backing out bug 397850 to fix mailnews bustage. 2008-01-09 22:50:08 -08:00
mats.palmgren@bredband.net
c2add0c2b0 Make NS_ReadLine() not lie about having more data when the stream ends in \r\n. b=397850 r+sr=cbiesinger a=blocking1.9 2008-01-09 22:17:29 -08:00
sdwilsh@shawnwilsher.com
620f6afe91 Bug 410131 - DM isn't buffering writes when saving a file. r=biesi, sr=bz 2008-01-04 09:55:02 -08:00
dwitte@stanford.edu
61c159a4e6 tweak the NS_ReadLine buffer up to 4096 bytes. b=410264, r+sr=biesi, a=schrep 2008-01-03 16:27:38 -08:00
dwitte@stanford.edu
d60af8c14d move permission manager persistent storage from hostperm.1 to permissions.sqlite, use nsIURI::GetAsciiHost() for consistent host normalization, and expand type/permission limits. bugs 400092 and 400097 (patch in 400097), sr=shaver, pending r=sdwilsh, blocking-1.9+. 2007-12-04 22:37:36 -08:00
roc+@cs.cmu.edu
64adc7a6ff Bug 404870. Avoid read access to mThread racing with setting mThread to null (which could crash). Also, detect when the thread is no longer accepting events and treat it as the thread not being there anymore in nsSocketTransportService::Dispatch. 2007-12-04 18:18:58 -08:00
kaie@kuix.de
aaa7739fe8 Attempting to fix tinderbox bustage from bug 378241 2007-12-04 11:38:27 -08:00
kaie@kuix.de
e64d67a61b Bug 378241, Changes from bug 107491 lead to tons of thread-safety asserts r=rrelyea, r=wtc, sr=benjamin, blocking1.9=benjamin 2007-12-04 10:53:14 -08:00
dwitte@stanford.edu
c35938c835 relanding 402008. 2007-12-03 22:30:47 -08:00
dwitte@stanford.edu
5474394150 backing out due to orange. 2007-12-03 18:46:02 -08:00
dwitte@stanford.edu
103a419fdf Bug 402008 - expose nsIURI::GetHost() "display normalization" behavior on nsIIDNService. r+sr=biesi, a=dsicore 2007-12-03 18:24:53 -08:00
bzbarsky@mit.edu
d94f29ae56 Add a way to extract the charset and the position of the charset parameter from a content-type header. Use this in XMLHttpRequest to not clobber the non-charset parameters and not clobber the charset if it's already what we'll set, up to case. Apparently some broken servers are case-sensitive when looking at charsets! Bug 393968 (wherein the patch lies) and bug 397234, r+sr=biesi 2007-12-03 13:34:44 -08:00
cbiesinger@gmx.at
1e54b36be6 bug 262116 make disk cache serialize/deserialize the security info, if present also make nsNSSSocketInfo serializable PSM part: r=kaie sr=darin rest: r+sr=darin 2007-11-30 10:05:54 -08:00
dcamp@mozilla.com
911a5b2bb9 Bug 369814: don't open jar: content unless served from a safe mime type. r=bz, sr=dveditz, ui-r=beltzner 2007-11-26 21:32:23 -08:00
gavin@gavinsharp.com
1e17cef233 Bug 403480: make it impossible to set nsIURI::port to it's default value, r+sr=biesi, a=schrep 2007-11-26 16:51:57 -08:00
sdwilsh@shawnwilsher.com
9223b5a23c Bug 401174 - Allow how exthandler adds downloads to history to be overridden. r=biesi, sr=bz, a=mconnor 2007-11-23 12:20:41 -08:00
bzbarsky@mit.edu
b336aef6a6 Fix leak bug 391978. r=biesi, sr=dmose, a=sayrer 2007-11-08 22:13:26 -08:00
reed@reedloden.com
eeaeef5a63 Bug 398718 - "Better explanatory text for SSL error pages" [p=kaie/johnath r=rrelyea r=biesi a=blocking1.9+ for M9] 2007-10-30 13:26:25 -07:00
dwitte@stanford.edu
0a3a7b0677 rework effective tld service interface, fix normalization bugs and improve error propagation. b=368989, r=biesi, sr=dveditz 2007-10-25 01:24:13 -07:00
bzbarsky@mit.edu
06f6b88b65 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
sdwilsh@shawnwilsher.com
723a99fa54 Bug 369428 - nsExternalAppHandler::SetUpTempFile uses a poor source of randomness, resulting in predictable filenames. r=kaie, sr=rrelyea, a=blocking1.9 2007-10-12 15:48:07 -07:00
sdwilsh@shawnwilsher.com
04d4d5267a Full backout of Bug 369428 2007-10-12 08:30:45 -07:00
sdwilsh@shawnwilsher.com
82e9ccc64f Bug 369428 - nsExternalAppHandler::SetUpTempFile uses a poor source of randomness, resulting in predictable filenames. r=kaie, sr=rrelyea, a=blocking1.9 2007-10-12 06:00:57 -07:00
dbaron@dbaron.org
c5d13d4123 Delete gVolumeList on shutdown. b=397305 r+sr+a1.9=bzbarsky 2007-10-02 15:26:53 -07:00
bzbarsky@mit.edu
12bb6b8b24 Fix nsStandardURL serialization/deserialization to properly restore all state. Bug 396389, r+sr=biesi, a=bsmedberg 2007-09-17 15:23:12 -07:00
jag@tty.nl
9198e9c4b8 Bug 394139: Replace a bunch of NS_DEFINE_CIDs with CONTRACTIDs. r=/sr=/a=bsmedberg 2007-09-05 06:04:54 -07:00
timeless@mozdev.org
efb38e3198 Bug 392649 https add-on install from filepicker crashes [@ net_GetURLSpecFromFile] r=biesi sr=biesi a=bz 2007-09-05 03:22:42 -07:00
cbiesinger@gmx.at
e507924848 394242 improve the comments on some necko APIs r+sr+a=bz 2007-08-31 13:23:31 -07:00
cbiesinger@gmx.at
0ff9cf25bd add unit test for bug 372050 and the unescape parts of bug 350932; also, clarify comments for the ESCAPE_URL_ONLY_NONASCII flag. r+sr+a=bz 2007-08-31 13:19:37 -07:00
wtc@google.com
53c533617a Bug 213637: code cleanup: use nsAutoLock instead of manually calling PR_Lock/PR_Unlock, and removed mThreadEventLock. r=biesi Modified files: nsSocketTransportService2.cpp nsSocketTransportService2.h 2007-08-26 13:14:57 -07:00
cbiesinger@gmx.at
bbaf727b9d fix typo in comment 2007-08-24 18:30:39 -07:00
cbiesinger@gmx.at
2d641b20bd 263127 close the tempfile output stream before calling the observer patch by Wladimir Palant <trev.moz@adblockplus.org> r=biesi sr=darin 2007-08-24 17:26:18 -07:00
cbiesinger@gmx.at
c118d40021 392428 always consider IP addresses valid hostnames r+sr+a=bz 2007-08-21 10:14:47 -07:00
dtownsend@oxymoronical.com
7daec3138e Bug 341472: ship with fewer security warnings showing by default. p=Adam Guthrie <ispiked@gmail.com>, r=darin.moz@gmail.com, ui-r=beltzner, a=wanted-firefox3 2007-08-20 07:22:42 -07:00
bent.mozilla@gmail.com
7980ed1622 Bug 392657 - Fix typo in comment. 2007-08-19 21:06:58 -07:00
bent.mozilla@gmail.com
0e2d2d7720 Bug 392657 - "'ASSERTION: QueryInterface needed', nsURIChecker missing nsIRequestObserver in QI map". r+sr=biesi, a=bz. 2007-08-19 20:19:11 -07:00