Commit Graph

13998 Commits

Author SHA1 Message Date
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
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
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
Brian Hackett
01a649c197 Bug 1337112 - Remove links from JSRuntime to its single context and zone group, r=jandem,jonco.
--HG--
extra : rebase_source : ebf319af724d5f829cdf5c2386dc82d49be89989
2017-02-10 16:47:50 -07:00
Daniel Stenberg
e1b82a23c1 bug 1336069: init class member before return, r=mcmanus
MozReview-Commit-ID: GF008Ughmhv

--HG--
extra : rebase_source : 04cf9802f9fedbb88aae7879f64b95d72930f3d2
2017-02-10 00:06:00 +08:00
Sebastian Hengst
6d91e05a95 Backed out changeset 81388598aeac (bug 1325322) for build bustage, at least on Windows. r=backout 2017-02-13 13:21:47 +01:00
Junior Hsu
fe2150fcef Bug 1325322 - add HTTP_NET_VS_CACHE_* for large time span, r=michal 2017-02-13 00:53:00 +01:00
Wes Kocher
4062cb56a0 Merge inbound to central, a=merge
MozReview-Commit-ID: FNYBhhHr4dg

--HG--
rename : netwerk/base/security-prefs.js => security/manager/ssl/security-prefs.js
2017-02-10 15:23:33 -08:00
Honza Bambas
a69e1886a4 Bug 1325655 - Let HttpChannelParent::ConnectChannel delete itself if redirect target nsHttpChannel is not found registered. r=valentin
--HG--
extra : rebase_source : 988ce351db0169a8552f2ed45e2b6c786fe247bb
2017-02-10 10:51:00 -05:00
Masatoshi Kimura
448874c0f1 Bug 1337748 - Move security-prefs.js from netwerk/ to security/manager/. r=keeler,mcmanus
MozReview-Commit-ID: 2TOJG6tRWJZ

--HG--
rename : netwerk/base/security-prefs.js => security/manager/ssl/security-prefs.js
extra : rebase_source : e11ef6fa7264edd41e77d65512a2183c737f34dd
2017-02-08 21:16:27 +09:00
Shih-Chiang Chien
07cf055e88 Bug 1338096 - correct the data type used in PHttpChannel.SetPriority(). r=mayhemer
MozReview-Commit-ID: k5paB7XsTV

--HG--
extra : rebase_source : 674d2bfc8343a4b66ed84627940a0795e7199906
2017-02-09 17:28:54 +08:00
Iris Hsiao
24ddf955dd Backed out changeset e887fb5d5d06 (bug 1337748) for eslint failure
--HG--
rename : security/manager/ssl/security-prefs.js => netwerk/base/security-prefs.js
2017-02-10 14:00:02 +08:00
Masatoshi Kimura
2154e8d95a Bug 1337748 - Move security-prefs.js from netwerk/ to security/manager/. r=keeler,mcmanus
MozReview-Commit-ID: 2TOJG6tRWJZ

--HG--
rename : netwerk/base/security-prefs.js => security/manager/ssl/security-prefs.js
extra : rebase_source : 4127a5c9676f24d17a0f38efed8e9ad558044b07
2017-02-08 21:16:27 +09:00
Shane Caraveo
c7c7bd4f51 Bug 1308640 bypass TP when addon has explicit permission to url, r=bz,kmag,mrbkap
MozReview-Commit-ID: BIhoUY2Ug8k

--HG--
extra : rebase_source : 29cc48becfa958ba8f50d254fa6f30fd1820aef9
2017-02-09 21:08:06 -08:00
Shih-Chiang Chien
4b485ef935 Bug 1325915 - Part 2, update comment for reseting event target of event queue after the completion of ServiceWorker interception. r=mayhemer
MozReview-Commit-ID: Dc2TbCwQfpO

--HG--
extra : rebase_source : f1a882bac48f03b8fadda430f84027c4c3ace010
2017-02-07 16:56:06 +08:00
Shih-Chiang Chien
4d6af6c71e Bug 1325915 - Part 1, derive transportStatus in HttpChannelParent ODA and derive progress/progressMax in child side. r=mayhemer
MozReview-Commit-ID: 41qlyHKMSFm

--HG--
extra : rebase_source : da54f269b4b186ad784b2351f39829922f08db89
2017-02-02 15:20:04 +08:00