Commit Graph

2890 Commits

Author SHA1 Message Date
Butkovits Atila
89c78a3c0f Backed out 3 changesets (bug 1953517, bug 1948914) for causing bustages complaining about packager.mk. CLOSED TREE
Backed out changeset a2cd0bcc2fe2 (bug 1953517)
Backed out changeset 90b8d015e5ca (bug 1948914)
Backed out changeset f4ce0e58a9ff (bug 1948914)
2025-03-21 17:23:25 +02:00
Andrea Marchesini
4c5d1769dd Bug 1948914 - Bundle webcompat into Firefox Desktop omni jar, r=rpl,twisniewski,webcompat-reviewers,firefox-desktop-core-reviewers ,mak
Differential Revision: https://phabricator.services.mozilla.com/D232530
2025-03-21 13:36:43 +00:00
Alexandru Marc
e2cf0a5c87 Backed out 2 changesets (bug 1953517, bug 1948914) for causing valgrind bustage CLOSED TREE
Backed out changeset 4874df07326c (bug 1953517)
Backed out changeset d49d202cfea4 (bug 1948914)
2025-03-16 15:11:16 +02:00
Andrea Marchesini
58436fa3cb Bug 1948914 - Bundle webcompat into Firefox Desktop omni jar, r=rpl,twisniewski,webcompat-reviewers,firefox-desktop-core-reviewers ,mak
Differential Revision: https://phabricator.services.mozilla.com/D232530
2025-03-15 23:20:36 +00:00
Mike Conley
db199bd880 Bug 1953005 - Adjust browser_all_files_referenced, browser_parsable_css and allowed-dupes for built-in newtab addon case. r=baku
This also updates the addon-jar.mn script to remove the static chrome / resource registrations,
as this is taken care of in resource-mapping.js, and causes interesting test failures in CI
when included (specifically, if the manifest is refreshed after resource-mapping has run).

Differential Revision: https://phabricator.services.mozilla.com/D241463
2025-03-14 20:18:50 +00:00
Andrea Marchesini
2e1ea4ad40 Bug 1948916 - Bundle formautofill into Firefox Desktop omni jar, r=rpl,credential-management-reviewers,dimi,fluent-reviewers,perftest-reviewers,bolsson,sparky
Differential Revision: https://phabricator.services.mozilla.com/D232640
2025-03-14 16:35:24 +00:00
Sandor Molnar
8813482655 Backed out 4 changesets (bug 1891616) for causing Gtest failures.
Backed out changeset dc2df0951f2d (bug 1891616)
Backed out changeset be167306c141 (bug 1891616)
Backed out changeset 779e43f7bf47 (bug 1891616)
Backed out changeset 883ad5151426 (bug 1891616)
2025-03-05 22:31:40 +02:00
Chris DuPuis
7bdee519d1 Bug 1891616: shared libraries for getting an installation's directory layout r=bytesized
This change creates the installation directory layout DLLs to be used in the versioned install
directory project outlined in https://bugzilla.mozilla.org/show_bug.cgi?id=1891600

These DLLs are both named InstallationDirLayout.dll, and their only
functionality is to return whether the current client installation uses
a single install directory (the current way), or versioned install
directories.

Eventually, the updater or installer will choose the appropriate version of this
directory to be installed on the client machine. Until we have that
functionality, the "single layout" version of the library will be
installed in the bin directory of the installation, and the "versioned
layout" version will be installed in a subdirectory.

More details are in the index.rst document included in this change.

Differential Revision: https://phabricator.services.mozilla.com/D236065
2025-03-05 15:57:41 +00:00
Gijs Kruitbosch
dcb8be8cff Bug 1950871 - switch browser/components/tabbrowser to use moz-src, r=dao,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D239926
2025-03-03 12:47:49 +00:00
Sandor Molnar
13d09c1f65 Backed out 4 changesets (bug 1945566) for causing build bustages/py3 unit test failures/bugzilla lint failures CLOSED TREE
Backed out changeset 6d69925d57ac (bug 1945566)
Backed out changeset 1b2bd35ca71f (bug 1945566)
Backed out changeset 9eba66d33006 (bug 1945566)
Backed out changeset c19c6833ebdc (bug 1945566)
2025-02-26 14:24:49 +02:00
Gijs Kruitbosch
9ddf1ecd91 Bug 1945566 - Add MOZ_SRC_FILES directive to moz.build, r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D236571
2025-02-26 11:31:00 +00:00
Chris DuPuis
27d7ebc75e Bug 1940280 - Part 5: Update Makefiles to make everything r=nalexander,browser-installer-reviewers
Note that this builds the test_stub.exe exectuable into
$(topobjdir)/dist/bin

