Commit Graph

17351 Commits

Author SHA1 Message Date
Bob Owen
d38cab7dd8 Bug 1797769: For MSIX installs add the packageContents capability. r=handyman
This gives the LPAC access to our binary files to launch the child process.

Differential Revision: https://phabricator.services.mozilla.com/D192614
2023-11-06 09:21:03 +00:00
mk75
5da6b52730 Bug 1862513 - Removed semicolon from the member function. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D192789
2023-11-04 15:45:50 +00:00
Cosmin Sabou
e6556f7d99 Backed out 5 changesets (bug 1862062) for causing xpcshell failures on test_content_signing.js. CLOSED TREE
Backed out changeset dcc224a798ba (bug 1862062)
Backed out changeset 8d2222109dd9 (bug 1862062)
Backed out changeset 13e730e6e684 (bug 1862062)
Backed out changeset 8c73f748ca55 (bug 1862062)
Backed out changeset 2a321dff5c82 (bug 1862062)
2023-11-02 23:22:42 +02:00
Dana Keeler
b80f8be5ea Bug 1862062 - rework PSM TLS cipher suite telemetry r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D192402
2023-11-02 19:43:35 +00:00
Dana Keeler
deb7e1d6e0 Bug 1862062 - remove expired SSL_CT_POLICY_COMPLIANCE_OF_EV_CERTS telemetry probe r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D192399
2023-11-02 19:43:34 +00:00
Emilio Cobos Álvarez
e9eb156844 Bug 1862599 - Don't let certmanager treecol intrinsic sizes affect its minimum size. r=Gijs
Otherwise the minimum size grows once you shrink a column under the
treecol label size.

Differential Revision: https://phabricator.services.mozilla.com/D192555
2023-11-02 14:34:27 +00:00
ffxbld
c765939bcf No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D192557
2023-11-02 13:27:24 +00:00
ChaseKnowlden
69d067262c Bug 1861620 - CTTestUtils: simplify the code by removing some unnecessary else r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D192113
2023-11-01 08:02:54 +00:00
Jed Davis
f0ed8c3525 Bug 1860267 - Allow mremap in all process types when not using mozjemalloc. r=gcp
Previously this was allowed only in content processes, but we've gained
other process types over the years, and it's possible for libc realloc's
mremap case to be reached in any process type (if less common in practice).

This restricts the flags argument to contain at most `MREMAP_MAYMOVE`, to
allow what dlmalloc descendants (glibc, bionic) use for `realloc`.

Note that this does not affect normal builds, only ones which opt out
of our own malloc implemtnation, typically in order to use some kind of
memory instrumentation like valgrind.

Differential Revision: https://phabricator.services.mozilla.com/D192028
2023-10-31 02:12:23 +00:00
Emilio Cobos Álvarez
350fc35580 Bug 1861349 - Allow resizing certManager columns. r=settings-reviewers,Gijs
See also bug 1821404.

Differential Revision: https://phabricator.services.mozilla.com/D192058
2023-10-30 15:34:20 +00:00
ffxbld
f52f5e56f1 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D192199
2023-10-30 13:31:48 +00:00
Ray Kraesig
8cd437b72d Bug 1837079 - [4/10] Create WINDOWS_FILE_DIALOG utility process type r=gerard-majax,ipc-reviewers,fluent-reviewers,bobowen,handyman,nika
Create a new utility-process type for the sole use of out-of-process
instantiation of the Windows file dialog.

We do not sandbox this process type, as in certain test environments
sandboxing has been found to prevent the child process from interacting
with any other windows on the desktop -- including the parent process
window which it will need to assign as the parent of the file dialog.

Technically, no functional changes, as this commit adds no uses of this
type. (That will come later in the patchset.)

