Commit Graph

2879 Commits

Author SHA1 Message Date
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
Butkovits Atila
57d3668876 Backed out changeset 113850da1f80 (bug 1903302) for causing python failures. CLOSED TREE 2024-12-05 12:25:38 +02:00
Nicolas Silva
a374e4b165 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-05 09:39:55 +00:00
Gabriel Bustamante
d3fa01bb2a Bug 1933427 - Update maintainer field in .deb packages to Mozilla r=releng-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D230435
2024-12-02 19:21:17 +00:00
Logan Rosen
d24c9d9ff4 Bug 1857834 - auto-formatting with Prettier v3 r=linter-reviewers,webdriver-reviewers,perftest-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,reusable-components-reviewers,profiler-reviewers,dom-storage-reviewers,android-reviewers,firefox-ai-ml-reviewers,hjones,mcheang,mstange,sparky,janv,nchevobbe,tarek,Standard8,markh
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D230598
2024-11-29 15:18:25 +00:00
Emilio Cobos Álvarez
ebe0ec0cbc Bug 1388910 - Remove -moz-user-modify property. r=dshin
We successfully unshipped it in bug 1920118.

Differential Revision: https://phabricator.services.mozilla.com/D229530
2024-11-19 19:35:35 +00:00
Chris DuPuis
464ff0bbb5 Bug 1762608: Add a comment to Firefox shortcuts (.lnk files) r=bytesized,nalexander
When the installer creates or updates a Firefox shortcut,
and there is no description included as part of the shortcut,
create a description.

Differential Revision: https://phabricator.services.mozilla.com/D223999
2024-11-12 16:12:02 +00:00
Eric Chen
ee5730872a Bug 1859597 - Part2: add buildid to full and stub installer telemetry r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D223765
2024-11-06 17:23:47 +00:00
Eric Chen
33e5dcae5a Bug 1859597 - Part1: Adding Windows UBR to full and stub installer telemetry r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D220160
2024-11-06 17:23:46 +00:00
Alex Franchuk
5e374731ed Bug 1917685 - Merge minidump-analyzer into the crash reporter client r=gsvelto,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225234
2024-10-23 13:58:12 +00:00
Sandor Molnar
d5a787c761 Backed out changeset bb90d095b8b8 (bug 1917685) for causing xpc failures @ test_crash_exc_guard / test_crash_service CLOSED TREE 2024-10-22 01:46:53 +03:00
Alex Franchuk
8b1591e0b5 Bug 1917685 - Merge minidump-analyzer into the crash reporter client r=gsvelto,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225234
2024-10-21 16:46:06 +00:00