Differential Revision: https://phabricator.services.mozilla.com/D233407
2025-02-21 16:17:24 +00:00
Chris DuPuis
a1303fe432 Bug 1940280 - Part 4: Add xpcshell test to run the test installer r=nalexander,nrishel,browser-installer-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D233406
2025-02-21 16:17:24 +00:00
Chris DuPuis
f447bfbfef Bug 1940280 - Part 3: Add test stub installer r=nalexander,nrishel,browser-installer-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D233405
2025-02-21 16:17:24 +00:00
Chris DuPuis
a6ec18240c Bug 1940280 - Part 2: Refactor stub.nsi to allow sharing with a test installer r=nalexander,nrishel,browser-installer-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D233404
2025-02-21 16:17:23 +00:00
Chris DuPuis
00e1fd8a5f Bug 1940280 - Part 1: Rename stub.nsi to stub.nsh r=nalexander,nrishel,browser-installer-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D233403
2025-02-21 16:17:23 +00:00
Julien Cristau
ba1fdc821e Bug 1726251 - add mach repackage flatpak command. r=releng-reviewers,gerard-majax,bhearsum
Copy commands from taskcluster/docker/firefox-flatpak/runme.sh into a
standalone repackage command that can be pointed at a firefox build and
spit out a flatpak repository.

The browser/installer/linux/app/flatpak directory contains templates and
extra files that get injected into the flatpak build process.

Differential Revision: https://phabricator.services.mozilla.com/D238800
2025-02-21 15:03:17 +00:00
Anna
20ceb96c36 Bug 1942805 - Builtins: building in xul instead of separate library r=glandium,keeler,geckoview-reviewers,browser-installer-reviewers,nalexander,owlish,jschanck
Differential Revision: https://phabricator.services.mozilla.com/D234953
2025-02-21 12:49:03 +00:00
Goloman Adrian
7a6f0dd01d Backed out 10 changesets (bug 1942805, bug 1620998) for causing grandle and ui failures.
Backed out changeset b840c4565b11 (bug 1942805)
Backed out changeset 7acecab7051d (bug 1620998)
Backed out changeset bad9fd65a113 (bug 1620998)
Backed out changeset 11b93a07b5b1 (bug 1620998)
Backed out changeset c6e1addf36e0 (bug 1620998)
Backed out changeset be300aa07606 (bug 1620998)
Backed out changeset fb9daf29a61a (bug 1620998)
Backed out changeset 2ee28adc6f8e (bug 1620998)
Backed out changeset ef24c2b9784c (bug 1620998)
Backed out changeset 8f5c82b3dbe5 (bug 1620998)
2025-02-19 21:24:01 +02:00
Anna
42368e5466 Bug 1942805 - Builtins: building in xul instead of separate library r=glandium,keeler,geckoview-reviewers,browser-installer-reviewers,nalexander,owlish
Differential Revision: https://phabricator.services.mozilla.com/D234953
2025-02-19 15:16:38 +00:00
Gabriele Svelto
5b7d8fdf9a Bug 1620998 - Out-of-process crash generation for child processes r=afranchuk,geckoview-reviewers,glandium,browser-installer-reviewers,nalexander,owlish
This implements the crash helper service used to move child process crash
report generation out of the main process and into its own process. This is
implemented as a separate executable that is launched on startup by the main
process on the desktop platforms and as a service hosted by a separate process
on Android.

One limitation of the current code is that the crash helper process needs to
be running before we can start setting exception handlers in child processes.
This limitation is due to how Breakpad exception handlers register themselves
with the crash generator and prevents us from lazily starting the helper (or
restarting it on Android).

