Граф коммитов

16167 Коммитов

Автор SHA1 Сообщение Дата
Dorel Luca dbe91ea7b6 Merge mozilla-central to autoland 2018-05-23 13:03:24 +03:00
Dorel Luca dc6d856805 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-23 12:51:22 +03:00
Jonathan Kingston 5054bfcd70 Bug 1463398 - Removal of deprecated newChannel() API on nsIIOService r=ckerschb
MozReview-Commit-ID: 5AwSnQhFtT2

--HG--
extra : rebase_source : e9e8a3109f045f5583389042b2c6dc187cf0b6a8
2018-05-22 13:09:41 +01:00
Daniel Stenberg 5fb821ffc0 bug 1463452 - lock the resolver in GetDNSCacheEntries r=valentin
MozReview-Commit-ID: AGQW8KcRlwb

--HG--
extra : rebase_source : 820569097cbe84f67fafe2ecfdcf10dbbeb5332c
2018-05-22 17:29:34 +02:00
Kris Maglione 8340513b0c Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz
Using concrete class types with static IIDs in QueryInterface methods is a
pretty common pattern which isn't supported by any existing helper macros.
That's lead to separate ad-hoc implementations, with varying degrees of
dodginess, being scattered around the tree.

This patch adds a helper macro with a canonical (and safe) implementation, and
updates existing ad-hoc users to use it.

MozReview-Commit-ID: HaTGF7MN5Cv

--HG--
extra : rebase_source : ace930129d85960d22bc3048ca3bb19bbbd4a63e
extra : histedit_source : 03a87f746d957789d41381e4e1bfcc4fd7eebaf2%2C9c5bae9feeeef7721105db67be0f83e0ded66bb7
2018-05-21 16:33:18 -07:00
Kris Maglione 6b12d08f7d Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj
MozReview-Commit-ID: Iv4T1MVAF5

--HG--
extra : rebase_source : 1c518883d082884db7f9323a5acc20361228c26b
extra : histedit_source : 70a73c23d1199d3bfbb5379c78930401166c094b
2018-05-19 20:17:45 -07:00
shindli 4ff26c26f4 Merge inbound to mozilla-central. a=merge 2018-05-22 00:29:52 +03:00
Ben Kelly 8e95453379 Bug 1462464 Copy reserved and initial ClientInfo over when HttpChannelParent sees the special InterceptedHttpChannel redirect. r=valentin 2018-05-21 10:15:30 -07:00
Daniel Stenberg 06c7a72bf8 bug 1460327 - make the DNS packet decoder verify the answer qname r=mcmanus
... and before chasing a cname, check if the address record for that
CNAME is actually in fact already provided in the DNS packet that passed
on the CNAME!

Some existing tests ajusted for this. Two new tests added.

MozReview-Commit-ID: CBMO7N7jMEX

--HG--
extra : rebase_source : 1110a8df6d89fcbb0ad2a35b3762b837ce7a1e18
2018-05-08 19:30:07 +02:00
Patrick McManus f18aa94399 Bug 1462357 - remove the channel and socket interface id r=bagder,baku
the id was a b2g feature only settable via chrome privd xhr and is no
longer active in the code base

MozReview-Commit-ID: 84GPNvhvjNb

--HG--
extra : rebase_source : ab5c2229b98e1407b8b74ef2ee00dcfea45e046a
2018-05-16 16:05:03 -04:00
Nils Ohlmeier [:drno] bf1ee00dc5 Bug 1439236: exit early if m_copym gets called with null ptr r=dminor
Cheery-picked upstream commit:
d89882d049

MozReview-Commit-ID: 36bYbfIaqEz

--HG--
extra : rebase_source : 334b13ec00e9d82346a2c6ebfdadaf87b6161406
2018-05-16 09:51:35 -07:00
Jan de Mooij 17f3983d0f Bug 1461605 part 1 - Rename CompartmentOptions to RealmOptions. r=luke,bz 2018-05-17 10:59:45 +02:00
Jon Coppeard 8d493df52b Bug 1444956 - Support BinAST decoding in the script loader r=baku 2018-05-16 15:58:13 +01:00
Jan de Mooij 80e44e8003 Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke 2018-05-16 10:53:16 +02:00
Chris Peterson 94658984be Bug 1461243 - Part 2: Remove unused functions NS_CheckIsJavaCompatibleURLString() and NS_MakeRandomInvalidURLString(). r=jimm
These functions were only used in some Java workarounds in NPAPI _getproperty.

MozReview-Commit-ID: FqCd5ss1VqQ

