Commit Graph

14048 Commits

Author SHA1 Message Date
shindli
f7752f11b1 Merge inbound to mozilla-central. a=merge 2019-01-30 06:07:01 +02:00
shindli
011ea038cb Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-29 23:54:31 +02:00
shindli
d5c5369355 Merge inbound to mozilla-central. a=merge 2019-01-29 23:37:33 +02:00
shindli
48af6dbf75 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-29 23:47:45 +02:00
Dana Keeler
8b379cf5ab bug 1520347 - fold Family Safety TLS interception feature into enterprise/third-party roots feature r=jcj
The Family Safety TLS interception feature is seldom used and security-wise is
essentially equivalent to the enterprise or third-party roots feature. To
simplify future improvements, this patch folds them together by automatically
importing third-party roots if Firefox detects that the Family Safety TLS
interception feature has been enabled. This affects Windows 8.1 only. When
usage of Windows 8.1 is low enough, we will remove the feature altogether.

Differential Revision: https://phabricator.services.mozilla.com/D16727

--HG--
extra : moz-landing-system : lando
2019-01-29 20:10:39 +00:00
Bob Owen
c10c92ae4e Bug 1511438 Part 2: Enable win32k lockdown on RDD process. r=jimm
This stops the use of some win32k calls during start-up that will fail and in
some cases cause a crash.

It also moves the MITIGATION_DYNAMIC_CODE_DISABLE to be enabled after start-up.
This is required because the hooks to fake the user32 and gdi32 initialization
are applied as the DLLs load and the dynamic code disable blocks that.
2019-01-29 08:49:13 +00:00
Bob Owen
d2f299b489 Bug 1512731: Add sandbox read rule for user's AppData\Local Fonts dir. r=handyman 2019-01-29 08:49:13 +00:00
arthur.iakab
c1fae83952 Backed out 16 changesets (bug 1478124) for failing android geckoview-junit CLOSED TREE
Backed out changeset fce62c77a56b (bug 1478124)
Backed out changeset eb2fa3b5edf7 (bug 1478124)
Backed out changeset 8dacce59fcc0 (bug 1478124)
Backed out changeset 012fd0107204 (bug 1478124)
Backed out changeset 496aaf774697 (bug 1478124)
Backed out changeset 21f4fda03159 (bug 1478124)
Backed out changeset b0444e0bc801 (bug 1478124)
Backed out changeset d94039b19943 (bug 1478124)
Backed out changeset 5d85deac61c2 (bug 1478124)
Backed out changeset 929fd654c9df (bug 1478124)
Backed out changeset 1ddd80d9e91a (bug 1478124)
Backed out changeset b8d2dfdfc324 (bug 1478124)
Backed out changeset f500020a273a (bug 1478124)
Backed out changeset dd00365ebb55 (bug 1478124)
Backed out changeset 538e40c5ee13 (bug 1478124)
Backed out changeset bedaa9c437ad (bug 1478124)
2019-01-29 10:03:06 +02:00
Kris Maglione
e161bf3b8e Bug Bug 1478124: Follow-up: Really fix MSVC build. r=bloody-msvc 2019-01-28 22:32:55 -08:00
Kris Maglione
47205b1e9a Bug Bug 1478124: Follow-up: Fix MSVC build. r=bloody-msvc CLOSED TREE
--HG--
extra : amend_source : 8a74e79aed4ed074c4c21f8b33584fef1902f5f0
2019-01-28 22:28:07 -08:00
Haik Aftandilian
10146305a7 Bug 1520764 - Disable logging for iokit-get-properties and other extra deny types in sandbox profiles r=Alex_Gaynor
Add "(with no-log)" to the iokit-get-properties and other extra deny types in the content and GMP sandbox profiles.

Differential Revision: https://phabricator.services.mozilla.com/D17285

--HG--
extra : moz-landing-system : lando
2019-01-23 14:06:51 +00:00
Byron Campen [:bwc]
68bc15c3ce Bug 1494311: Making the mtransport API a little more IPC friendly, and establishing a proper base-class. r=mt,mjf
Differential Revision: https://phabricator.services.mozilla.com/D17272

