Commit Graph

14011 Commits

Author SHA1 Message Date
Honza Bambas
4476c148e4 Bug 1333568. r=valentin 2017-02-18 11:35:50 -05:00
Ehsan Akhgari
6e2196bced Bug 1340695 - Perform a case insensitive string comparison in RustURL::SchemeIs(); r=mcmanus 2017-02-18 09:41:58 -05:00
Ehsan Akhgari
39ca2d769a Bug 1340712 - Remove MOZILLA_INTERNAL_API ifdef's from nsNetUtil.cpp; r=mcmanus
The C++ code inside libxul always uses the internal API.
2017-02-18 09:41:52 -05:00
Wes Kocher
a85d979e21 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 18xg2cleATb
2017-02-17 13:51:01 -08:00
Wes Kocher
8c4ce17711 Merge inbound to m-c a=merge
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Honza Bambas
bb033696f7 Bug 1324419 - Use QueryObject for nsHttpChannel. r=mcmanus
--HG--
extra : rebase_source : 192a4705e4e91bc393a283743a1ad8880da6aeba
2017-02-17 08:08:00 -05:00
Honza Bambas
7c53975ce1 Bug 1328791 - Fix trusted uri list parser for Negotiate/NTLM auth. r=jduell 2017-02-16 13:40:00 -05:00
Honza Bambas
161afb3eae Bug 1326136 - Let nsHttpConnection close it's transaction on shutdown. r=mcmanus
--HG--
extra : rebase_source : 64ace3aba1174b82d74d3b872395dcc9e44c8a12
2017-02-16 06:50:00 -05:00
Dragana Damjanovic
7d8caf031b Bug 1338876 - Test for a digest auth. r=mcmanus
--HG--
extra : rebase_source : 2a0e7a7ded147c6fd19a9bc60a552408d7acb7d7
2017-02-17 10:44:36 -05:00
Vedant Sareen
7d4bd52fae Bug 1330907 - Rename Telemetry::ID to Telemetry::HistogramID. r=dexter
Changed |print("enum ID : uint32_t {", file=output)| to |print("enum HistogramID : uint32_t {", file=output)| at line 53 of the file |toolkit/components/telemetry/gen-histogram-enum.py|, and then replaced all the textual occurrences of |Telemetry::ID| to |Telemetry::HistogramID| and |ID| to |HistogramID| in 43 other files.
2017-02-16 00:45:15 +05:30
Carsten "Tomcat" Book
afe4d4b240 merge mozilla-inbound to mozilla-central a=merge 2017-02-17 13:24:55 +01:00
David Major
cb834f6908 Bug 1340030: Remove necko_standalone lib (netwerk/standalone/). r=mcmanus
The only users of this library were removed by bug 1239866 and bug 1239870 as part of the larger removal of libxpcomrt in bug 1237409.
2017-02-17 15:17:39 +13:00
Wes Kocher
adaec16e2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: HtopB4vot9e
2017-02-16 17:23:00 -08:00
Blake Kaplan
7f89fb24f2 Bug 1335989 - Avoid a second copy when sending substrings through IPC. r=billm
MozReview-Commit-ID: HF27bYPH7Uq

--HG--
extra : rebase_source : 3b919d462068d76862e38401be1db9add1aebd05
2017-02-15 16:26:04 -08:00
Blake Kaplan
2620a3cb0c Bug 1335989 - Split aData into smaller chunks to avoid going over the IPC message size limit. r=billm
Unfortunately, this copies each chunk twice (once for the PromiseFlatString
and again for the message itself). At first blush it's hard to avoid the
double copy, but it seems like we could make this better.

MozReview-Commit-ID: F7ujVhUj596

--HG--
extra : rebase_source : 110681cdfe5c05ea735cdc60455e915a70bed3dd
2017-02-14 15:27:06 -08:00
Eric Rahm
6d6da9f240 Bug 1332202 - Followup to fix comment to say infallible. DONTBUILD r=me
MozReview-Commit-ID: ByRWrv7nGnM
2017-02-16 11:52:54 -08:00
Carsten "Tomcat" Book
f3b2544de0 Merge mozilla-central to autoland 2017-02-16 13:20:11 +01:00
Carsten "Tomcat" Book
b218b4c6ae merge mozilla-inbound to mozilla-central a=merge 2017-02-16 13:15:55 +01:00
Dragana Damjanovic
fc793df53d Bug 1338876 - Read ww-auth properly. r=mcmanus
--HG--
extra : rebase_source : 61d54449f04d82ff58358315917558f276bba326
2017-02-15 20:38:59 -05:00
Wes Kocher
3797956aa6 Merge m-c to inbound a=merge
MozReview-Commit-ID: BemR756HJnR
2017-02-15 16:33:03 -08:00
Wes Kocher
9738f2b4f7 Backed out 5 changesets (bug 1336510) for mass bustage a=backout CLOSED TREE
Backed out changeset 35d16d04d67d (bug 1336510)
Backed out changeset 41db22e0c13d (bug 1336510)
Backed out changeset 2075037694ed (bug 1336510)
Backed out changeset 71be73be6c4e (bug 1336510)
Backed out changeset 02ccacdbbb93 (bug 1336510)