Differential Revision: https://phabricator.services.mozilla.com/D180341
2023-10-26 18:21:28 +00:00
ffxbld
8e3b37de9a No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D191952
2023-10-26 15:28:55 +00:00
Tom Marble
28edc0c671 Bug 1859905 - convert .ini manifests to .toml: batch 19 browser_*.ini r=jmaher,webdriver-reviewers,necko-reviewers,extension-reviewers,devtools-reviewers,anti-tracking-reviewers,valentin,robwu,pbz
Differential Revision: https://phabricator.services.mozilla.com/D191771
2023-10-25 21:47:25 +00:00
Natalia Csoregi
8a8efda530 Backed out changeset 1ca403a2c00e (bug 1859905) for causing failures on test_mochitest_integration.py CLOSED TREE 2023-10-25 22:26:24 +03:00
Tom Marble
9c93e7d5df Bug 1859905 - convert .ini manifests to .toml: batch 19 browser_*.ini r=jmaher,webdriver-reviewers,necko-reviewers,extension-reviewers,devtools-reviewers,anti-tracking-reviewers,valentin,robwu,pbz
Differential Revision: https://phabricator.services.mozilla.com/D191771
2023-10-25 17:12:24 +00:00
Mark Banner
31a45737c0 Bug 1858673 - Remove now unnecessary disabling of ESLint no-unsanitized/* rules from test files. r=freddyb,media-playback-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,places-reviewers,aosmond,sgalich,dao,padenot
Differential Revision: https://phabricator.services.mozilla.com/D190985
2023-10-24 08:48:41 +00:00
ffxbld
b597d08539 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D191635
2023-10-23 15:32:22 +00:00
Ajay
b4796defa4 Bug 1857750 - Fix duplicate inclusion of 'signal.h. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D191211
2023-10-19 20:53:57 +00:00
ffxbld
31f74540f2 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,diannaS
Differential Revision: https://phabricator.services.mozilla.com/D191412
2023-10-19 19:15:01 +00:00
Dana Keeler
e32166e15a Bug 1855759 - self-test oskeystore and collect telemetry on the results r=jschanck,dthayer
Differential Revision: https://phabricator.services.mozilla.com/D189668
2023-10-18 19:21:12 +00:00
Dave Townsend
be1eb3c4b8 Bug 1857999: Move XML stylesheet processing instructions to link elements. r=Gijs,webdriver-reviewers,settings-reviewers,application-update-reviewers,devtools-reviewers,places-reviewers,Standard8,whimboo,bytesized,ochameau
The result of running the automated script available at https://github.com/Mossop/depi

Differential Revision: https://phabricator.services.mozilla.com/D190681
2023-10-18 07:04:41 +00:00
Sandor Molnar
9ac67f260f Backed out 4 changesets (bug 1857999) for causing dt failures on browser_theme_switching.js & Mn failures at test_element_state_chrome.py CLOSED TREE
Backed out changeset 75f5e6e3d917 (bug 1857999)
Backed out changeset 0d0c1d1e80e7 (bug 1857999)
Backed out changeset b8a03d31ecea (bug 1857999)
Backed out changeset dd5a10f9cfff (bug 1857999)
2023-10-16 14:12:22 +03:00
Dave Townsend
f71c7b369a Bug 1857999: Move XML stylesheet processing instructions to link elements. r=Gijs,webdriver-reviewers,settings-reviewers,application-update-reviewers,devtools-reviewers,places-reviewers,Standard8,whimboo,bytesized,ochameau
The result of running the automated script available at https://github.com/Mossop/depi

Differential Revision: https://phabricator.services.mozilla.com/D190681
2023-10-16 09:43:26 +00:00
Sylvestre Ledru
1e776756dd Bug 1856795 - ride along: use = default; on some recently modified files r=emilio
More on:
https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-equals-default.html

Command:
L=$(hg export -r tip|grep +++|cut -d/ -f2-)
./mach static-analysis check --checks="-*, modernize-use-equals-default" --fix $L

Differential Revision: https://phabricator.services.mozilla.com/D191016
2023-10-15 15:29:03 +00:00
Sylvestre Ledru
d0f6c7fc66 Bug 1856795 - Remove redundant member init r=emilio
Done with:
./mach static-analysis check --checks="-*, readability-redundant-member-init" --fix .

https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html

Differential Revision: https://phabricator.services.mozilla.com/D190002
2023-10-15 15:29:02 +00:00
Cristina Horotan
6a90f5eded Backed out 2 changesets (bug 1856795) for causing build bustage at BasicEvents.h CLOSED TREE
Backed out changeset 1d98b028923a (bug 1856795)
Backed out changeset eae2ac93e17c (bug 1856795)
2023-10-14 21:42:14 +03:00
Sylvestre Ledru
c164bd9937 Bug 1856795 - ride along: use = default; on some recently modified files r=emilio
More on:
https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-equals-default.html

Command:
L=$(hg export -r tip|grep +++|cut -d/ -f2-)
./mach static-analysis check --checks="-*, modernize-use-equals-default" --fix $L

Differential Revision: https://phabricator.services.mozilla.com/D191016
2023-10-14 17:34:27 +00:00
Sylvestre Ledru
cc8a0ee742 Bug 1856795 - Remove redundant member init r=emilio
Done with:
./mach static-analysis check --checks="-*, readability-redundant-member-init" --fix .

https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html

Differential Revision: https://phabricator.services.mozilla.com/D190002
2023-10-14 17:34:26 +00:00
Sandor Molnar
9b6d900114 Backed out changeset e9d46c179688 (bug 1855759) for causing build bustages CLOSED TREE 2023-10-14 00:32:03 +03:00
Dana Keeler
ecc01143cf Bug 1855759 - self-test oskeystore and collect telemetry on the results r=jschanck,dthayer
Differential Revision: https://phabricator.services.mozilla.com/D189668
2023-10-13 16:56:44 +00:00
Tom Marble
0cb91fe33e Bug 1855300 - convert .ini manifests to .toml: batch 11 remaining **/mochitest.ini r=jmaher,geckoview-reviewers,extension-reviewers,valentin,credential-management-reviewers,cookie-reviewers,sgalich,m_kato,robwu
Differential Revision: https://phabricator.services.mozilla.com/D190515
2023-10-13 02:32:24 +00:00
ffxbld
bacbbc2358 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,diannaS
Differential Revision: https://phabricator.services.mozilla.com/D190777
2023-10-12 12:42:05 +00:00
Jed Davis
b540fb41b6 Bug 1855306 - Clean up struct stat vs. stat64 handling. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D189600
2023-10-11 19:01:17 +00:00
Haik Aftandilian
a26a308c41 Bug 1856972 - Unable to load PKCS#11 security modules in FF119b2-4 in macOS r=spohl
For now, add back the entitlement to allow loading of third party modules in the parent process executable to support pkcs11 modules.

