Commit Graph

13466 Commits

Author SHA1 Message Date
Tim Huang
33effa2da2 Bug 1277803 - Part 4: Make the NS_CompareLoadInfoAndLoadContext() skiping test if the request is the favicon loading from the XUL image. r=honzab 2016-10-06 00:57:00 -04:00
Carsten "Tomcat" Book
7333917288 Merge mozilla-central to mozilla-inbound 2016-10-06 12:28:03 +02:00
Carsten "Tomcat" Book
7c8e81673d merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00
Michal Novotny
e700b41079 Bug 1249304 - Optimize sorting of CacheIndex::mFrecencyArray, r=honzab 2016-10-06 11:23:52 +02:00
Christoph Kerschbaumer
fb07f658e3 Bug 1305012 - Downgrade a new channel's principal to NullPrincipal. r=smaug 2016-10-05 21:19:51 +02:00
Valentin Gosu
cb9ff464f6 Bug 1289001 - Add code to GetValidatedAppInfo to figure out why it fails r=jduell 2016-10-05 18:50:08 +02:00
Carsten "Tomcat" Book
3522f1d38a merge mozilla-inbound to mozilla-central a=merge 2016-10-05 15:42:48 +02:00
Wei-Cheng Pan
afc64a42d6 Bug 1307364 - Use MOZ_MUST_USE in netwerk/protocol/file r=valentin
MozReview-Commit-ID: 4EaTsMOpy0n

--HG--
extra : rebase_source : 75a381c4cd9d6e90a3e366c5e59eb0167216589b
2016-10-03 14:54:40 +08:00
Wei-Cheng Pan
bb8702d5d8 Bug 1307360 - Use MOZ_MUST_USE in netwerk/protocol/device r=valentin
MozReview-Commit-ID: Kc7a7GksoZl

--HG--
extra : rebase_source : 3c42b88d4780c21401a1e10c87d3e51b83faba5c
2016-10-03 14:54:10 +08:00
Wei-Cheng Pan
d82b36b981 Bug 1307331 - Use MOZ_MUST_USE in netwerk/protocol/data r=valentin
MozReview-Commit-ID: IikVyLjQN31

--HG--
extra : rebase_source : 574d28a6534c4a0e0ed92576896d9404e671fa7d
2016-10-03 14:54:01 +08:00
Wei-Cheng Pan
9c31ea2777 Bug 1307052 - Use MOZ_MUST_USE in netwerk/protocol/about r=valentin
MozReview-Commit-ID: 7G0vF9Jt7Hj

--HG--
extra : rebase_source : 03cb108736d9922e9569f718cf7ad3027ae60b2a
2016-10-03 14:53:30 +08:00
Bill McCloskey
f478d1188c Bug 1306708 - Rename prio to nested in IPDL (r=dvander) 2016-10-04 20:34:54 -07:00
Wes Kocher
5a2fb874ca Merge inbound to central, a=merge 2016-10-04 17:32:01 -07:00
Tom Schuster
774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
David Keeler
c3c34a8853 bug 1301407 - ensure PSM is initialized on the main thread before doing a speculative connect r=mcmanus
MozReview-Commit-ID: Bc9KiN3Qw1E

--HG--
extra : rebase_source : f531db52fa1e3f17a354922dbf4f73160bcb9458
2016-09-22 14:54:48 -07:00
Sebastian Hengst
dd7aeb94f5 Bug 1306397 - Remove B2G event 'network-active-changed' and consumers from non-B2G/Gonk files: netwerk. r=mayhemer
MozReview-Commit-ID: 5YfclnGR0NZ