MozReview-Commit-ID: Lx2kKu7JVvI
2017-02-15 13:40:12 -08:00
Michael Layzell
455475c58b Bug 1336510 - Part 5: Workaround lambda static analysis in nsMultiMixedConv, r=valentin
MozReview-Commit-ID: 7Mvh9aeCKOh
2017-02-15 15:32:44 -05:00
Bill McCloskey
194043ae97 Bug 1339289 - Give names to a lot of common runnables (r=ehsan)
MozReview-Commit-ID: 5IdvK6kgoAW
2017-02-15 12:30:01 -08:00
Jan Horak
cb8a1f1a44 Bug 1339372 - Abort during geolocation request when system DBus is not available; r=kanru
Under some special circumstances the system DBus is not available (for example in sandboxed environment).
This caused a crash during obtaining list of nearby wifi APs for determining user location. This patch
check result of dbus_bus_get() to avoid aborting.

MozReview-Commit-ID: LunRRdQQ4eL
***
Added braces

--HG--
extra : rebase_source : 40400b187a274d581c2f77081e1cddf589d39a78
2017-02-16 09:18:36 +01:00
Jonathan Hao
4bad12b164 Bug 1334690 - Isolate AlternateService mappings by Origin Attributes. r=mcmanus
MozReview-Commit-ID: LWfmmMn25zT

--HG--
extra : rebase_source : a1011393171cab727ae80652b49f928dad50291f
2017-02-14 16:49:59 +08:00
Jonathan Hao
020a6ee9a8 Bug 1334690 - Test that AlternateService is isolated by origin attributes. r=mcmanus
MozReview-Commit-ID: 3e6eiB5roVt

--HG--
extra : rebase_source : 57e16386780d3bf52e5557f3570a8835eb99e361
2017-02-16 17:50:55 +08:00
Junior Hsu
138b96c6ca Bug 1325322 - add HTTP_NET_VS_CACHE_* for large time span, r=michal
MozReview-Commit-ID: L8IISZ1SFCh

--HG--
extra : rebase_source : 67d8c08288023279f431ebaebdddedbca2fa071b
2017-02-14 01:31:00 +08:00
Ehsan Akhgari
c5652aad98 Bug 1339129 - Remove access to HTTP-only cookies from the child process; r=jdm 2017-02-14 10:01:47 -05:00
Carsten "Tomcat" Book
6215212efa Merge mozilla-central to mozilla-inbound 2017-02-14 13:41:43 +01:00
Junior Hsu
a9616aa8f5 Bug 1338154 - not normalize ipv4 for resource and chrome uri. r=valentin 2017-02-13 03:10:00 +08:00
Shih-Chiang Chien
54bcd3b5da Bug 1334068 - proxy release main-thread-only references in nsHttpChannel and HttpBaseChannel. r=mayhemer
MozReview-Commit-ID: 9lojerCPhSb

--HG--
extra : rebase_source : fe493862b74c9fc2be5358e70ef03deae318ad8d
2017-02-07 10:37:11 +08:00
Wes Kocher
252dae269a Merge inbound to central, a=merge
MozReview-Commit-ID: Gx7IszkCDZ4
2017-02-13 17:04:20 -08:00
Sebastian Hengst
ebe4ae4dc3 Backed out changeset c27179ee59e9 (bug 1339129) for failing xpcshell tests netwerk/cookie/test/unit_ipc/test_ipc_parser_0001.js and test_ipc_parser_0019.js. r=backout 2017-02-13 21:23:52 +01:00
Michael Layzell
a71fd85f7d Bug 1339153 - Part 1: Correctly emulate missing headers in nsViewSourceChannel::GetResponseHeader, r=bz
MozReview-Commit-ID: 34bCA7wKkmh
2017-02-13 14:42:24 -05:00
Ehsan Akhgari
cbdcae43c2 Bug 1339129 - Remove access to HTTP-only cookies from the child process; r=jdm 2017-02-13 14:08:38 -05:00
Valentin Gosu
d28a501a3f Bug 1339809 - Update rust-url to version 1.4.0 r=froydnj
MozReview-Commit-ID: 90Pe9sh91S5