Differential Revision: https://phabricator.services.mozilla.com/D190701
2023-10-11 16:55:07 +00:00
Emilio Cobos Álvarez
25c0d10932 Bug 1624819 - Remove TaskCategory and other quantum dom remnants. r=smaug,media-playback-reviewers,credential-management-reviewers,cookie-reviewers,places-reviewers,win-reviewers,valentin,mhowell,sgalich,alwu
Sorry this is not a particularly easy patch to review. But it should be
mostly straight-forward.

I kept Document::Dispatch mostly for convenience, but could be
cleaned-up too / changed by SchedulerGroup::Dispatch. Similarly maybe
that can just be NS_DispatchToMainThread if we add an NS_IsMainThread
check there or something (to preserve shutdown semantics).

Differential Revision: https://phabricator.services.mozilla.com/D190450
2023-10-10 08:51:12 +00:00
ffxbld
20f09cb577 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,diannaS
Differential Revision: https://phabricator.services.mozilla.com/D190453
2023-10-09 12:13:20 +00:00
ffxbld
9728a093d7 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,diannaS
Differential Revision: https://phabricator.services.mozilla.com/D190171
2023-10-05 12:15:13 +00:00
Sylvestre Ledru
4c29c24344 Bug 1856530 - run file-whitespace on toml files r=linter-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D189896
2023-10-03 09:22:18 +00:00
Natalia Kulatova
d3619cd7e8 Bug 1851092 - land NSS NSS_3_94_RTM UPGRADE_NSS_RELEASE, r=nss-reviewers,jschanck
2023-10-02  Natalia Kulatova  <nkulatova@mozilla.com>

	* doc/rst/releases/nss_3_94.rst:
	Documentation: Release notes for NSS 3.94
	[8c67d6c2d718] [NSS_3_94_RTM] <NSS_3_94_BRANCH>

	* .hgtags:
	Added tag NSS_3_94_RTM for changeset a4d8f6ff9c3b
	[18307440cfb0] <NSS_3_94_BRANCH>

	* doc/rst/releases/index.rst:
	Release notes for NSS 3.94
	[a4d8f6ff9c3b] <NSS_3_94_BRANCH>

	* lib/nss/nss.h, lib/softoken/softkver.h, lib/util/nssutil.h:
	Set version numbers to 3.94 final
	[0af23c222caf] <NSS_3_94_BRANCH>