--HG--
extra : moz-landing-system : lando
2019-01-29 14:56:19 +00:00
Sebastian Hengst
b78e4e8667 Merge mozilla-central to mozilla-inbound
--HG--
rename : browser/components/urlbar/tests/legacy/browser_urlbar_search_no_speculative_connect_with_client_cert.js => browser/components/urlbar/tests/browser/browser_urlbar_speculative_connect_not_with_client_cert.js
2019-01-29 02:55:55 +02:00
Sebastian Hengst
90f4b6640c Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 01:33:28 +02:00
Razvan Maries
c88bd55f59 Merge mozilla-inbound to mozilla-central a=merge 2019-01-28 23:46:39 +02:00
ffxbld
fce6da994d No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D17819

--HG--
extra : moz-landing-system : lando
2019-01-28 14:06:22 +00:00
J.C. Jones
ac56a1a91d Bug 1512719 - land NSS NSS_3_42_RTM UPGRADE_NSS_RELEASE, r=me 2019-01-27 18:15:27 +00:00
J.C. Jones
78fdef6013 Bug 1512719 - land NSS NSS_3_42_BETA2 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : a7bdacf3c87aabba837467d5f1209f320f171008
2019-01-25 23:38:02 +00:00
J.C. Jones
354f799704 Bug 1522735 - Set enable_sslkeylogfile for NSS gyp build r=firefox-build-system-reviewers,erahm,ted
NSS 3.42 added a new build flag, enable_sslkeylogfile, to toggle the
availability of the SSLKEYLOGFILE variable (see Bug 1515236 and Bug 1519209).

Differential Revision: https://phabricator.services.mozilla.com/D17588

--HG--
extra : moz-landing-system : lando
2019-01-25 18:43:23 +00:00
ffxbld
daf55e3ab4 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D17491

--HG--
extra : moz-landing-system : lando
2019-01-24 14:11:31 +00:00
Sylvestre Ledru
b61d90492b Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Depends on D17388

Differential Revision: https://phabricator.services.mozilla.com/D17389

--HG--
extra : moz-landing-system : lando
2019-01-24 08:11:00 +00:00
Ciure Andrei
763557eef3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-24 05:47:10 +02:00
Ciure Andrei
c035ee7d3a Merge inbound to mozilla-central. a=merge 2019-01-24 05:44:33 +02:00
Tim Nguyen
e5124ab3fe Bug 1521294 - Remove XUL grid layout from security/manager/pki/resources/content/changepassword.xul. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D17059

--HG--
extra : moz-landing-system : lando
2019-01-24 01:00:43 +00:00
Tim Nguyen
ea8cc54265 Bug 1521290 - Remove XUL grid layout from security/manager/pki/resources/content/device_manager.xul. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D17058

--HG--
extra : moz-landing-system : lando
2019-01-24 00:37:26 +00:00
Ciure Andrei
a4eeeccf1d Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-01-23 20:55:29 +02:00
J.C. Jones
376e2e4fdd Bug 1512719 - land NSS NSS_3_42_BETA1 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : b5b0f18427d33d3d88c514a5de3a0e799881a183
extra : amend_source : 56a9b6c2c58b0ef459a03c13626225c09eebbf0c
2019-01-23 17:46:08 +00:00
Sebastian Hengst
2ecf173b14 Merge mozilla-central to autoland 2019-01-23 11:31:44 +02:00
Tim Nguyen
a6618d3147 Bug 1521296 - Remove XUL grid layout from security/manager/pki/resources/content/setp12password.xul. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D17061

--HG--
extra : moz-landing-system : lando
2019-01-23 00:08:20 +00:00
Tim Nguyen
35ede052b3 Bug 1521295 - Remove XUL grid layout from security/manager/pki/resources/content/downloadcert.xul. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D17062

--HG--
extra : moz-landing-system : lando
2019-01-22 20:51:29 +00:00
Kris Maglione
e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Gurzau Raul
136dc5e8bc Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-23 02:05:32 +02:00
Sylvestre Ledru
0b4021fcad Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D17139

--HG--
extra : histedit_source : 084f340503d2e1a2d9e1753c38b2c4ee9c7819f3
2019-01-21 18:18:16 +01:00
Haik Aftandilian
f6ee38ea4d Bug 1521167 [Mac] Sandbox violation logging is always enabled with early startup r=Alex_Gaynor
For sandbox early startup, ensure violation logging is only enabled when the parent passes the -sbLogging flag.

Differential Revision: https://phabricator.services.mozilla.com/D17013

