Commit Graph

243 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
1df11d07a4 Bug 1038756: Refactor SetUpChannelOwner to ChannelShouldInheritPrincipal (r=bz) 2014-07-17 16:07:58 -07:00
Christoph Kerschbaumer
ad9558026c Bug 1038756: Extend nsNetutil to include requestingPrincipal, requestingNode, and contentPolicyType (r=mcmanus) 2014-07-17 14:52:25 -07:00
Wes Kocher
d10230338d Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout 2014-08-26 16:34:46 -07:00
Valentin Gosu
077e9036e0 Bug 786419 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Patrick McManus
7b3d6bf83d Bug 354493 - revert Add nsINetworkZonePolicy to protect resources loaded from private IPs r=backout a=backout 2014-07-24 10:05:36 -04:00
Ben Kelly
0d01c09be4 Bug 1029620 P4 Make HTTP token and header value validation accessible via nsNetUtil.h r=ehsan r=mcmanus 2014-07-24 12:38:55 -04:00
Steve Workman
111df17ab2 Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus 2014-07-17 11:08:20 -07:00
Robert O'Callahan
cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Patrick McManus
1b05a32805 bug 378637 part 11 - move MakeConnectString() to nsHttpHandler r=hurley
--HG--
extra : rebase_source : 683d8c5203a17d8869bbce0bbdaeee0dc683442a
2014-04-22 15:46:06 -04:00
Ryan VanderMeulen
db079aae32 Backed out 11 changesets (bug 378637) for Android crashes.
Backed out changeset 2a607cddc4cb (bug 378637)
Backed out changeset e416503aea99 (bug 378637)
Backed out changeset b2257226899f (bug 378637)
Backed out changeset dafd618c3f52 (bug 378637)
Backed out changeset dfde9d47d8c4 (bug 378637)
Backed out changeset cf9de5c367a5 (bug 378637)
Backed out changeset 62aa68e8b499 (bug 378637)
Backed out changeset 38efa8f2e56e (bug 378637)
Backed out changeset 2b5753e09a92 (bug 378637)
Backed out changeset 7a73873e133d (bug 378637)
Backed out changeset f58ce7ac1c7f (bug 378637)
2014-05-09 15:25:55 -04:00
Patrick McManus
4aec6b5f79 bug 378637 part 10 - move MakeConnectString() to nsHttpHandler r=hurley
--HG--
extra : rebase_source : 3eadd579f343b4c275310d9d0b1ff79447ac5ee2
2014-04-22 15:46:06 -04:00
Igor Kolupaev
89db128641 Bug 997141 - Remove the recur parameter from nsIFile::Contains(). r=bsmedberg 2014-05-07 23:03:41 +03:00
John Shih
4059919385 Bug 949956 - Move duplicated code to NetStatistics.h. r=mcmanus 2014-01-14 17:55:29 +08:00
Kyle Huey
fe6c4e28d6 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Honza Bambas
1b47f55e7d Bug 956930 - Launching an app preloading appcache throws an offline error, r=jduell+sicking 2014-02-04 01:52:57 +01:00
John Shih
b7389ace51 Bug 922926 - Part 3: Rebase code in necko. r=mcmanus 2013-11-22 10:42:11 +08:00
Sumit Agrawal
4246dee0e2 Bug 928321 - Implement a variant of safe-file-output-stream that doesn't flush by default. r=Yoric 2013-12-02 12:51:25 -05:00
John Shih
92540ea816 Bug 922924 - Centralize the code for network per-app metering. r=jduell 2013-10-30 18:00:17 +08:00
Ryan VanderMeulen
29a675042d Backed out changeset 5d4d19ebcd70 (bug 922924) for B2G debug bustage. 2013-11-18 14:21:24 -05:00
John Shih
bfad4b0db5 Bug 922924 - Centralize the code for network per-app metering. r=jduell 2013-10-30 18:00:17 +08:00
Ryan VanderMeulen
1e6ecbf0e0 Backed out changeset f3c4d03ad677 (bug 922924) for bustage. 2013-11-15 08:32:23 -05:00
John Shih
da9048378f Bug 922924 - Centralize the code for network per-app metering. r=jduell 2013-10-30 18:00:17 +08:00
Benjamin Smedberg
b5fb993e7f Bug 753687 - nsCategoryCache implementation doesn't free old category entries if their contract mapping is removed using .unregisterFactory. Store the factory objects directly in the map, instead of keeping both a map and a separate list. r=froydnj 2013-10-10 08:48:03 -04:00
Christoph Kerschbaumer
a8eb623c18 Bug 897516 - Implement a separate cookie jar for safebrowsing - cookie separation part. r=mmc 2013-08-19 12:31:24 -07:00
Carsten "Tomcat" Book
fba1ba6542 Backed out changeset 0cc959e28407 (bug 897516) failed XPC Shell tests CLOSED TREE 2013-09-27 15:45:31 +02:00
Christoph Kerschbaumer
72cca452f5 Bug 897516 - Implement a separate cookie jar for safebrowsing - cookie separation part. r=mmc 2013-08-19 12:31:24 -07:00
James Kitchener
3519f75625 Bug 912981 - Expose srcdoc status in nsIViewSourceChannel. r=bz 2013-09-10 13:40:35 -04:00
John Schoenick
e4df1399c9 Bug 902375 - Strict file origin policy - handle case where the target is the parent directory of the source. r=bz 2013-08-21 14:47:53 -07:00
John Schoenick
115f9ae25d Bug 406541 - Split NS_CheckStrictFileOriginPolicy out of nsPrincipal::CheckMayLoad. r=bs 2013-07-02 16:40:39 -07:00
James Kitchener
dbb18eccb8 Bug 802895 - add srcdoc support to (InputStream|ViewSource)Channels r=bz sr=bsmedberg 2013-06-28 23:04:42 -04:00
Aryeh Gregor
f0404a303a Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Bobby Holley
b732278733 Bug 850247 - Make nsRequestObserverProxy hold onto its context. r=mcmanus
Both the consumers just do this manually. The context here is sometimes an
XPCWrappedJS, so passing it around with nsCOMPtrs off-main-thread can't
happen anymore.