2023-09-21  Benjamin Beurdouche  <beurdouche@mozilla.com>

	* .hgtags:
	Removed tag NSS_3_94_BETA1
	[1a3ea35e31a2]

2023-09-20  Karthikeyan Bhargavan  <karthik.bhargavan@gmail.com>

	* automation/taskcluster/scripts/run_hacl.sh,
	lib/freebl/verified/Hacl_Hash_SHA3.c,
	lib/freebl/verified/Hacl_IntTypes_Intrinsics.h,
	lib/freebl/verified/Hacl_IntTypes_Intrinsics_128.h,
	lib/freebl/verified/Hacl_Krmllib.h, lib/freebl/verified/Hacl_P256.c,
	lib/freebl/verified/internal/Hacl_Bignum_Base.h,
	lib/freebl/verified/internal/Hacl_Hash_SHA1.h,
	lib/freebl/verified/internal/Hacl_Hash_SHA2.h,
	lib/freebl/verified/internal/Hacl_IntTypes_Intrinsics.h,
	lib/freebl/verified/internal/Hacl_IntTypes_Intrinsics_128.h,
	lib/freebl/verified/internal/Hacl_Krmllib.h,
	lib/freebl/verified/internal/Hacl_P256.h,
	lib/freebl/verified/internal/lib_intrinsics.h,
	lib/freebl/verified/karamel/include/krml/internal/target.h, lib/free
	bl/verified/karamel/krmllib/dist/minimal/FStar_UInt_8_16_32_64.h,
	lib/freebl/verified/karamel/krmllib/dist/minimal/Makefile.basic,
	lib/freebl/verified/lib_intrinsics.h:
	Bug 1853737 - Updated code and commit ID for HACL*. r=jschanck

	[3501ba1860c3]

2023-09-20  Iaroslav Gridin  <iaroslav.gridin@tuni.fi>

	* tests/acvp/fuzzed/ecdsa.json:
	Bug 1840510: update ACVP fuzzed test vector: refuzzed with current
	NSS r=jschanck

	[da1cde22e844]

2023-09-15  Robert Relyea  <rrelyea@redhat.com>

	* automation/abi-check/expected-report-libnssutil3.so.txt,
	lib/freebl/nsslowhash.c, lib/freebl/stubs.c, lib/freebl/stubs.h,
	lib/pk11wrap/pk11util.c, lib/softoken/pkcs11.c,
	lib/util/nssutil.def, lib/util/secport.c, lib/util/secport.h:
	Bug 1827303 Softoken C_ calls should use system FIPS setting to
	select NSC_ or FC_ variants.

	NSS softoken presents a PKCS #11 API to the NSS low level crypto.
	This allows NSS to have native support for replacement PKCS #11
	libraries, and is also the FIPS boundary, allowing the rest of NSS
	to change without affecting any FIPS validations.

	Some applications that need crypto, but have their own higher level
	implementations of SSL or S/MIME use NSS softoken. Softoken has 2
	general APIs: NSC_xxxx calls which implement the normal NSS
	interface, but does not include any FIPS restrictions, The FC_xxx
	interfaces which implements FIPS restrictions on the semantics of
	the calls and additional FIPS requirements (like self-tests and
	software integrity checks). The official PKCS #11 APIs are C_xxx
	interfaces, and NSS exports those as aliases for NSC_xxxx calls.

	Right now applications that use softoken have to know the NSS names
	if they want to access the FIPS api. This bugs removes this
	restriction and causes calls to C_xxxx to alias to FC_xxxxx if the
	system is in FIPS mode. If the system has no system FIPS indicator,
	or the that indicator is off, the C_xxxx will continue to call
	NSC_xxxxx. NSS itself will continue to use NSC_xxxx or FC_xxxx
	according to the NSS internal FIPS settings.

	---------------- Currently there are 3 layers in NSS with code that
	identifies the whether the system is in NSS: nss proper (which is
	also exported to applications), and freebl for the Freebl hash
	direct case. This code would add a 3rd (in softoken). Rather than
	adding a third, this patch relocates the main function to nssutil
	where softoken, nss, and freebl can all access it. The exception is
	when building freebl with 'NODEPEND' (freebl can provide hashing
	without dependencies on NSPR or NSSUTIL), there needs to be a stub
	implementation. In most platforms and cases this stub is never
	compiled.

	[762cb673ca8c]

	* .hgignore, automation/taskcluster/scripts/split.sh, cmd/Makefile,
	cmd/dbtool/Makefile, cmd/dbtool/dbtool.c, cmd/dbtool/dbtool.gyp,
	cmd/dbtool/manifest.mn, cmd/manifest.mn, lib/softoken/sdb.h,
	nss.gyp:
	Bug 1774659 NSS needs a database tool that can dump the low level
	representation of the database. r=jschanck

	When debugging the database, it would be helpful to know what is in
	the database is a nicely formated way. certutil dumps a high level
	view of the certs and keys, sqlite3 can dump the low level tables
	and raw entries. It would be useful to dump the database as softoken
	sees the database.

	This code grabs a copy of the latest sdb.c from softoken and uses it
	to fetch the database entries, then parses them as necessary. It
	uses the pkcs11 table in libsec to format the result data into human
	readable strings.

	[e52240a4bc62]