--HG--
extra : rebase_source : b1513e5dbdcf652b401529a5e3f9cfce09a73a62
extra : intermediate-source : 54c6b063aecba84c5a40bb1b1c298278b3d0b320
extra : source : 53754664b3c6eb49f3a9367e38776bf32739b85c
2016-11-22 01:10:40 -08:00
Kris Maglione 1ff74da18d Bug 1461590: Lower-case hostnames when adding substitutions. r=smaug f=dveditz
Since URI hostnames are defined to be case-insensitive, we only ever see
lower-case hostnames when looking up substitutions. That means that
substitutions containing capital letters are inaccessible, which is a footgun
that has hit many people.

The handler should lower-case substitutions when they're added so that
look-ups are always case-insensitive.

MozReview-Commit-ID: C936hS2cSyY

--HG--
extra : rebase_source : a70e8ceb822879e51c3a40232b7dffdfb9c0a185
2018-05-15 13:02:08 -07:00
Drew Willcoxon 093e6d0259 Bug 1239708: Improve awesomebar autofill. Part 1: Core follow-ons. r=mak
MozReview-Commit-ID: 1mfqU6mOyR9

--HG--
extra : rebase_source : 0750532c3e7cc1a3488387091afbfb68279a46b8
2018-05-14 11:21:47 -07:00
Adrian Wielgosik af5b239997 Bug 1460940 - Remove nsIDOMDocument uses in netwerk/. r=bz
MozReview-Commit-ID: QkZ36LGoBx

--HG--
extra : rebase_source : 5aa83c576f269a6f33a1fb7ea7a61bd63a3c0c25
2018-05-11 19:46:15 +02:00
Patrick McManus b6c1ea5823 Bug 1461182 reduce nsHostRecord overhead by about 40 bytes r=bagder
MozReview-Commit-ID: DvmJE5LcDwQ

--HG--
extra : rebase_source : dd06d83231a4c7fb187f68b34573b115bb82322e
2018-05-12 14:36:26 -07:00
Dragana Damjanovic df73f67e06 Bug 1436311 - Fix a bug in suspending a ftp channel during a divertion from the child to the parent. r=jduell
--HG--
extra : amend_source : f994e9737b607efd5922685c498d8f78c49d5be6
2018-04-27 11:41:00 -04:00
Valentin Gosu c139a8886a Bug 1460198 - When calling SetRef/SetQuery/SetPathQueryRef you should do the same for the inner URI r=bz
MozReview-Commit-ID: C7GCPgU2RJb

--HG--
extra : rebase_source : 895ec63d01244e358e1fdf067ddb2425b6b69742
2018-05-12 16:30:07 +02:00
Nicholas Hurley 9ac69d34c4 Bug 1460313 - Remove unused mForTakeResponseHead. r=mcmanus
MozReview-Commit-ID: BIJvKrEeKiV

--HG--
extra : rebase_source : f493ad4ac213530f3a27454a8ebda031345f8bd9
2018-05-11 01:23:50 -07:00
YUKI "Piro" Hiroshi dd7b3aab39 Bug 1457395 - Fix typo "proces" in comments. r=milan
--HG--
extra : amend_source : 36cf036803ff9bffaebb66fc31ff7b960f0c7509
2018-05-10 16:56:09 +09:00
Dorel Luca 956b982878 Merge mozilla-central to mozilla-inbound 2018-05-11 01:04:57 +03:00
Dorel Luca d32e085275 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-11 00:59:14 +03:00
Csoregi Natalia 88704238f1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-10 19:46:00 +03:00
Daniel Stenberg ced57782d6 Bug 1460330 - Always use use TTL with TRR. r=mcmanus 2018-05-10 06:32:00 -04:00
Daniel Stenberg 4f75cae7c6 Bug 1452436 - Callback when resolving a host already in progress. r=mcmanus
If a callback has already been called for the hostrecord, it is
partially resolved already by TRR so the new callback should be called
at once.
2018-05-10 05:36:00 -04:00
Daniel Stenberg 7edaccb568 Bug 1460589 - Add DNS vs TRR success/fail telemetry counter. r=mcmanus 2018-05-10 07:02:00 -04:00
Daniel Stenberg b91a1dbbc5 Bug 1460305 - Add DNS_PREMATURE_EVICTION telemetry probe. r=mcmanus
Counts age of non-expired DNS cache entries being evicted.
2018-05-10 06:20:00 -04:00
Valentin Gosu 3814b161a4 Bug 1451262 - Call NS_ProcessPendingEvents after StopSSLServerCertVerificationThreads r=mayhemer
If there are still pending events after we null out gSocketThread, OnSocketThread() will always return false, which can trigger assertions.

MozReview-Commit-ID: CovFIU3cKL