IPC with the crash helper is implemented using Unix sockets on Linux and macOS
with the former using sequential packets and the latter using stream sockets.
On Windows we use named pipes. In all cases the choice of IPC was dictated both
by the requirement to eventually talk directly to child processes from within
the sandbox, and to external processes in case of Windows as the Windows
Error Reporting exception handler must be able to reach out to the helper from
within a restricted context. These particular requirements are not used yet but
will be as we move more logic out of the main process logic.

Differential Revision: https://phabricator.services.mozilla.com/D231083
2025-02-19 12:58:34 +00:00
Butkovits Atila
e172dc8166 Backed out changeset 252a1b94c754 (bug 1942805) for causing failures at test_builtins.js. CLOSED TREE 2025-02-19 13:39:27 +02:00
Anna
9d12ca5e71 Bug 1942805 - Builtins: building in xul instead of separate library r=glandium,keeler,geckoview-reviewers,browser-installer-reviewers,nalexander,owlish
Differential Revision: https://phabricator.services.mozilla.com/D234953
2025-02-19 10:12:11 +00:00
Stanca Serban
4b816a2102 Backed out 10 changesets (bug 1620998, bug 1565033) for causing xpcshell failures.
Backed out changeset b2a854b53890 (bug 1565033)
Backed out changeset 72e6d58417a6 (bug 1620998)
Backed out changeset 36cbb4c4de20 (bug 1620998)
Backed out changeset 26b4bd0a30fe (bug 1620998)
Backed out changeset 5f24f386b12c (bug 1620998)
Backed out changeset 954fcb2f8ae1 (bug 1620998)
Backed out changeset 48a67f641eff (bug 1620998)
Backed out changeset e342d2531f46 (bug 1620998)
Backed out changeset 1be788431dae (bug 1620998)
Backed out changeset bcb528abe29d (bug 1620998)
2025-02-13 04:18:34 +02:00
Gabriele Svelto
e2f7a6a1c8 Bug 1620998 - Out-of-process crash generation for child processes r=afranchuk,geckoview-reviewers,glandium,browser-installer-reviewers,nalexander,owlish
This implements the crash helper service used to move child process crash
report generation out of the main process and into its own process. This is
implemented as a separate executable that is launched on startup by the main
process on the desktop platforms and as a service hosted by a separate process
on Android.

One limitation of the current code is that the crash helper process needs to
be running before we can start setting exception handlers in child processes.
This limitation is due to how Breakpad exception handlers register themselves
with the crash generator and prevents us from lazily starting the helper (or
restarting it on Android).

IPC with the crash helper is implemented using Unix sockets on Linux and macOS
with the former using sequential packets and the latter using stream sockets.
On Windows we use named pipes. In all cases the choice of IPC was dictated both
by the requirement to eventually talk directly to child processes from within
the sandbox, and to external processes in case of Windows as the Windows
Error Reporting exception handler must be able to reach out to the helper from
within a restricted context. These particular requirements are not used yet but
will be as we move more logic out of the main process logic.

Differential Revision: https://phabricator.services.mozilla.com/D231083
2025-02-12 14:06:10 +00:00
Sandor Molnar
77eb9e958e Backed out 9 changesets (bug 1620998) for causing multiple xpc failures. CLOSED TREE
Backed out changeset d261d33c1778 (bug 1620998)
Backed out changeset 159fa2982a24 (bug 1620998)
Backed out changeset 7b2fd4d66216 (bug 1620998)
Backed out changeset 81bf2c760466 (bug 1620998)
Backed out changeset bd4719db23d2 (bug 1620998)
Backed out changeset 074b06a16323 (bug 1620998)
Backed out changeset 0d6ef1c8e871 (bug 1620998)
Backed out changeset 0a7a0876a987 (bug 1620998)
Backed out changeset fe27920e71da (bug 1620998)
2025-02-11 19:23:09 +02:00
Gabriele Svelto
849a598e7b Bug 1620998 - Out-of-process crash generation for child processes r=afranchuk,geckoview-reviewers,glandium,browser-installer-reviewers,nalexander,owlish
This implements the crash helper service used to move child process crash
report generation out of the main process and into its own process. This is
implemented as a separate executable that is launched on startup by the main
process on the desktop platforms and as a service hosted by a separate process
on Android.

