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

4068 Коммитов

Автор SHA1 Сообщение Дата
Christoph Kerschbaumer debbccb785 Bug 1257930 - Update NetUtil.asyncFetch() to use asyncOpen2(). r=sicking 2016-04-14 19:49:01 +02:00
Tom Tromey a03b12c9e4 Bug 1265076 - make ArrayBufferInputStream obey readSegments contract; r=mcmanus
MozReview-Commit-ID: 7RSzey2vdPL

--HG--
extra : transplant_source : %CF%C4%99%F8%04%E9s%D9%0A%D3%2AH%97%D2%C2%C9%1C%CA%93n
2016-04-15 14:43:14 -06:00
Valentin Gosu ac02cc4197 Bug 548685 - Avoid null pointer deref in nsURIHashKey r=mcmanus
MozReview-Commit-ID: 5wCZ0DTHEUS
2016-04-19 15:46:34 +02:00
Mark Goodwin 33bbad3164 Bug 1264675 - Add content signature root hash to security preferences r=keeler,r=ulfr
MozReview-Commit-ID: 256b3zC6h1K
2016-04-15 12:04:14 +01:00
J.C. Jones 63f7ce5155 Bug 1244960 - Complete FIDO u2f NSSToken (Part 1). r=keeler, r=baku
- Merge in test changes from Bug 1255784.
- Remove the unnecessary mutex
- Stop doing direct memory work in NSS Token
- Clean up direct memory work in ContentParent
- In order to store persistent crypto parameters, the NSSToken had to move
  onto the main thread and be interfaced with via IDL/IPDL.
- Support Register/Sign via NSS using a long-lived secret key
- Rename the softtoken/usbtoken "enable" prefs, because of hierarchy issues
  with the WebIDL Pref shadowing.
- Also orders the includes on nsNSSModule.cpp
- Attestation Certificates are in Part 2.

Updates per keeler review comments:

- Use //-style comments everywhere
- Refactor the PrivateKeyFromKeyHandle method
- Rename the logging and fix extraneous NS_WARN_IF/logging combinations
- Other updates from review

April 11-12:

- Correct usage of the "usageCount" flag for PK11_UnwrapPrivKey
- Rebase up to latest

April 15:
- Rebase to latest

MozReview-Commit-ID: 6T8jNmwFvHJ

--HG--
extra : transplant_source : w%26%CES%2Cu%04%3EAl%04%2Cb%E2v%C9%08%3A%CC%F4
2016-04-15 09:29:12 -07:00
Johann Hofmann 3676aeefc2 Bug 1242886 - Change learn more link for unknown issuers on about:certerror. r=gijs 2016-04-08 16:01:51 +02:00
Dragana Damjanovic e72aa9a9f1 Bug 1125916 - Check whether loadInfo and loadContext match. r=sicking, r=jduell
--HG--
extra : rebase_source : 582977113d0e3e15913120232300478835ef1384
extra : histedit_source : 7d3f02b68874f16bb63974f8b41facf947385917
2016-04-13 10:23:26 +02:00
Dragana Damjanovic 4ca2619d53 Bug 1125916 - Add SEC_FORCE_PRIVATE_BROWSING to LoadInfo. r=sicking, r=jduell
--HG--
extra : rebase_source : 91f3e5de5475949fcc3ab430bf6d327f34ccee26
extra : histedit_source : fa6210f9f646938cb36f623cfefa5f5838937327
2016-04-13 10:22:49 +02:00
Tanvi Vyas 9c0a7ac154 Bug 1105556 - Add a hidden preference that is checked in debug mode to determine whether the main LoadInfo() constructor should assert that the ContentPolicyType is not TYPE_DOCUMENT.
Set the preference in xpcshell tests that create TYPE_DOCUMENT loads in javascript and hence end up using the main constructor. r=sicking, ckerschb
2016-04-13 16:30:36 -07:00
Tanvi Vyas 9209781614 Bug 1105556 - test fixes. r=sicking, ckerschb 2016-04-13 16:30:33 -07:00
Tanvi Vyas ae5dad1d9c Bug 1105556 - We won't have a channelLoadingPrincipal for top level loads, so nsChannelClassifier::SameLoadingURI will return false. Adding a comment to indicate that the behavior is fine since Tracking Protection doesn't apply to top level loads. r=fmarier 2016-04-13 16:30:25 -07:00
Tanvi Vyas 2ca721ef81 Bug 1105556 - Allow loadInfo->loadingNode and loadInfo->loadingPrincipal to be null for TYPE_DOCUMENT loads. r=sicking, ckerschb 2016-04-13 16:30:16 -07:00
Nicholas Nethercote 60dcde7875 Bug 1261723 (part 2) - Separate class ops from js::Class. code=njn,h4writer. r=efaust,bz.
js::Class op are often all null. And when they're not all null, they're often
duplicated among classes. By pulling them out into their own struct, and using a
(possibly null) pointer in js::Class, we can save 114 KiB per process on
64-bit, and half that on 32-bit.
* * *
imported patch separate-ClassOps-2

