Commit Graph

6929 Commits

Author SHA1 Message Date
Nicholas Nethercote
ebabc765c0 Bug 1187134 (part 3) - Replace nsBaseHashtable::Enumerate() calls in netwerk/cache{,2}/ with iterators. r=valentin. 2015-12-03 14:00:02 -08:00
Nicholas Nethercote
523f2e6b26 Bug 1187134 (part 2) - Replace nsBaseHashtable::Enumerate() calls in netwerk/cache{,2}/ with iterators. r=valentin. 2015-12-03 13:59:58 -08:00
Nicholas Nethercote
63fe80cb21 Bug 1187134 (part 1) - Replace nsBaseHashtable::Enumerate() calls in netwerk/cache{,2}/ with iterators. r=valentin. 2015-11-29 14:01:44 -08:00
Jan Beich
6263cbf48c Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
Bogdan Postelnicu
c28b473567 Bug 1228342 - initialize mTainting by all constructors. r=bkelly 2015-12-03 02:39:00 +01:00
Nigel Babu
a63f60fa58 Backed out changeset 7b77be698443 (bug 1228342) for build bustage ON CLOSED TREE 2015-12-03 15:51:20 +05:30
Bogdan Postelnicu
185c14bfb1 Bug 1228342 - initialize mTainting by all constructors. r=bkelly 2015-12-02 00:43:00 +01:00
Nathan Froyd
6cd0165d82 Bug 1223808 - part 3 - replace nsAutoArrayPtr<T> with UniquePtr<T[]> in netwerk/; r=mcmanus 2015-11-08 21:28:05 -05:00
Nathan Froyd
996b610edd Bug 1223808 - part 2 - use UniquePtr<uint8_t[]> instead of nsAutoArrayPtr<SHA1Sum::Hash> in HandleHashKey; r=michal 2015-11-18 15:56:47 -05:00
Nathan Froyd
107e2c8d1b Bug 1223808 - part 1 - optimize creating a WebSocketFrame with a payload; r=mcmanus
This function:

- Allocates a block of memory;
- Copies things into that block of memory;
- Allocates another block of memory inside nsAutoCString;
- Copies into our string from the block of memory we just allocated.