2023-09-08  John Schanck  <jschanck@mozilla.com>

	* gtests/mozpkix_gtest/pkixnames_tests.cpp:
	Bug 1852179 - declare string literals using char in
	pkixnames_tests.cpp. r=nss-reviewers,nkulatova

	[dbed9fc0522a]

Differential Revision: https://phabricator.services.mozilla.com/D189815
2023-10-02 20:43:59 +00:00
ffxbld
4fb745dae5 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,diannaS
Differential Revision: https://phabricator.services.mozilla.com/D189768
2023-10-02 13:07:06 +00:00
Sylvestre Ledru
e29c7bb785 Bug 1855681 - Replace std::endl by '\n' in the code base r=emilio,media-playback-reviewers,stransky
See:
https://clang.llvm.org/extra/clang-tidy/checks/performance/avoid-endl.html
for the rational

Differential Revision: https://phabricator.services.mozilla.com/D189489
2023-09-30 06:58:32 +00:00
Mike Hommey
83f4904aca Bug 1855631 - Upgrade bindgen to 0.68.1. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189457
2023-09-29 00:06:10 +00:00
Sandor Molnar
c26c4d8079 Bug 1854519 - Fix build bustages. a=test-fix CLOSED TREE 2023-09-29 01:32:05 +03:00
Mike Hommey
641990d479 Bug 1854519 - Disable auto-vectorization of wasm code with older versions of clang. r=firefox-build-system-reviewers,sergesanspaille
Before clang 11, it would generate broken wasm with auto-vectorization
enabled.

Differential Revision: https://phabricator.services.mozilla.com/D189319
2023-09-28 20:56:30 +00:00
Mike Hommey
623150583a Bug 1854519 - Don't use wasi-emulated-process-clocks with older wasi SDKs. r=firefox-build-system-reviewers,sergesanspaille
It only appeared in wasi-sdk-16.

Differential Revision: https://phabricator.services.mozilla.com/D189318
2023-09-28 20:56:30 +00:00
Mike Hommey
1924f58224 Bug 1854519 - Only use emulated-process-clocks when sandboxing hunspell. r=firefox-build-system-reviewers,sergesanspaille
Hunspell is the only sandboxed library that uses the clock.

Differential Revision: https://phabricator.services.mozilla.com/D189317
2023-09-28 20:56:29 +00:00
ffxbld
dbbd7e8b7c No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,diannaS
Differential Revision: https://phabricator.services.mozilla.com/D189479
2023-09-28 14:00:09 +00:00
Joel Maher
99abb50b8d Bug 1853245 - Migrate .ini manifests to .toml (Batch 7.25). r=aryx,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D189221
2023-09-26 17:40:01 +00:00
Mike Hommey
29b09df481 Bug 1853840 - Move sandboxed soundtouch out of libxul and reenable sandbox. r=firefox-build-system-reviewers,shravanrn,media-playback-reviewers,padenot,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D188648
2023-09-26 04:08:10 +00:00