Commit Graph

200 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