One limitation of the current code is that the crash helper process needs to
be running before we can start setting exception handlers in child processes.
This limitation is due to how Breakpad exception handlers register themselves
with the crash generator and prevents us from lazily starting the helper (or
restarting it on Android).

IPC with the crash helper is implemented using Unix sockets on Linux and macOS
with the former using sequential packets and the latter using stream sockets.
On Windows we use named pipes. In all cases the choice of IPC was dictated both
by the requirement to eventually talk directly to child processes from within
the sandbox, and to external processes in case of Windows as the Windows
Error Reporting exception handler must be able to reach out to the helper from
within a restricted context. These particular requirements are not used yet but
will be as we move more logic out of the main process logic.

Differential Revision: https://phabricator.services.mozilla.com/D231083
2025-02-11 13:46:06 +00:00
Punam Dahiya
1fd0f99f8e Bug 1940816 - Put newtab chrome and resource assets under chrome://newtab and resource://newtab r=home-newtab-reviewers,omc-reviewers,mconley,credential-management-reviewers,marco,emcminn,valentin,dimi CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D236880
2025-02-10 17:55:34 +00:00
Norisz Fay
29170cefc4 Backed out changeset 5785f202084e (bug 1940816) for causing Bpgo bustage CLOSED TREE 2025-02-11 06:11:10 +02:00
Punam Dahiya
7059cde7b0 Bug 1940816 - Put newtab chrome and resource assets under chrome://newtab and resource://newtab r=home-newtab-reviewers,omc-reviewers,mconley,credential-management-reviewers,marco,emcminn,valentin,dimi
Differential Revision: https://phabricator.services.mozilla.com/D236880
2025-02-10 17:55:34 +00:00
Alexandru Marc
e3b8358964 Backed out 9 changesets (bug 1620998) for causing multiple failures
Backed out changeset fbdd468c1a87 (bug 1620998)
Backed out changeset 186864c03143 (bug 1620998)
Backed out changeset 76fdeb0d5f29 (bug 1620998)
Backed out changeset 948a12c0b735 (bug 1620998)
Backed out changeset d851c9093643 (bug 1620998)
Backed out changeset cd9fd4003d4c (bug 1620998)
Backed out changeset 285a2c5f5da3 (bug 1620998)
Backed out changeset 63b77e1967fb (bug 1620998)
Backed out changeset e15cdf03ffee (bug 1620998)
2025-02-10 13:36:08 +02:00
Gabriele Svelto
c1aedcc20f Bug 1620998 - Out-of-process crash generation for child processes r=afranchuk,geckoview-reviewers,glandium,browser-installer-reviewers,nalexander,owlish
This implements the crash helper service used to move child process crash
report generation out of the main process and into its own process. This is
implemented as a separate executable that is launched on startup by the main
process on the desktop platforms and as a service hosted by a separate process
on Android.

One limitation of the current code is that the crash helper process needs to
be running before we can start setting exception handlers in child processes.
This limitation is due to how Breakpad exception handlers register themselves
with the crash generator and prevents us from lazily starting the helper (or
restarting it on Android).

IPC with the crash helper is implemented using Unix sockets on Linux and macOS
with the former using sequential packets and the latter using stream sockets.
On Windows we use named pipes. In all cases the choice of IPC was dictated both
by the requirement to eventually talk directly to child processes from within
the sandbox, and to external processes in case of Windows as the Windows
Error Reporting exception handler must be able to reach out to the helper from
within a restricted context. These particular requirements are not used yet but
will be as we move more logic out of the main process logic.

