Commit Graph

14324 Commits

Author SHA1 Message Date
Haik Aftandilian
b59a99943d Bug 1548406 - Part 2 - Conditionally include WindowServer access in the GMP sandbox r=handyman
Conditionally include WindowServer access in the GMP sandbox so that it is only allowed for the Widevine CDM plugin, and not OpenH264.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 07:04:58 +00:00
Haik Aftandilian
58067ff840 Bug 1548406 - Part 1 - Simplify MacSandboxInfo and sandbox type enums r=handyman
Replace the MacSandboxType_Plugin sandbox type with MacSandboxType_Flash and MacSandboxType_GMP so that there is a 1:1 association between MacSandboxType values and sandbox policies.

Remove the MacSandboxPluginType enum. Instead of having different MacSandboxPluginTypes, we will just have MacSandboxType_GMP. We only use GMP for two plugin types, Widevine and OpenH264, and they only differ in that Widevine requires accss to the WindowServer.

Remove the MacSandboxPluginInfo struct and move the two needed fields pluginPath and pluginBinaryPath to MacSandboxInfo.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 07:04:44 +00:00
Mark Goodwin
623ad6e025 Bug 1538161 - Vendor rust_cascade r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D24557

--HG--
extra : moz-landing-system : lando
2019-05-01 19:25:27 +00:00
Dana Keeler
4a775bffc6 bug 1541942 - remove unused APIs from nsIContentSignatureVerifier r=KevinJacobs
Now that ContentVerifier has been removed (bug 1441989), the only API of
nsIContentSignatureVerifier that is actually being used is
verifyContentSignature. As a result, we can vastly simplify the implementation
(ContentSignatureVerifier) to prepare for improvements such as having it not
block the main thread (bug 1534600).

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

--HG--
extra : moz-landing-system : lando
2019-05-01 16:34:20 +00:00
Sylvestre Ledru
e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

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

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Dana Keeler
d2d6e7f320 bug 1544511 - add some diagnostic crashes to InitializeNSSWithFallbacks to see why it's failing r=KevinJacobs
Crashes as a result of 2e4a7bcc1a95 indicate that InitializeNSSWithFallbacks is
failing. Hopefully this will give us more information as to why.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 23:23:23 +00:00
J.C. Jones
6c93b0dea7 Bug 1539227 - land NSS 56826bedabba UPGRADE_NSS_RELEASE, r=KevinJacobs
NSS uplift, 30 April 2019.

Commit log: https://hg.mozilla.org/projects/nss/log?rev=e5e10a46b9ad..56826bedabba

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

--HG--
extra : moz-landing-system : lando
2019-04-30 18:22:11 +00:00
Dorel Luca
f86faf3c36 Backed out changeset 5f58e2f5d1f7 (bug 1544511) for Build bustage. CLOSED TREE 2019-04-30 23:57:42 +03:00
Dana Keeler
d5912c1f9f bug 1544511 - add some diagnostic crashes to InitializeNSSWithFallbacks to see why it's failing r=KevinJacobs
Crashes as a result of 2e4a7bcc1a95 indicate that InitializeNSSWithFallbacks is
failing. Hopefully this will give us more information as to why.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 19:25:06 +00:00
J.C. Jones
9cae98a2ed Bug 1541860 - Omit cookies sent when preloading intermediates r=johannh
Intermediate preloading was including cookies during attachment fetches to our
Kinto attachment servers. There's no reason for that, so let's not.

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