Clearly we can avoid a memory allocation and some copying by just
allocating the amount of data we need in the string first, and copying
things into the string.
2015-11-08 21:26:46 -05:00
Nathan Froyd
a64278a06f Bug 1218454 - part 2a - fix bootlegging of nsContentUtils.h includes from nsILoadContext.h; r=bz 2015-12-01 21:49:38 -05:00
Nathan Froyd
999dd36c0c Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Lars T Hansen
a8b5356268 Bug 1176214 - Part 14: Changes to netwerk. r=jduell 2015-11-25 17:30:52 +01:00
Carsten "Tomcat" Book
0f9a85616c merge mozilla-inbound to mozilla-central a=merge 2015-12-02 15:20:57 +01:00
Carsten "Tomcat" Book
964594e6de Backed out changeset 7a9e01e904b0 (bug 1137681) for test bustage on a CLOSED TREE 2015-12-02 11:28:46 +01:00
Tim Nguyen
23d4194266 Bug 1137681 - Make user agent docshell overrides affect network requests. r=jduell 2015-12-01 13:08:00 +01:00
Nicholas Nethercote
fc0b864a92 Bug 1229458 - Remove SizeOfIncludingThisMustBeUnshared() from string classes. r=mccr8.
The patch changes all uses of SizeOfIncludingThisMustBeUnshared() to
SizeOfIncludingThisIfUnshared(). This incurs the (tiny) cost of an unnecessary
IsReadonly() check for guaranteed-unshared strings, but avoids the possible
assertion failures that would occur when MustBeUnshared() was used incorrectly
on shared strings, which is an easy mistake to make.
2015-12-01 15:36:26 -08:00
Mike Hommey
5c34652bb7 Bug 1225682 - Don't use nsAuto{,C}String as class member variables in netwerk/. r=mcmanus 2015-12-02 11:04:37 +09:00
Yury Delendik
ae417b3863 Bug 1218029 - Adds ScriptLoadHandler and implements OnIncrementalData callback. r=djvj 2015-12-01 08:00:58 -06:00
Yury Delendik
10268b66cf Bug 1218029 - Adds IncrementalStreamLoader interface stubs. r=djvj 2015-11-30 08:54:11 -06:00
Mark Goodwin
aaff251982 Bug 1228451 - Set short-lived cert lifetime to the max OCSP response lifetime. r=keeler 2015-11-30 22:05:07 +00:00
Christoph Kerschbaumer
ed48ca2d92 Bug 1225641 - Change default security flags within NetUtil.newChannel (r=sicking) 2015-11-17 17:35:30 -08:00
Blake Kaplan
20a89c5ff7 Bug 1171215 - Compute third-partyness in the loadinfo instead of nsIHttpChannelInternal so that other protocols correctly respect the third-party cookie pref. r=sicking/ckerschb 2015-11-30 13:25:29 -08:00
Nicholas Nethercote
61111bc3ae Bug 1186783 (follow-up) - Bustage fix for Gonk. 2015-11-29 15:25:32 -08:00
Nicholas Nethercote
fc3ed84c27 Bug 1186783 (part 5) - Replace nsBaseHashtable::EnumerateRead() calls in netwerk/ with iterators. r=valentin. 2015-11-19 16:46:35 -08:00
Nicholas Nethercote
066c76341a Bug 1186783 (part 4) - Replace nsBaseHashtable::EnumerateRead() calls in netwerk/ with iterators. r=valentin. 2015-11-19 16:46:24 -08:00
Nicholas Nethercote
3972bc8629 Bug 1186783 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in netwerk/ with iterators. r=valentin. 2015-11-19 16:46:10 -08:00
Nicholas Nethercote
acba203d28 Bug 1186783 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in netwerk/ with iterators. r=valentin. 2015-11-19 16:44:24 -08:00
Nicholas Nethercote
6a729805d4 Bug 1186783 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in netwerk/ with iterators. r=valentin. 2015-11-19 15:31:28 -08:00
Patrick McManus
25317f88ad Bug 1133873 - some spdy logs r=hurley 2015-11-29 16:11:16 -05:00
Simon Montagu
3943af288f Bug 1218179: move from transitional to non-transitional IDNA2008 processing, r=jfkthame 2015-10-25 23:53:21 -07:00
Valentin Gosu
ed9421be16 Bug 1228640 - Backout bug 1183781 (changeset b9b6a1567ef6) for causing crash a=me 2015-11-28 00:20:01 +01:00
Carsten "Tomcat" Book
d229b39c6e merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
Daniel Stenberg
6088e2b735 Bug 1227931 - init Http2Stream::mReceivedData in the constructor. r=nwgh 2015-11-25 05:15:00 +01:00
Yoshi Huang
dc3740f0fa Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Jonathan Hao
d2a1b36abc Bug 1225422 - Update the PrivilegedPackageRoot certificate. r=keeler 2015-11-19 15:08:05 +08:00
Valentin Gosu
d7b0eedf84 Bug 1222352 - Resource Timing - nextHopProtocol does not work in e10s r=nwgh 2015-11-24 13:42:47 +01:00
Andrew McCreight
04b0b0df64 Bug 1226709 - Enable two mochitests that seem to work with e10s. r=bz 2015-11-20 11:19:00 +01:00
Jonas Sicking
7101cc3e8e Bug 1217456: Add a security flag for controlling redirects. Use this flag in fetch() implementation. r=bkelly,jduell 2015-11-23 18:47:10 -08:00
Carsten "Tomcat" Book
57241e3d5c Merge mozilla-central to mozilla-inbound 2015-11-25 13:57:30 +01:00
Valentin Gosu
a3e28c2d43 Bug 1226760 - ViewSource doesn't work for packaged app resources r=mcmanus
* The packaged app service should use the URI of the channel, not the URI of the channel's principal.
2015-11-25 12:44:43 +01:00
Ben Bucksch
a66fa9d022 Bug 1200802 - Accept RFC1929 SOCKS credentials in proxyInfo. r=michal 2015-11-24 22:56:00 +01:00
Shih-Chiang Chien
811b5aa235 Bug 1225726 - enable nsDNSServiceDiscovery on OS X. r=mcmanus. 2015-11-18 14:02:31 +08:00
Patrick McManus
5a8d15f87c Bug 1174899 - discarded spdy data with fin attributed to wrong stream r=bagder 2015-11-22 16:23:18 -05:00
Patrick McManus
158be4c25e Bug 1174899 - fixup log format strings for spdy/h2 r=bagder 2015-11-20 15:33:04 -05:00
Valentin Gosu
42dfafc455 Bug 1183781 - Small leak in DNS.cpp and nsHostResolver.cpp r=sworkman
* makes AddrInfo extend nsISupports
* uses RefPtr for managing AddrInfo and nsHostResolver in nsHostResolver.cpp
2015-11-23 13:02:41 +01:00
Jan Varga
6abef8f019 Bug 961049 - Part 3: Move PersistenceType serializer from indexedDB to quota module; r=baku 2015-11-22 10:43:34 +01:00
Ehsan Akhgari
c31b75ac2a Bug 1210302 - Part 6: Update the documentation of the methods in the IDL file; r=mcmanus 2015-11-20 16:32:56 -05:00
Ehsan Akhgari
6ea5bf1aeb Bug 1210302 - Part 5: Add a unit test for parseRequestContentType; r=mcmanus 2015-11-20 16:32:54 -05:00
Wes Kocher
2070bf565f Merge m-c to fx-team, a=merge 2015-12-01 16:11:47 -08:00