We add assertions in OnStartRequest/OnStopRequest to catch any consumers
that might try to change contexts midstream.
2013-03-19 09:04:57 -07:00
Bobby Holley
5ea98ec614 Bug 850247 - Make nsRequestObserverProxy proxy events to the main thread only. r=mcmanus
I'm doing this so that I can safely make this class use nsMainThreadPtr{Handle,Holder}.
There's no theoretical reason why we couldn't support other threads here, but it
would mean implementing that functionality in the PtrHolders, renaming them, and
weakening their assertions/invariants. AFAICT the consumers here don't actually have
a reason to proxy events anywhere but the main thread, so I'm just going to do this
rather than writing code to support something that we don't do (and thus can't test).
2013-03-19 09:04:57 -07:00
Cykesiopka
aca1ef432e Bug 92979 - Remove unused parameters in nsNetUtil.h methods. r=biesi 2013-03-08 08:30:13 -05:00
Julian Reschke
1c6c1757dc Bug 601933: remove RFC 2047 encoding support for HTTP header field parameters. r=jduell 2013-02-21 05:36:00 -08:00
Ehsan Akhgari
ff815b3cdc Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky 2012-11-20 19:19:53 -05:00
Ed Morley
5aec97aa38 Backout 231cce402e46, 383b6031c417, 8a518d6c8b60 & 4f55f76e34ee (bug 813438) for bustage 2012-11-22 17:49:58 +00:00
Ehsan Akhgari
e5022e988f Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky 2012-11-20 19:19:53 -05:00
Josh Matthews
7d54e6176e Bug 804655 - Part 2: Wrap up interface aggregator callbacks with a target thread on which they should be released. r=mayhemer 2012-11-14 16:00:44 +00:00
Julian Reschke
20f14d8283 Bug 776339 - Remove support of Content-Disposition 'name' parameter. r=jduell, sr=biesi 2012-11-03 09:24:26 -04:00
Ben Turner
5e8d8d57f2 Bug 786295 - 'Delete IndexedDB related to an app when uninstalled'. r=bz+khuey+sicking. 2012-10-23 09:31:19 -07:00
Jason Duell
a5b93cbcd8 Bug 802885 - Disable offline cache entries for private channels under e10s r=jdm 2012-10-17 22:00:16 -07:00
Makoto Kato
3122b4a8f4 Bug 801483 - make nsBufferedInputStream::Init fallible. r=bsmith 2012-10-16 17:38:20 +09:00
Jason Duell
2f13edfe53 Bug 786299 - Delete app-cache related to an app when uninstalled. r=honza,jduell 2012-10-02 17:39:09 -07:00
Jason Duell
7f344923a7 Bug 796164 - Change NECKO_UNKNOWN_APP_ID to UINT32_MAX. r=ehsan 2012-10-01 21:44:29 -07:00
Ed Morley
da9299600b Backout bec7e68cad9a & a6228bc28958 (bug 786299) for Windows compilation errors on a CLOSED TREE 2012-09-29 01:44:30 +01:00
Jason Duell
b75e7e52c9 Bug 786299 - Part 2: Delete app-cache related to an app when uninstalled. r=honza 2012-09-28 16:13:17 -07:00
Isaac Aggrey
481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Mounir Lamouri
6e8a40605f Bug 794023 - Use std::numeric_limits for NECKO_UNKNOWN_APP. f=ehsan r=jduell
--HG--
extra : rebase_source : bfd9374dd9f53f2e98bcefb33c6dfa355a07948e
2012-09-28 11:04:32 +01:00
Patrick McManus
d70af841f6 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00