--HG--
extra : rebase_source : bd751bf247e9491c1966a123dbeffa573657dfb1
2016-04-01 11:00:01 +11:00
Henry Chang ffee6a2e09 Bug 1260876 - Remove process switch code for signed package code (added by Bug 1186290). r=valentin. 2016-04-12 10:53:40 +08:00
Stone Shih 4b11d5cdfa Bug 1254098 - Part 1: Don't use base url encoding to encode url when charset override is absent. r=valentin 2016-04-06 11:13:30 +08:00
Nils Ohlmeier [:drno] 4d0aaaafea Bug 1244926: added TCP socket filter to only allow outgoing STUN. r=jesup
MozReview-Commit-ID: 8PpL6Z0za71

--HG--
rename : media/mtransport/stun_udp_socket_filter.cpp => media/mtransport/stun_socket_filter.cpp
rename : media/mtransport/stun_udp_socket_filter.h => media/mtransport/stun_socket_filter.h
rename : netwerk/base/nsIUDPSocketFilter.idl => netwerk/base/nsISocketFilter.idl
extra : rebase_source : 2acf092e587a19a2019f463fa0a015373d3881d3
2016-02-11 01:18:46 -08:00
David Keeler 6e4140d766 bug 1245280 - add policy mechanism to optionally enforce BRs for falling back to subject CN r=Cykesiopka,mgoodwin
MozReview-Commit-ID: 7xT6JGpOH1g

--HG--
extra : rebase_source : 0def29e8be898a2d975ee4390b3bc6a193766b1b
2016-02-09 10:14:27 -08:00
Dragana Damjanovic dd.mozilla@gmail.com 1ea26e16ac Bug 1255386 - Extend port blocking list. r=mcmanus 2016-03-30 05:04:00 +02:00
David Keeler 581a304acb bug 1254667 - change certificate verification SHA1 policy to "allow for locally-installed roots" r=jcj
Before this patch, the default policy for the use of SHA1 in certificate
signatures was "allow all" due to compatibility concerns.
After gathering telemetry, we are confident that we can enforce the policy of
"allow for locally-installed roots" (or certificates valid before 2016) without
too much breakage.

MozReview-Commit-ID: 8GxtgdbaS3P

--HG--
extra : rebase_source : d1bed911f2d5d40229ea06556fee0848668e98b6
2016-03-28 12:52:40 -07:00
Patrick McManus 7cf04dba6b Bug 1260764 - Creation of PollableEvent needs a lock r=dragana a=kwierso
MozReview-Commit-ID: 2R0ydTeLPqr

--HG--
extra : histedit_source : f4a189f30dff540442eb94468bb62ab0e654ca74
2016-03-30 11:16:03 -04:00
Daniel Stenberg 7c81f56832 Bug 1260407 - added logging for proxy/pac to aid debugging, r=mcmanus 2016-03-29 05:23:00 +02:00
Patrick McManus ea8cc58c8b Bug 1260218 - SocketTransportService socket expansion r=dragana 2016-03-23 20:44:28 -04:00
Blake Kaplan 76cf7eedc8 Bug 1257861 - Default to sending all cookies if we can't compute 3rdpartyness. r=sicking 2016-03-28 13:39:12 -07:00
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Patrick McManus b76d381e0b Bug 698882 - mozilla::net::PollableEvent r=dragana r=mayhemer 2016-03-22 11:02:39 -04:00
Dragana Damjanovic 3957a4f911 Bug 1259089 - Set TCP socket to non-blocking in sts again, just to be sure. r=mcmanus
--HG--
extra : rebase_source : 1756181730613231fc7aaf0cd46952e1c7309224
2016-03-24 10:10:00 -04:00
Dragana Damjanovic 75726942c9 Bug 1257809 - "Improve telemetry for PR_Connect". r=mcmanus
--HG--
extra : rebase_source : 93d5de4062db70a9cf59045a7a42b9a8ed74e30a
2016-03-19 04:25:00 +01:00
Gregory Szorc ae750c26b0 Bug 1256473 - Cast values to avoid C4838 on VS2015; r=mayhemer
MozReview-Commit-ID: DM4nChFJVWF