--HG--
extra : rebase_source : b8ed82ec35ce51c67f34cf6d4fd6251ca2f48c10
2016-09-29 19:53:44 +02:00
Christoph Kerschbaumer
b0951acfc5 Bug 1302539 - X-Content-Type-Options: nosniff should not apply to images (temporarily). r=dveditz 2016-09-30 09:38:44 +02:00
Cameron McCormack
b5dafca7ed Bug 1300720 - Part 1: Prevent file:, chrome: and resource: URIs from using an external protocol handler. r=honza
MozReview-Commit-ID: 51r5lObSRwx
2016-10-03 12:43:15 +08:00
Jesper Kristensen
05fa4f284c Bug 777620 - Support access to private prowsing cookies in nsICookieManager. r=jduell
MozReview-Commit-ID: G97YHqCOpM6

--HG--
extra : rebase_source : 9faaa28f12e8e25dcf1b951fa86a1b40d65b251c
2016-03-31 18:29:27 +02:00
Honza Bambas
c9cce146d4 Bug 1306033 - Only fatal console warnings on failures of OpenAlternativeInputStream in HTTP cache. r=michal
--HG--
extra : rebase_source : 147258f504b3ce5433739b09c96ee68ffec30c0d
2016-09-29 07:26:00 -04:00
Carsten "Tomcat" Book
53c63f69db Merge mozilla-central to mozilla-inbound 2016-09-30 12:08:17 +02:00
Carsten "Tomcat" Book
6636b09ddd merge mozilla-inbound to mozilla-central a=merge 2016-09-30 12:02:16 +02:00
Sebastian Hengst
44e1cda2da Backed out changeset acffb71ed793 (bug 1302539) for failing wpt /fetch/nosniff/image.html at least on Linux. r=backout 2016-09-30 11:38:18 +02:00
Christoph Kerschbaumer
4b96f5df9e Bug 1302539 - X-Content-Type-Options: nosniff should not apply to images (temporarily). r=dveditz 2016-09-30 09:38:44 +02:00
Andrea Marchesini
a3e7227683 Bug 1280590 - nsICookieManager2.cookieExists must use the originAttributes - part 2, r=me 2016-09-30 08:30:15 +02:00
Andrea Marchesini
14d32a0990 Bug 1280590 - nsICookieManager2.cookieExists must use the originAttributes, r=smaug 2016-09-30 08:24:21 +02:00
Nicholas Hurley
8739dd3c4e Bug 1297554 - Perform a gNeckoParent-ectomy r=billm,mcmanus
MozReview-Commit-ID: 7WQE8MhWlYr

--HG--
extra : rebase_source : 46545fa7485c8ba7ce4b0b4dc48a377b68a2ff80
2016-09-21 12:21:00 -07:00
Wes Kocher
673a0db365 Backed out changeset 57e78c503c4e (bug 1294450) for build bustage a=backout 2016-09-28 17:38:00 -07:00
Josh Matthews
facc06fda2 Bug 1294450 - Make AutoIPCStream favour PSendStream for large input streams. r=froydnj
--HG--
extra : rebase_source : 764aa593bd2734ca15d556a0b5ca55e3f69d25bb
2016-09-28 18:38:51 -04:00
jdarcangelo
d0dcd5ee76 Bug 1299866 - [FlyWeb] mDNS services discovered remain after network change;r=djvj 2016-09-28 12:56:17 -04:00
Michael Kaply
45150edb90 Bug 209637 - Add support for application/vnd.wap.xhtml+xml. r=bz 2016-09-28 09:48:17 -05:00
Carsten "Tomcat" Book
b5206d37f5 Merge mozilla-central to mozilla-inbound 2016-09-28 16:25:01 +02:00
Carsten "Tomcat" Book
572e74ee99 merge mozilla-inbound to mozilla-central a=merge 2016-09-28 15:56:33 +02:00
Carsten "Tomcat" Book
baff2f0613 Backed out changeset 885e361d4c73 (bug 1280590) for xpcshell bustage 2016-09-28 15:08:45 +02:00
James Andreou
a47ce92ac2 Bug 1282124 - Remove nsILoadInfo.usePrivateBrowsing and the SEC_FORCE_PRIVATE_BROWSING flag; r=smaug,jryans 2016-09-27 16:56:44 -04:00
Kate McKinley
c57d400961 Bug 1246540 - HSTS Priming Proof of Concept. r=ckerschb, r=mayhemer, r=jld, r=smaug, r=dkeeler, r=jmaher, p=ally
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.