--HG--
extra : rebase_source : e025dce2a347249be7a259fdcca2c6a8c6040d13
2018-05-10 10:37:24 +02:00
Cosmin Sabou a916fb7c3e Merge inbound to mozilla-central. a=merge 2018-05-09 20:27:38 +03:00
Andrea Marchesini b5118e1ddf Bug 1302449 - Remove the "referrer" directive in CSP, r=ckerschb 2018-05-09 13:15:08 +02:00
Margareta Eliza Balazs eb6c5214a6 Merge inbound to mozilla-central. a=merge 2018-05-09 12:33:51 +03:00
Nicholas Hurley e648506f89 Bug 1460251 - Up cookie limit to 180 per host and expose prefs. r=mcmanus
MozReview-Commit-ID: 1zFMQ4pbntp

--HG--
extra : rebase_source : 3a0537b63bedaa50f8c59985f24ff9f718cd2814
2018-05-08 04:45:20 -07:00
Randell Jesup 734a1bb77d Bug 1457323: Add network markers to Content processes, add redirects and improve markers r=mstange
Markers exist in Master and each Content process has markers for it's own
loads.  Note that there may be a time delay between content and master.
2018-05-08 15:50:39 -04:00
Ciure Andrei de05fd66c8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-09 02:02:05 +03:00
Mark Banner 9c03ace970 Bug 1458235 - Fix various cases where Assert.ok or Assert.equal have been called wrongly. r=Gijs
MozReview-Commit-ID: Br3lKpKNVQJ

--HG--
extra : rebase_source : 972c69ecf63bb522b0f368e3c388f4eff558bbe3
2018-05-01 22:15:43 +01:00
arthur.iakab 2f2f2ffdbf Merge mozilla-central to inbound 2018-05-08 15:44:33 +03:00
Chris Peterson 71422dcaa9 Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent

MozReview-Commit-ID: KuUsnVe2h8L

--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Jason Duell edbb85e76e Bug 1459882 - Manually update the public suffix list. r=valentin
--HG--
extra : rebase_source : 4a869a15dd0e2ebfa4b6711e2010ded401ecc9e6
2018-05-08 04:36:00 -04:00
Stephen A Pohl b5c7b7b14c Bug 1366808: Add about:restartrequired page for situations when a background update has occurred and restarting Firefox is required to continue. r=felipe 2018-05-08 10:31:37 -04:00
Nicholas Hurley 5c3056ee3b Bug 1436610 - Send "TE: Trailers" header on h2 requests. r=mcmanus
MozReview-Commit-ID: 6Hpj5RcCb4I

--HG--
extra : rebase_source : aceb78d9fbf6a3cbb898fba7f0fa43a3d4ef9baa
2018-02-22 10:57:01 -08:00
Valentin Gosu bd4365d7e7 Bug 1448058 - Remove nsIMutable from URI implementations r=mayhemer
* Also removes NS_TryToMakeImmutable, NS_TryToSetImmutable, URIIsImmutable
* NS_EnsureSafeToReturn, nsINetUtil.toImmutableURI

MozReview-Commit-ID: 5eFtFm2CQt7

--HG--
extra : rebase_source : 1f3d23ec646883e76844d42113bc1c71c01a1ad7
2018-05-09 18:21:24 +02:00
Andrea Marchesini 183a361d75 Bug 1450302 - nsInputStreamPump should interrupt the reading of the inputStream when suspended, r=michal 2018-05-05 22:58:43 +02:00
Nathan Froyd 709477d79d Bug 1459035 - micro-optimize refcounting for nsSocket{Input,Output}Stream; r=valentin 2018-05-04 13:52:02 -04:00
Andrea Marchesini 5c5b562242 Bug 1458821 - Rename nsIAsyncFileMetadata.asyncWait to asyncFileMetadataWait, r=smaug 2018-05-03 17:03:17 +02:00
Daniel Stenberg cc57e08b25 bug 1450630 - use DataStorage in main thread only r=mcmanus
Move the TRR blacklist check to the main thread, and since it is now
done a little later and for each separate request, make sure to only do
the telemetry counting for one of the record types (A) so that we don't
count them twice.

MozReview-Commit-ID: BgvU4TzrpCq

--HG--
extra : rebase_source : 304bc75a6f22963b51e89034de1b30506337b6ec
2018-04-30 09:08:07 +02:00
Andi-Bogdan Postelnicu 3f2298c2f6 Bug 1457411 - Update netwerk module to make use of newer methods introduced with c++11 and c++14. r=valentin
MozReview-Commit-ID: 666LNaHyiuQ

--HG--
extra : rebase_source : f3a24e0342d8dcdf9020dd473bc6b1045cbc533b
2018-04-30 19:46:04 +03:00
arthur.iakab fe24b0fd35 Merge mozilla-central to autoland 2018-05-01 01:18:08 +03:00