--HG--
extra : moz-landing-system : lando
2019-01-22 14:00:27 +00:00
Tom Ritter
9666744312 Bug 1520310 - Disable SANDBOX_EXPORTS for the mingw-clang build as well r=bobowen 2019-01-21 11:42:03 -06:00
Cosmin Sabou
951d31e64d Merge mozilla-inbound to mozilla-central. a=merge 2019-01-22 05:56:10 +02:00
Tom Ritter
77cce78dd3 Bug 1520310 - Backout the patch from Bug 1498695 and cast to void*. r=bobowen
In Bug 1462100 we started casting to void* because mingw doesn't do
automatic conversions like MSVC does.  In Bug 1498695 I backed out that
change because I (mistakenly) thought it wasn't necessary for mingw-clang
when in actuality, I simply wasn't hitting the code path due to
SANDBOX_EXPORTS being defined.

Since we want to _not_ define SANDBOX_EXPORTS I need to put the original
patch back in place.

--HG--
extra : amend_source : a26eec746e7881fa88b963c8dd3c1fa900b6a8b6
2019-01-21 14:13:17 -06:00
Noemi Erli
92a09b4912 Backed out changeset d8e4a86e306a (bug 1520310) for bustages in filesystem_dispatcher.cc 2019-01-21 21:47:43 +02:00
Tom Ritter
aaa41182a0 Bug 1520310 - Disable SANDBOX_EXPORTS for the mingw-clang build as well r=bobowen
--HG--
extra : amend_source : 3fd0fda02e8d7fabef0657fb3be520e37d59e97d
2019-01-21 11:42:03 -06:00
Ehsan Akhgari
4137a92662 Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Valentin Gosu
75ba4e1542 Bug 1513458 - Add more specific MOZ_DIAGNOSTIC_ASSERTS to TransportSecurityInfo::Read in order to pinpoint crashes r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D16828

--HG--
extra : moz-landing-system : lando
2019-01-21 18:12:12 +00:00
Cosmin Sabou
7ccc9d8b0b Merge mozilla-inbound to mozilla-central. a=merge 2019-01-19 11:57:49 +02:00
J.C. Jones
55f31ee1a6 Bug 1512719 - land NSS da45424cb9a0 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : 982b8538e03e4e0c87d4354629dfbf5bbce3f918
2019-01-18 17:48:59 +00:00
Jared Wein
856c566817 Bug 1520865 - Use the return value of Array.concat when building the list of nodes that are being localized before window.sizeToContent. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16887

--HG--
extra : moz-landing-system : lando
2019-01-17 23:16:36 +00:00
ffxbld
9de89e0706 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D16819

--HG--
extra : moz-landing-system : lando
2019-01-17 13:27:23 +00:00
Jared Wein
e79eecd7af Bug 1518786 - Wait until Fluent strings have been applied before sizing the window to content. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16587

--HG--
extra : moz-landing-system : lando
2019-01-16 20:56:55 +00:00
ui.manish
37bbffd19c Bug 1346298 Update or Remove Telemetry Probe: SSL_OBSERVED_END_ENTITY_CERTIFICATE_LIFETIME r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D16631

--HG--
extra : moz-landing-system : lando
2019-01-16 19:35:05 +00:00
Dana Keeler
f1b40f3220 bug 1519492 - reorganize NSSCertDBTrustDomain::FindIssuer to facilitate future improvements r=jcj
Before this patch, NSSCertDBTrustDomain::FindIssuer would iterate over its
candidate list (a CERTCertList) twice. This would have made it difficult to add
in candidate issuers from other sources (see e.g. bug 1514118, wherein the goal
is to bypass NSS' view of what certificates exist to facilitate third
party/enterprise roots). This patch reorganizes this function to make future
improvements easier.

Differential Revision: https://phabricator.services.mozilla.com/D16341

--HG--
extra : moz-landing-system : lando
2019-01-15 23:34:44 +00:00
J.C. Jones
cf499123c2 Bug 657228: Preload all known intermediate certificates for CAs in our root store r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D12115

--HG--
extra : moz-landing-system : lando
2019-01-15 21:23:31 +00:00
Dorel Luca
51fd390584 Backed out changeset cac9133e5572 (bug 657228) for xpcshell failure in security/manager/ssl/tests/unit/test_intermediate_preloads.js. CLOSED TREE 2019-01-15 22:55:14 +02:00