Differential Revision: https://phabricator.services.mozilla.com/D231083
2025-02-10 09:17:47 +00:00
Eemeli Aro
bfd3e663b2 Bug 1936528 - Rename generated update.locale as default.locale, always include it r=nalexander,geckoview-reviewers,browser-installer-reviewers,valentin,ohall
Differential Revision: https://phabricator.services.mozilla.com/D232605
2025-02-05 10:53:30 +00:00
Butkovits Atila
9868b151e8 Backed out 9 changesets (bug 1620998) for causing failures at basicWindowDotPrintTest. CLOSED TREE
Backed out changeset de1e828b253c (bug 1620998)
Backed out changeset ef91568228cc (bug 1620998)
Backed out changeset e0f97d7fe45c (bug 1620998)
Backed out changeset 7c45366aff86 (bug 1620998)
Backed out changeset c75348ac4b7f (bug 1620998)
Backed out changeset 0745243849c4 (bug 1620998)
Backed out changeset 56f508d896f8 (bug 1620998)
Backed out changeset 312a462ada77 (bug 1620998)
Backed out changeset fa59ccaa08b8 (bug 1620998)
2025-02-04 19:11:50 +02:00
Gabriele Svelto
648fede404 Bug 1620998 - Out-of-process crash generation for child processes r=afranchuk,geckoview-reviewers,glandium,browser-installer-reviewers,nalexander,owlish
This implements the crash helper service used to move child process crash
report generation out of the main process and into its own process. This is
implemented as a separate executable that is launched on startup by the main
process on the desktop platforms and as a service hosted by a separate process
on Android.

One limitation of the current code is that the crash helper process needs to
be running before we can start setting exception handlers in child processes.
This limitation is due to how Breakpad exception handlers register themselves
with the crash generator and prevents us from lazily starting the helper (or
restarting it on Android).

IPC with the crash helper is implemented using Unix sockets on Linux and macOS
with the former using sequential packets and the latter using stream sockets.
On Windows we use named pipes. In all cases the choice of IPC was dictated both
by the requirement to eventually talk directly to child processes from within
the sandbox, and to external processes in case of Windows as the Windows
Error Reporting exception handler must be able to reach out to the helper from
within a restricted context. These particular requirements are not used yet but
will be as we move more logic out of the main process logic.

Differential Revision: https://phabricator.services.mozilla.com/D231083
2025-02-04 14:37:02 +00:00
Butkovits Atila
97942d0763 Backed out 9 changesets (bug 1620998) for causing bustages. CLOSED TREE
Backed out changeset cc1abb70a660 (bug 1620998)
Backed out changeset b7e67d55d83b (bug 1620998)
Backed out changeset dc2b27fce35f (bug 1620998)
Backed out changeset 4b2403fe71c0 (bug 1620998)
Backed out changeset e935faca4155 (bug 1620998)
Backed out changeset 18c68507ca1f (bug 1620998)
Backed out changeset 0d751b3fa172 (bug 1620998)
Backed out changeset 62a35ddaa958 (bug 1620998)
Backed out changeset bde29ceab1b2 (bug 1620998)
2025-02-04 14:21:32 +02:00
Gabriele Svelto
21fb9231d1 Bug 1620998 - Out-of-process crash generation for child processes r=afranchuk,geckoview-reviewers,glandium,browser-installer-reviewers,nalexander,owlish
This implements the crash helper service used to move child process crash
report generation out of the main process and into its own process. This is
implemented as a separate executable that is launched on startup by the main
process on the desktop platforms and as a service hosted by a separate process
on Android.

One limitation of the current code is that the crash helper process needs to
be running before we can start setting exception handlers in child processes.
This limitation is due to how Breakpad exception handlers register themselves
with the crash generator and prevents us from lazily starting the helper (or
restarting it on Android).

IPC with the crash helper is implemented using Unix sockets on Linux and macOS
with the former using sequential packets and the latter using stream sockets.
On Windows we use named pipes. In all cases the choice of IPC was dictated both
by the requirement to eventually talk directly to child processes from within
the sandbox, and to external processes in case of Windows as the Windows
Error Reporting exception handler must be able to reach out to the helper from
within a restricted context. These particular requirements are not used yet but
will be as we move more logic out of the main process logic.