--HG--
extra : rebase_source : b3fbb6c80c56b8428434fb177cad3424a66b837d
extra : source : 87be514024ac53ab6362ffc26610c063d50abe07
2019-04-04 21:43:34 +00:00
Sebastian Hengst
f69afa2cd0 Merge autoland to mozilla-central. a=merge 2019-04-30 13:31:28 +02:00
Csoregi Natalia
f0ef51bfaf Backed out changeset 87be514024ac (bug 1541860) for wpt failures on SXG reporting. a=backout 2019-04-30 12:51:29 +03:00
Brindusan Cristian
415f01584e Backed out changeset 814e0d966842 (bug 1544511) for linux build bustages at Assertions.h:344:73: error: format '%d' expects argument of type 'int'. CLOSED TREE
--HG--
extra : histedit_source : 65ccc971c9dae8df059ebea8c90b5b9e84329199
2019-04-30 03:13:05 +03:00
Dana Keeler
24f126d799 bug 1530545 - store preloaded intermediates in cert_storage r=mgoodwin,myk
This updates cert_storage to be able to store certificates indexed by subject DN
for easy lookup by NSSCertDBTrustDomain during path building. This also updates
RemoteSecuritySettings to store newly-downloaded preloaded intermediates in
cert_storage.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 00:00:48 +00:00
Dana Keeler
c467c0301d bug 1544511 - add some diagnostic crashes to InitializeNSSWithFallbacks to see why it's failing r=KevinJacobs
Crashes as a result of 2e4a7bcc1a95 indicate that InitializeNSSWithFallbacks is
failing. Hopefully this will give us more information as to why.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 21:58:00 +00:00
dlee
0df566e0e6 Bug 1547701 - Use LOAD_BYPASS_URL_ClASSIFIER flag for OCSP request. r=keeler
If OCSP request is blocked, we can't get the certificate revocation
informatoin.
Add nsIChannel::LOAD_BYPASS_URL_ClASSIFIER to enfore URL classifier
bypasses OCSP request.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 18:07:23 +00:00
Narcis Beleuzu
7b6eba4fa3 Backed out changeset ea8bdd612f43 (bug 1538161) for bustages on rust_cascade . CLOSED TREE 2019-04-29 23:06:51 +03:00
Mark Goodwin
9a21c9d07f Bug 1538161 - Vendor rust_cascade r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D24557

--HG--
extra : moz-landing-system : lando
2019-04-29 19:29:38 +00:00
Aaron Klotz
e2d5d8d13f Bug 1535704: Part 3 - Add an observer to sandboxTarget that fires once the main thread's token has been lowered; r=bobowen
This allows us to loosen the coupling between the sandbox and code that needs
to run as soon as the token has been lowered.

We use std::list here because the observer service is not yet initialized.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 17:16:38 +00:00
Aaron Klotz
70900309f0 Bug 1535704: Part 2 - Add a hook to sandbox target initialization that catches mscom's attempts to resolve user32 when Win32k lockdown is enabled; r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D27833

--HG--
extra : moz-landing-system : lando
2019-04-22 21:38:36 +00:00
J.C. Jones
6812d55c4f Bug 1541860 - Omit cookies sent when preloading intermediates r=johannh
Intermediate preloading was including cookies during attachment fetches to our
Kinto attachment servers. There's no reason for that, so let's not.

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

--HG--
extra : moz-landing-system : lando
2019-04-04 21:43:34 +00:00
Noemi Erli
de59160691 Backed out changeset 3fa81f747c93 (bug 1538161) for causing rust build bustages CLOSED TREE 2019-04-29 17:19:42 +03:00
Mark Goodwin
8814fd6055 Bug 1538161 - Vendor rust_cascade r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D24557

--HG--
extra : moz-landing-system : lando
2019-04-29 14:04:07 +00:00
ffxbld
92b29da4c1 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D29191

--HG--
extra : moz-landing-system : lando
2019-04-29 12:34:29 +00:00
Myk Melez
e78c3248d7 Bug 1539549 - update cert blocklist using single transaction r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D28540

--HG--
extra : moz-landing-system : lando
2019-04-26 20:10:59 +00:00
Cosmin Sabou
6128796e78 Backed out changeset 348e15018884 (bug 1530335) for turning bug 1540336 into permafail.
--HG--
extra : amend_source : 9177f13fa73fe36345cd82bc876b946649dd2e66
2019-04-26 21:20:55 +03:00
Dana Keeler
b70b80aa02 bug 1544244 - run test_toolkit_securityreporter.js sequentially (it uses hard-coded ports) r=mgoodwin
test_toolkit_securityreporter.js uses BadCertServer, which uses hard-coded
ports, so it needs to run sequentially.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 17:32:07 +00:00
monikamaheshwari
1750bef8c2 Bug 1530335 Use the same date/time format everywhere on cert error pages r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27875