--HG--
extra : rebase_source : 117b3e44a3ceffa9b36cb409b1ae8bf7f0287bad
2017-02-15 16:05:11 +01:00
Sylvestre Ledru
0b79b69876 Bug 1338086 - Remove useless else blocks in order to reduce complexity in netwerk/ r=dragana
MozReview-Commit-ID: 2TSxhHWmL2H

--HG--
extra : rebase_source : a8a70bfc3aec34b85d20021036bd2c13cdcfe5f3
2017-02-09 11:21:38 +01:00
Valentin Gosu
6ea6d93279 Bug 1325081 - Change nsHttpChannel to be able to race network with cache r=michal
MozReview-Commit-ID: LmIK9RiKsKp

--HG--
extra : rebase_source : f908b168eb76781e3f398efed9b111a0aca63c29
2017-02-16 15:20:13 +01:00
Valentin Gosu
bc75a46d4a Bug 1325081 - Add interface to delay the cache fetch in order to test network-cache racing of HTTP requests r=michal
MozReview-Commit-ID: 96fSzPw8FHi
* * *
[mq]: over1

MozReview-Commit-ID: 80RePXK1TbR

--HG--
extra : rebase_source : a89470efe71442fb6af36e74ac582e232557f81d
2017-02-15 20:44:09 +01:00
Tom Tromey
d2667a2b27 Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
MozReview-Commit-ID: 2E8FoiNxU8L

--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Tom Tromey
5f8f360823 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs

--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Tom Tromey
0f3e91830a Bug 1060419 - make nsHttpHandler.cpp use Printf.h, r=froydnj
MozReview-Commit-ID: 5oMUmsrQV3k

--HG--
extra : rebase_source : a1e8bef0d98d616a20872497213f10261d2cf511
2016-12-09 10:23:00 -10:00
Tom Tromey
8b46780e10 Bug 1060419 - make nsCookieService.cpp use Printf.h, r=froydnj
MozReview-Commit-ID: G2ge9NFbDV6

--HG--
extra : rebase_source : 0f83efba40734408fab3e3b523349202c7b448fb
2016-12-09 10:21:55 -10:00
Tom Tromey
f8ab4ddf02 Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
MozReview-Commit-ID: JifhpA3oOeH

--HG--
extra : rebase_source : 08460997dc3fd91f3065c718e17b41bb4acf8bae
2016-12-09 10:00:01 -10:00
Nicholas Hurley
31b98bda83 Bug 1312754 - Add a service to throttle certain HTTP channels. r=mayhemer
This patch adds (and hooks up) a new service so that HTTP channels marked as
"Throttleable" will periodically be Suspend()ed and Resume()d when more
important operations are going (such as a page load).

While this patch is not responsible for marking channels as "Throttleable",
the general idea is that these would be less-important channels - background
downloads, beacons, etc, and perhaps even resources known to be trackers.

MozReview-Commit-ID: HEZsxS04rRK

--HG--
extra : rebase_source : 03cce85fe7df782e1f6e2da9e5a99997b796aba2
2017-01-10 06:39:18 -08:00
Nicholas Hurley
daad6c8f13 Bug 1312754 (prereq) - Fix compile issues caused by shuffling around unified files. r=mayhemer
MozReview-Commit-ID: 1FIopeftM6G

--HG--
extra : rebase_source : 8c2bae2051b1459b7304a1208990193581fa84d9
2017-01-10 06:34:49 -08:00
Liang-Heng Chen
ce7d6c91d6 Bug 1028195 - make proxy bypass rule consistent; r=bagder
MozReview-Commit-ID: CMAUt1p3L3u

--HG--
extra : rebase_source : 4a33d2ebd55aa501acf74100273490af9c521c63
2017-02-08 15:10:02 +08:00
Nils Ohlmeier [:drno]
0a462392c1 Bug 1317946: unit test for zero length UDP messages. r=schien
MozReview-Commit-ID: Gemk8EiUO31

--HG--
extra : rebase_source : cd3fc124e4a710b6613b19a79028df5aae4a227c
2017-01-06 15:35:08 -08:00
Nils Ohlmeier [:drno]
73dd4c356c Bug 1317946: allow sending of zero length buffers. r=schien
MozReview-Commit-ID: 4vNPewYScEF

--HG--
extra : rebase_source : d678703429b39a2a8bb2127f5fc55528a38fd480
2017-01-13 23:54:51 -08:00
Nils Ohlmeier [:drno]
90182d07b4 Bug 1317946: allow receiving zero size UDP messages. r=schien
MozReview-Commit-ID: B8B1yDOPi3h

--HG--
extra : rebase_source : a0f87bc33584a24a148c0b7aea182da71f7ffdfb
2017-01-04 13:44:14 -08:00