MozReview-Commit-ID: ES1JruCtDdX

--HG--
extra : rebase_source : 2ac6c93c49f2862fc0b9e595eb0598cd1ea4bedf
2016-09-27 11:27:00 -04:00
Valentin Gosu
632626f639 Bug 1231565 - (Part 4) Test that large alt-data content can be saved, and that streaming works r=honzab
--HG--
rename : netwerk/test/unit/test_alt-data_simple.js => netwerk/test/unit/test_alt-data_stream.js
rename : netwerk/test/unit_ipc/test_alt-data_simple_wrap.js => netwerk/test/unit_ipc/test_alt-data_stream_wrap.js
2016-09-27 10:26:32 +02:00
Valentin Gosu
29eff7dfe4 Bug 1231565 - (Part 3) Make alt-data responses report the correct content length r=michal
MozReview-Commit-ID: DvQP7NB4SqW
2016-09-27 10:26:00 +02:00
Andi-Bogdan Postelnicu
55e8cb71fa Bug 1282408 - Add ignore-initialization-check annotation to variables mPeakSizeID and mPeakCountID from Http2BaseCompressor. r=valentin
MozReview-Commit-ID: H5DsehXu2nr
2016-09-28 11:08:44 +03:00
Andrea Marchesini
cd5d3f1870 Bug 1280590 - nsICookieManager2.cookieExists must use the originAttributes, r=smaug 2016-09-28 08:05:12 +02:00
Valentin Gosu
13ceec29f2 Bug 1303762 - Add UI to about:networking to turn on logging modules at runtime r=jaws,mcmanus 2016-09-29 12:03:49 -07:00
Wes Kocher
3209051dbb Backed out changeset e4508f246a86 (bug 1303762) for failures in browser_misused_characters_in_strings.js a=backout 2016-09-29 12:01:03 -07:00
Nathan Froyd
92e64e1b8c Bug 1305422 - part 4 - don't call size_forward in nsIDNService.cpp; r=erahm
We don't need to bother with iterators here at all; we can just ask the
string for its data and length directly.
2016-09-29 22:33:58 -04:00
Andrew Osmond
7c53a79c5a Bug 1275464 - Part 2. Move socket transport service thread shutdown to xpcom-shutdown-threads. r=dragana 2016-09-19 13:29:59 -04:00
Valentin Gosu
86d5a04ef7 Bug 1303762 - Add UI to about:networking to turn on logging modules at runtime r=jaws,mcmanus 2016-09-29 17:00:21 +02:00
Josh Matthews
ee8da66177 Bug 1294450 - Make AutoIPCStream favour PSendStream for large input streams. r=nfroydj 2016-09-29 06:20:00 +02:00
Carsten "Tomcat" Book
c89ca66d22 Backed out changeset 826cc48624a3 (bug 1280590) for windows m-oth and xpc crashes
--HG--
extra : rebase_source : 895634096f3c1e275ab4f74f1d93691f5b55e22c
2016-09-29 15:28:53 +02:00
Andrea Marchesini
f69927d55d Bug 1280590 - nsICookieManager2.cookieExists must use the originAttributes, r=smaug 2016-09-29 12:02:30 +02:00
David Keeler
cba6d0293c bug 1190674 - skip test_tls_server.js on XP for intermittent failures r=jryans,nwgh
MozReview-Commit-ID: Aud6qGQ1y6I

--HG--
extra : rebase_source : 62a6b5aff647bf2165b5a0763c4ce84436b05822
2016-09-26 15:46:29 -07:00
Francois Marier
16c0d80286 Bug 1302938 - Explain why user referrer trimming policy can be overriden. r=dragana
MozReview-Commit-ID: GfmeIu2WEGX

--HG--
extra : rebase_source : 386c056f51dd351e7713806cec2292f5a226e8ef
2016-09-27 13:25:35 -07:00