--HG--
extra : moz-landing-system : lando
2019-04-26 15:21:34 +00:00
Haik Aftandilian
59576e83d0 Bug 1546836 - Video Playback and Form Rendering Issues on macOS Version 10.14.5 Beta r=jmathies
Allow access to Apple's Metal shader language compiler in our content process sandbox. Limit the sandbox policy change to 10.14 and newer OS versions to reduce risk given that problems have only been reported on 10.14.5.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 16:28:06 +00:00
Kevin Jacobs
acb3a2377a Bug 1515465 - Enable EV Treatment for eMudhra Technologies Limited root certificates r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D28583

--HG--
extra : moz-landing-system : lando
2019-04-25 17:46:16 +00:00
ffxbld
b78b626840 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D28825

--HG--
extra : moz-landing-system : lando
2019-04-25 12:52:51 +00:00
Mathieu Leplatre
582063c263 Bug 1512451 - Read OneCRL blocklist from security-states/onecrl r=jcj,mgoodwin,glasserc
Read OneCRL blocklist from security-states/onecrl

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

--HG--
rename : services/common/tests/unit/test_blocklist_certificates.js => services/common/tests/unit/test_blocklist_onecrl.js
extra : moz-landing-system : lando
2019-04-24 14:52:13 +00:00
Dana Keeler
83f8d4b07c Bug 1513458 - attempt to determine why certificate decoding would fail in content processes r=mayhemer
Crashes resulting from the diagnostic assertions added in 2ca136370e18 suggest
that certificate decoding is faiiling in the content process (which seems
impossible given that presumably we successfully decoded the very same
certificate in the parent). This should tell us what error code NSS is
returning when this happens, which may illustrate the issue.

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

--HG--
extra : moz-landing-system : lando
2019-04-24 21:10:58 +00:00
Dana Keeler
3415e4de5f bug 1544511 - add some diagnostic assertions to nsNSSComponent::InitializeNSS to see why it's failing r=KevinJacobs
Differential Revision: https://phabricator.services.mozilla.com/D28725

--HG--
extra : moz-landing-system : lando
2019-04-24 20:53:30 +00:00
Brian Grinstead
08992fb8e8 Bug 1546501 - Remove unnecessary type attributes (i.e. [type="application/javascript"]) on non-test script tags r=mossop
This is an autogenerated commit, generated with https://bug1546501.bmoattachments.org/attachment.cgi?id=9060222

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

--HG--
extra : moz-landing-system : lando
2019-04-24 19:43:57 +00:00
Kevin Jacobs
2d5d2631dd Bug 1532757 - Enable EV Treatment for Hongkong Post Root CA 3 root certificate r=keeler
This patch enables EV validation for //CN=Hongkong Post Root CA 3// root.

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

--HG--
extra : moz-landing-system : lando
2019-04-24 17:08:18 +00:00
Myk Melez
eb4f91eaa0 Bug 1545878 - correct certutil path on macOS r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D28261

--HG--
extra : moz-landing-system : lando
2019-04-24 15:40:44 +00:00
Andreea Pavel
75578f7684 Backed out changeset a19d696f96fb (bug 1512451) for failing bc at browser_all_files_referenced.js on a CLOSED TREE
--HG--
rename : services/common/tests/unit/test_blocklist_onecrl.js => services/common/tests/unit/test_blocklist_certificates.js
2019-04-24 00:59:27 +03:00
Mathieu Leplatre
6e4798bb72 Bug 1512451 - Read OneCRL blocklist from security-states/onecrl r=jcj,mgoodwin,glasserc
Read OneCRL blocklist from security-states/onecrl

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