--HG--
extra : rebase_source : d609955f07bbfc122e58b08e5cd3c5422fce907f
2016-03-23 15:17:44 -07:00
Patrick McManus 78cb6a4c07 Bug 698882 - backout 34046c232ee1 r=backout 2016-03-23 13:06:02 -04:00
Patrick McManus 6f258a71a8 Bug 698882 - mozilla::net::PollableEvent r=dragana r=mayhemer 2016-03-22 11:02:39 -04:00
Eden Chuang 7fce480440 Bug 772528 - Remove nsFileInputStream::Seek() from nsPartialFileInputStream::Init(). r=baku
--HG--
extra : rebase_source : 9050f4f38f64d9e7f8532377661e6d2e6052417e
2016-03-21 10:48:59 +08:00
Phil Ringnalda d171b7485c Back out changeset 06e41d2080a2 (bug 698882) for (at least) 10.6 leaks including PollableEvent
CLOSED TREE
2016-03-20 17:24:48 -07:00
Patrick McManus 2a402eafbc Bug 698882 - mozilla::net::PollableEvent r=dragana r=mayhemer 2016-02-11 15:00:22 -05:00
Christoph Kerschbaumer 830e36b012 Bug 1257339 - Bring back deprecated newChannel() API on nsIIOService. r=sicking, r=mcmanus CLOSED TREE
MozReview-Commit-ID: 8BVo3K0veND
2016-03-18 17:11:42 -07:00
Wes Kocher 756219c691 Backed out changeset e41e3bc842df (bug 1257339) because something from this push appears to have broken Windows mochitests CLOSED TREE
MozReview-Commit-ID: IQwq83Jat9O
2016-03-18 15:47:06 -07:00
Christoph Kerschbaumer 0b2caf41fe Bug 1257339 - Bring back deprecated newChannel() API on nsIIOService. r=sicking, r=mcmanus
--HG--
extra : rebase_source : 202c4d4462b39e0a5f1ece926d7c7a144f5125fa
2016-03-17 09:22:32 -07:00
Jonathan Hao 7bee2c98a0 Bug 1235572 - Enforce SRI if content signature is enforced r=francois
* * *
[mq]: sri_fix

MozReview-Commit-ID: 8vY9J4j3Eog
* * *
[mq]: loadInfo

MozReview-Commit-ID: EZ8BUfCOXO6
* * *
[mq]: add-logs

MozReview-Commit-ID: 1jeyTq9nvlW

--HG--
extra : transplant_source : %8Dj%12f%16%F5%12%8E%FE%7C%02%274%2A%A0a%C8%CB2P
2016-03-16 11:13:26 +08:00
Dragana Damjanovic 2533fab1f6 Bug 1201170 - During message diversion must be possible to suspend them. r=jduell 2016-03-15 04:10:00 +01:00
Nicholas Nethercote a2f068b2ad Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
This is easy because it's never needed.

--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Christoph Kerschbaumer 2a18c04fc2 Bug 1256030 - Update NetUtil.jsm to handle file loads. r=mcmanus r=sicking 2016-03-14 13:23:54 -07:00
Wes Kocher 8350d308c3 Merge m-c to fx-team, a=merge
MozReview-Commit-ID: COpA4LGoMQN
2016-03-14 17:40:44 -07:00
Blake Kaplan 55d3d16237 Bug 1254856 - Use a better window for 3rd-party checks. r=sicking, r=billm 2016-03-11 23:28:00 -05:00
Franziskus Kiefer 0d2149893d Bug 1226928 - network and ipc bits for content-signing on remote about:newtab, r=mayhemer 2016-03-14 11:56:52 +01:00
Francois Marier f2d085b262 Bug 1254310 - Add a hidden pref to temporarily disable Safe Browsing on given hostnames. r=gcp
--HG--
rename : browser/components/safebrowsing/content/test/browser_forbidden.js => browser/components/safebrowsing/content/test/browser_whitelisted.js
2016-03-11 13:57:38 -08:00
Jan de Mooij 40172eddb0 Bug 1212328 - Clean up some JSErrorReport-related code. r=Waldo,bz 2016-03-11 15:19:06 +01:00
Daniel Holbert 9b70d28e34 Bug 1249450 part 1: Move GetSecureUpgradedURI from HttpBaseChannel to nsNetUtil. r=mcmanus 2016-03-10 15:23:45 -08:00
Christoph Kerschbaumer c79819cb84 Bug 1254752 - Remove deprecated functions from nsIIOService. r=mcmanus
MozReview-Commit-ID: 9kvI8nknTA1
2016-03-08 15:51:54 -08:00
Christoph Kerschbaumer f29ec8d62f Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal. r=sicking 2016-03-09 13:55:59 -08:00
Wes Kocher 32b01c6513 Backed out changeset 65051cc8fc06 (bug 1254752) for browser_dbg_addon-sources.js failures
MozReview-Commit-ID: 8Lg5gJHY6J5

--HG--
extra : rebase_source : def380fa7ce90838e42ad1a63ca1f9f365a868ba
2016-03-09 10:56:28 -08:00
Wes Kocher 817d8829fc Backed out changeset 7cbab9ec76d5 (bug 1254689) for browser_dbg_addon-sources.js failures
MozReview-Commit-ID: 3zPliH7mmPj

--HG--
extra : rebase_source : 90a6c96c2106ec23043160ed93041cd7e15b1640
2016-03-09 10:56:23 -08:00