Differential Revision: https://phabricator.services.mozilla.com/D231083
2025-02-04 11:24:18 +00:00
Anna
2504ff7b8e Bug 1938312 - IPCClientCerts: building in xul instead of separate library r=glandium,keeler,geckoview-reviewers,browser-installer-reviewers,m_kato,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D232620
2025-02-03 09:40:15 +00:00
Eric Chen
050afdc69c Bug 1944685 - add documentation for stub and full installer telemetry r=cdupuis,browser-installer-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D236058
2025-01-30 21:21:54 +00:00
Mike Conley
4f4b8deeb3 Bug 1944611 - Temporarily remap tippytop URIs back to chrome://activity-stream/content/data/content/tippytop/. r=jteow,home-newtab-reviewers,thecount
Differential Revision: https://phabricator.services.mozilla.com/D236006
2025-01-30 03:01:29 +00:00
Mike Conley
e9c91b99ec Bug 1941026 - Decouple tippytop from the newtab codebase and move under the topsites component. r=pdahiya,jteow,home-newtab-reviewers,urlbar-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D235316
2025-01-24 15:16:59 +00:00
Anna Weine
d010e93c00 Bug 1937808 - Export OSClientCerts in libxul instead of shared library r=keeler,glandium
Differential Revision: https://phabricator.services.mozilla.com/D230412
2025-01-15 19:46:29 +00:00
Emilio Cobos Álvarez
b24574c117 Bug 1941134 - Wallpaper: Add designmode.css again to the bundle. r=jesup
Differential Revision: https://phabricator.services.mozilla.com/D233987
2025-01-13 01:41:24 +00:00
Eric Chen
d52abb6429 Bug 1934302 - Fixing full and stub installer telemetry issues r=cdupuis
Differential Revision: https://phabricator.services.mozilla.com/D233944
2025-01-10 20:14:08 +00:00
Chris DuPuis
8649dacb6e Bug 1933847 - For testing an earlier change to the installer, I reversed the sense of a test for Windows version to exercise a failure mode, but then forgot to revert this change. r=Erchen
This change fixes the sense of the test.

Earlier change: https://phabricator.services.mozilla.com/D230471

Differential Revision: https://phabricator.services.mozilla.com/D231621
2024-12-10 20:16:14 +00:00
Chris DuPuis
6cbab3f052 Revert "Backed out changeset 172cdaf359a4 (Bug 1933847) for causing Bug 1935851 r=Erchen"
This reverts commit 61d9d16d53e80d60ab3caefd5587b574f3c3f6eb.

Differential Revision: https://phabricator.services.mozilla.com/D231620
2024-12-10 20:16:14 +00:00
Alexandru Marc
2dad7effd0 Merge mozilla-central to autoland 2024-12-09 16:33:05 +02:00
Alexandru Marc
b6250e6ecd Backed out changeset 172cdaf359a4 (bug 1933847) for causing Bug 1935851 a=backout 2024-12-09 16:31:41 +02:00
Nicolas Silva
6227a35c17 Bug 1903302 - Ship dxcompiler.dll and dxil.dll. r=sylvestre,glandium,firefox-build-system-reviewers
This patch is the first step towards shipping dxcompiler.dll and
dxil.dll (also referred to as DXC) on Windows for WebGPU.

With this patch DXC is disabled by default at build time and can be enabled
on x86_64 by adding `ac_add_options --enable-dxcompiler` in the mozconfig
file.

Followup work will include in no particular order:
 - Enabling DXC by default.
 - Enabling DXC for Windows on x86 and arm architectures.
 - Using our own DXC builds instead of pulling the dlls from the Windows
   SDK.

Differential Revision: https://phabricator.services.mozilla.com/D216293
2024-12-09 13:07:17 +00:00
Chris DuPuis
d6243ce9c4 Bug 1933847: Stub installer exit code enhancements r=Erchen,nalexander
Installer telemetry misses some cases where installation would be aborted, specifically:

    The OS is too old (Windows <10)
    The hardware is missing support for a required feature (SSE2)
    There is insufficient space on the drive
    The target location is not writable

Also, the default error reported by telemetry indicates that the user cancelled the download, regardless of the actual error.

This change addresses these issues.

This change also modifies the URL that the user is directed to, when
we determine that they are running on Windows 7 or 8. The old URL was
the System Requirements page. The new URL is:
https://support.mozilla.org/kb/firefox-users-windows-7-8-and-81-moving-extended-support

Differential Revision: https://phabricator.services.mozilla.com/D230471
2024-12-05 23:02:54 +00:00