--HG--
rename : services/common/tests/unit/test_blocklist_certificates.js => services/common/tests/unit/test_blocklist_onecrl.js
extra : moz-landing-system : lando
2019-04-23 18:40:40 +00:00
Sylvestre Ledru
a1dce6440a Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-22 16:35:03 +00:00
ffxbld
0b4d03afbc No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D28331

--HG--
extra : moz-landing-system : lando
2019-04-22 12:51:53 +00:00
Andrew McCreight
f242e71c8a Bug 1545822 - Clean up some whitespace in XPIDL files. r=froydnj
The attributes for an interface should be on the line right before the
interface.

Interface attributes should be separated by spaces.

Clean up some trailing whitespace in widget/.

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

--HG--
extra : moz-landing-system : lando
2019-04-21 01:47:00 +00:00
Haik Aftandilian
73b7f5c089 Bug 1543830 - Add Mac Hardened Runtime entitlement files to the tree r=spohl
Add entitlement files for Hardened Runtime configuration to be used by Release Engineering for official builds and try builds and developers for local builds. These entitlement files are input to the codesign command.

Hardened Runtime and codesigning is not yet enabled for local builds or try builds so for now these files will only be used by Release Engineering.

production.entitlements.xml is intended to be used for official channel builds that will be codesigned, notarized, and shipped to users.

developer.entitlements.xml is intended to be used for developer and try builds that will be codesigned, but not notarized or shipped to users. The developer file enables debugging which is not compatible with notarization, but is otherwise the same as the production file.

codesign.bash is a stop-gap script to allow developers who setup Apple Developer ID certificates to codesign Nightly themselves and enabled Hardened Runtime.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 15:56:00 +00:00
ffxbld
883df980b7 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D28055

--HG--
extra : moz-landing-system : lando
2019-04-18 13:07:37 +00:00
Dana Keeler
e97d2e6b33 Bug 1544244 - fix cookie-checking in test_toolkit_securityreporter.js r=mgoodwin
Before this patch, test_toolkit_securityreporter.js would unconditionally try to
get the value of the "Cookie" header. If a header isn't available, httpd.js
apparently throws an exception. Interestingly, exceptions thrown in httpd.js
path handlers aren't reported to the test framework, so we weren't aware of
this. Additionally, the test didn't have any way of waiting until the security
report it was expecting had arrived, so it just continued on and "succeeded".
This patch addresses these issues by using "throws" to make sure no cookies are
available and by inserting extra add_test/run_next_test pairs when the test is
waiting for a report.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 07:29:45 +00:00
Ehsan Akhgari
ccfae51c32 Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
Differential Revision: https://phabricator.services.mozilla.com/D26996

--HG--
extra : moz-landing-system : lando
2019-04-18 01:00:22 +00:00
Jed Davis
64717a0c9f Bug 1543790 - Fix RDD sandboxing conditions so the parent and child processes agree. r=gcp
If the system doesn't support seccomp-bpf, the parent process won't
try to set up sandboxing, but the child process has a separate check that
didn't test for this, and ends up failing a release assertion (in
SandboxReporterClient, but we also release-assert that installing the
seccomp-bpf policy succeeds).

This patch just fixes the child-side conditional to match the intended
behavior, but in the long term we should consider redesigning SandboxInfo
to avoid this.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 13:53:20 +00:00
Jed Davis
69140d1e65 Bug 1543858 - Adjust Linux sandbox policies to tolerate glibc's qsort. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D27632

--HG--
extra : moz-landing-system : lando
2019-04-16 06:50:50 +00:00
Daiki Ueno
efdd8c30f3 Bug 1511989, enable TLS 1.3 post-handshake authentication r=keeler
This adds a config option to enable client authentication through the TLS 1.3 post-handshake auth mechanism.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 05:08:16 +00:00
Brian Grinstead
ede8c44ef2 Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
This excludes dom/, otherwise the file size is too large for phabricator to handle.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00