Commit Graph
11108 Commits
Author SHA1 Message Date
velzie 673a67963e initial commit for wasm work 2026-06-15 19:20:19 -04:00
Glenn Watson 57ce6d6d2d Bug 2045587 - Support renderdoc captures in webrender + wrshell r=firefox-build-system-reviewers,gfx-reviewers,wsmind,nical,sergesanspaille
Add a /renderdoc-capture debug-server endpoint plus a wrshell `rd`
command and "Capture (RenderDoc)" GUI button. To produce a self-contained
capture, it clears the resource caches and forces a full invalidated
rebuild, so the captured frame re-rasterizes all picture-cache tiles,
glyphs and images in-frame (a single-frame RenderDoc capture can't replay
WebRender's persistent caches populated in earlier frames).

Includes a `mach wrshell` launcher (preloads librenderdoc, disables the
GPU process, starts wrshell) and a RenderDoc bootstrap script. Gated
behind --enable-webrender-debugger.

Differential Revision: https://phabricator.services.mozilla.com/D305080
2026-06-12 03:27:30 +00:00
Nina Pypchenko 592c49cc38 Bug 2039925 - Move New Tab preference strings to a trainhoppable FTL file r=fluent-reviewers,tgiles,thecount,mconley,bolsson
Moves the strings for the "Homepage" and "Firefox Home" sections of
about:settings#home into newtab.ftl, so they ship in the newtab XPI
alongside AboutPreferences.sys.mjs.

Strings shared with the legacy settings renderer get "-srd" suffix
copies in newtab.ftl with the redesigned code rewired, so the two files
don't define the same IDs.

Differential Revision: https://phabricator.services.mozilla.com/D301718
2026-06-12 03:26:16 +00:00
Emilio Cobos Álvarez 981315dfa3 No bug - Remove stale comment.
Modelines have been removed across the tree.

Differential Revision: https://phabricator.services.mozilla.com/D306311
2026-06-12 02:13:56 +00:00
Atila Butkovits 4349feb0b9 Revert "Bug 2045587 - Support renderdoc captures in webrender + wrshell r=firefox-build-system-reviewers,gfx-reviewers,wsmind,nical,sergesanspaille" for causing WR bustages.
This reverts commit 2d7d556788.
2026-06-12 00:20:12 +00:00
Andrew Halberstadt ce538e0d6d Bug 2046948 - Bump to Taskgraph 24.1.1 in Decision task, r=releng-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D306282
2026-06-11 22:58:35 +00:00
Glenn Watson 2d7d556788 Bug 2045587 - Support renderdoc captures in webrender + wrshell r=firefox-build-system-reviewers,gfx-reviewers,wsmind,nical,sergesanspaille
Add a /renderdoc-capture debug-server endpoint plus a wrshell `rd`
command and "Capture (RenderDoc)" GUI button. To produce a self-contained
capture, it clears the resource caches and forces a full invalidated
rebuild, so the captured frame re-rasterizes all picture-cache tiles,
glyphs and images in-frame (a single-frame RenderDoc capture can't replay
WebRender's persistent caches populated in earlier frames).

Includes a `mach wrshell` launcher (preloads librenderdoc, disables the
GPU process, starts wrshell) and a RenderDoc bootstrap script. Gated
behind --enable-webrender-debugger.

Differential Revision: https://phabricator.services.mozilla.com/D305080
2026-06-11 22:57:30 +00:00
Arnaud Bienner e2d9241a0b Bug 2039187 - linters: fix race condition when --fix option is specified r=linter-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D300236
2026-06-11 08:11:04 +00:00
tmanku 1454b915ab Bug 2034256: Add Nova styling for password doorhanger. r=dimi,desktop-theme-reviewers,mkennedy,dao,mtigley,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D296008
2026-06-11 02:55:30 +00:00
Geoff Lankow 6fc27be96c Bug 2045814 - Allow macOS aarch64-only artifact builds. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D305423
2026-06-11 00:27:20 +00:00
Ben Hearsum 0379263994 Bug 2046273: pre: upgrade to taskgraph 24.1.0 r=releng-reviewers,amadan
Differential Revision: https://phabricator.services.mozilla.com/D305874
2026-06-10 22:16:31 +00:00
Alex Hochheiden 0573170c70 Bug 2038789 - Add PP_FILES_EXTRA_DEPS and use it for platform.ini and AppConstants.sys.mjs r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D303465
2026-06-10 19:51:35 +00:00
Irene Ni 136aca1ee3 Bug 2034869 - Add "Learn more" link to New Tab sections context menu. r=fluent-reviewers,bolsson,thecount
Differential Revision: https://phabricator.services.mozilla.com/D296406
2026-06-10 18:55:44 +00:00
rperta 321de27c8b Revert "Bug 2039925 - Move New Tab preference strings to a trainhoppable FTL file r=fluent-reviewers,tgiles,thecount,mconley,bolsson" for causing bc failures at browser_search_subdialogs_within_preferences_site_data_xul.js
This reverts commit 1a2ccda45f.
2026-06-10 17:05:32 +00:00
Nina Pypchenko 1a2ccda45f Bug 2039925 - Move New Tab preference strings to a trainhoppable FTL file r=fluent-reviewers,tgiles,thecount,mconley,bolsson
Moves the strings for the "Homepage" and "Firefox Home" sections of
about:settings#home into newtab.ftl, so they ship in the newtab XPI
alongside AboutPreferences.sys.mjs.

Strings shared with the legacy settings renderer get "-srd" suffix
copies in newtab.ftl with the redesigned code rewired, so the two files
don't define the same IDs.

Differential Revision: https://phabricator.services.mozilla.com/D301718
2026-06-10 15:17:29 +00:00
Andrea Marchesini a40434d335 Bug 2043735 - Container Settings UI - part 2 - the panel r=desktop-theme-reviewers,mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D303493
2026-06-10 07:11:13 +00:00
Daniel Darnell cd43a43f18 Bug 2005200 - Make Thunderbird langpacks depend on correct Thunderbird epoch. r=releng-reviewers,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D305463
2026-06-10 01:16:17 +00:00
Jamie Nicol 83d6b558af Bug 2043320 - Support response_file_contents for GN actions in gn_processor.py. r=glandium
Some GN actions pass large lists of input files through a response file
rather than directly on the command line. We need to support this in
order to build ANGLE with moz.build files generated by gn_processor.py.

The only case we currently need to support is ANGLE's
angle_program_version_id action. The response_file_contents field in
this case is a list of relative paths from the GN gen dir to files in
the source tree, but the action is executed at build time with a cwd in
the objdir. At vendor time, gn_processor.py cannot know the eventual
source directory, object directory, or relative path between the two.

To handle this, gn_processor.py encodes those paths into a vendored
.rsp.in sidecar file using mozbuild-style path prefixes. At build time,
a new write_path_list.py action converts the .rsp.in file into a real
response file in the objdir, resolving those prefixes to absolute paths
and shell-quoting them as required by GN's response file format. A
second GeneratedFile invokes the original action via the existing
file_generate_wrapper.py entry point, substituting the
{{response_file_name}} placeholder in the action's args with the path of
the generated response file.

Since response file contents can vary between build configurations,
the .rsp.in filename includes a hash of its contents so that each
distinct variant has a unique name and all can coexist in-tree. Where
the .rsp.in differs between configurations, the moz.build writer emits
the GeneratedFile statements that generate the real response file
conditionally.

The `GeneratedFiles` context attr is now stored as a list so that a GN
action can produce both the response file and the action output. The
stale generated-file cleanup is also updated to retain these extra
sidecar files while still removing stale generated outputs.

Additionally, we must make the raw project.json path rewriting more
specific. The previous broad target_dir replacements could modify paths
in response_file_contents and make them point at files that do not
exist.

Note that a response file can technically contain arbitrary data, but
this currently only supports the case where it is a list of paths. If we
need to support arbitrary response file contents in the future then this
will need to be adapted.

Differential Revision: https://phabricator.services.mozilla.com/D300873
2026-06-09 05:34:23 +00:00
Ped Y 30c349fb3e Bug 2042438 - Replace percent formatting with f-strings in lldb gfx utils. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D305058
2026-06-07 20:40:26 +00:00
Andrew Halberstadt e04f0f437c Bug 2044771 - Bump taskcluster-taskgraph to v24.0.0, r=taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D304566
2026-06-04 15:31:53 +00:00
Erich Gubler 0734d2d658 Bug 2029829 - fix(jj): correct broken clean_directory impl. r=sfink
I doubt that this ever worked. At the time this code was written, `jj` 0.28.2 was the latest release. The [0.28.2 docs for `jj restore`] do not include a `-r` argument.

Comparing to the `git.py` sibling file, it seems the intent may have been to use `-f/--from`, i.e., "please discard anything in the current change at `$path`". Restoring the current change's contents to the parent change is the default behavior with no options, so all we need to do is provide the path to be cleared as a positional argument to narrow as desired.

Add an end-of-options sentinel (`--`) for good measure, to guard against file names with a leading `-`.

[0.28.2 docs for `jj restore`]: https://docs.jj-vcs.dev/v0.28.2/cli-reference/#jj-restore

Differential Revision: https://phabricator.services.mozilla.com/D292267
2026-06-04 15:29:50 +00:00
Erich Gubler cd0db4cbae Bug 2029030 - refactor(hg): s/-m/--message for clarity r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D292527
2026-06-04 15:29:48 +00:00
Erich Gubler 055b54ed27 Bug 2029030 - refactor(hg): s/-a/--all for clarity r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D291897
2026-06-04 15:29:45 +00:00
Erich Gubler 174ea61b9e Bug 2029030 - refactor(jj): s/-n/--limit for clarity r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D291896
2026-06-04 15:29:43 +00:00
Erich Gubler 3e7869d813 Bug 2029030 - refactor(jj): s/-m/--message for clarity r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D291895
2026-06-04 15:29:41 +00:00
Erich Gubler 03e9a48ff5 Bug 2029030 - refactor(jj): s/-r/--revision[s] for clarity r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D291894
2026-06-04 15:29:38 +00:00
Erich Gubler a80b77cc7a Bug 2029030 - refactor(jj): s/-T/--template for clarity r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D291893
2026-06-04 15:29:36 +00:00
Andrej Glavic 00580b5a5e Bug 2044151 - Replace all %s with f_strings in python/mozperftest. r=perftest-reviewers,mozperftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D303895
2026-06-04 14:10:11 +00:00
Atila Butkovits 0f3d277685 Revert "Bug 2029829 - fix(jj): correct broken clean_directory impl. r=sfink" for causing failures at test_push_to_try.py.
This reverts commit 355055f73c.

Revert "Bug 2029030 - refactor(hg): s/-m/--message for clarity r=sfink"

This reverts commit ee6da071d2.

Revert "Bug 2029030 - refactor(hg): s/-a/--all for clarity r=sfink"

This reverts commit bd57f50d99.

Revert "Bug 2029030 - refactor(jj): s/-n/--limit for clarity r=sfink"

This reverts commit b64c2400e0.

Revert "Bug 2029030 - refactor(jj): s/-m/--message for clarity r=sfink"

This reverts commit d4722092f6.

Revert "Bug 2029030 - refactor(jj): s/-r/--revision[s] for clarity r=sfink"

This reverts commit 7fb02f02ef.

Revert "Bug 2029030 - refactor(jj): s/-T/--template for clarity r=sfink"

This reverts commit c9c6498fdf.
2026-06-04 13:57:49 +00:00
Erich Gubler 355055f73c Bug 2029829 - fix(jj): correct broken clean_directory impl. r=sfink
I doubt that this ever worked. At the time this code was written, `jj` 0.28.2 was the latest release. The [0.28.2 docs for `jj restore`] do not include a `-r` argument.

Comparing to the `git.py` sibling file, it seems the intent may have been to use `-f/--from`, i.e., "please discard anything in the current change at `$path`". Restoring the current change's contents to the parent change is the default behavior with no options, so all we need to do is provide the path to be cleared as a positional argument to narrow as desired.

Add an end-of-options sentinel (`--`) for good measure, to guard against file names with a leading `-`.

[0.28.2 docs for `jj restore`]: https://docs.jj-vcs.dev/v0.28.2/cli-reference/#jj-restore

Differential Revision: https://phabricator.services.mozilla.com/D292267
2026-06-04 13:38:25 +00:00
Erich Gubler ee6da071d2 Bug 2029030 - refactor(hg): s/-m/--message for clarity r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D292527
2026-06-04 13:38:23 +00:00
Erich Gubler bd57f50d99 Bug 2029030 - refactor(hg): s/-a/--all for clarity r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D291897
2026-06-04 13:38:20 +00:00
Erich Gubler b64c2400e0 Bug 2029030 - refactor(jj): s/-n/--limit for clarity r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D291896
2026-06-04 13:38:18 +00:00
Erich Gubler d4722092f6 Bug 2029030 - refactor(jj): s/-m/--message for clarity r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D291895
2026-06-04 13:38:16 +00:00
Erich Gubler 7fb02f02ef Bug 2029030 - refactor(jj): s/-r/--revision[s] for clarity r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D291894
2026-06-04 13:38:14 +00:00
Erich Gubler c9c6498fdf Bug 2029030 - refactor(jj): s/-T/--template for clarity r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D291893
2026-06-04 13:38:12 +00:00
Andrea Marchesini c775ae538f Bug 2044354 - Containers: nova color migration r=mkaply,extension-reviewers,fluent-reviewers,flod,willdurand,robwu
Differential Revision: https://phabricator.services.mozilla.com/D304109
2026-06-04 10:49:56 +00:00
Andrea Marchesini ff63c70d46 Bug 2043735 - Container Settings UI - part 1 - Centralize container colors and icons r=extension-reviewers,urlbar-reviewers,tgiles,fluent-reviewers,flod,willdurand,firefox-desktop-core-reviewers ,mak
Differential Revision: https://phabricator.services.mozilla.com/D303607
2026-06-04 10:49:54 +00:00
Alex Hochheiden 6c302dc064 Bug 2043967 - Only run perfdocs on changed files that still exist r=perftest-reviewers,mozperftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D303697
2026-06-03 17:19:24 +00:00
Abhishek Nimalan 712078adc6 Bug 2028955 - Bootstrap samply and profiler-node-tools. r=perftest-reviewers,afinder
When running ./mach bootstrap, profile symbolication dependencies samply
and profiler-node-tools should be installed locally to the .mozbuild
folder from a level-3 CI branch (integration, release).

Differential Revision: https://phabricator.services.mozilla.com/D291837
2026-06-03 17:18:11 +00:00
Andrej Glavic fa03c641c1 Bug 2013281 - Offer to start an android emulator when running mozperftests if no device is connected. r=perftest-reviewers,sparky,mozperftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D282892
2026-06-03 15:48:00 +00:00
Josh Aas dbf4722caa Bug 2043667 - Use a complete and consistent list of languages compiled to binaries. r=padenot,ai4dev-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D303405
2026-06-03 13:24:10 +00:00
Nina Pypchenko 583cc77f09 Bug 2044507 - Add new toggle to remove logo/wordmark r=fluent-reviewers,reemhamz,akulyk,flod
Adds a "Firefox logo" toggle to the Firefox Home section in about:preferences#home,
letting users hide the logo on New Tab.

Differential Revision: https://phabricator.services.mozilla.com/D304314
2026-06-03 06:30:43 +00:00
Anna Kulyk c3925e7315 Bug 2041441 - Part 2: Fix unlabeled inputs on Home and startup settings page r=fluent-reviewers,mstriemer,flod,nina-py
Differential Revision: https://phabricator.services.mozilla.com/D303928
2026-06-03 03:03:17 +00:00
Michael Kaply f696a4300c Bug 2042353 - Label about:policies nav buttons when the sidebar is collapsed. r=fluent-reviewers,jmendez,flod
Differential Revision: https://phabricator.services.mozilla.com/D303797
2026-06-02 14:16:45 +00:00
Dan Mosedale 73620ff460 Bug 2018245 - Give firefox-devtools-mcp better defaults r=ai4dev-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D294087
2026-06-02 07:19:43 +00:00
Francesco Lodolo cf7ef37d65 Bug 2043911 - Provide summary of warnings/errors when testing fluent migrations, r=eemeli,bolsson
Produce errors for
- Migrated strings that have differences beyond capitalization changes.
- Strings that are included in the recipe but don't appear in the migrated content.
- Attempts to migrate a string to the same ID in the same file.

Produce warnings/info for
- Strings missing from the migrated file, but not declared in the migration.
- Capitalization only differences.

Differential Revision: https://phabricator.services.mozilla.com/D303689
2026-06-02 06:17:32 +00:00
Alex Hochheiden c6199915be Bug 2038789 - Add EXTRA_LINK_DEPS for declaring linker input files r=firefox-build-system-reviewers,sergesanspaille
Linker inputs referenced only through `LDFLAGS` are
invisible to the build backend, so make can run the
link before those files exist. Add `EXTRA_LINK_DEPS`
to declare those inputs explicitly, and use it for
the macOS updater plist files.

Differential Revision: https://phabricator.services.mozilla.com/D302162
2026-06-01 20:49:47 +00:00
Alex Hochheiden 9546d39834 Bug 2038789 - Add extra_deps to GeneratedFile for hidden runtime prereqs, and use it for application.ini r=firefox-build-system-reviewers,sergesanspaille
Some `GeneratedFile` scripts open additional files at runtime
(e.g. #include @TOPOBJDIR@/...), so backends need a way to
declare those as prerequisites without passing them as
positional args.

Also normalizes the `_target_per_file` key to an absolute
path so `GENERATED_FILES` dependencies that cross directory
boundaries actually resolve.

Differential Revision: https://phabricator.services.mozilla.com/D302161
2026-06-01 20:49:44 +00:00
Alex Hochheiden dddf950d42 Bug 2038789 - Replace JSSHELL_BINS with a JS_SHELL_ARCHIVE_FILES moz.build primitive r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D300878
2026-06-01 20:49:41 +00:00