Adding basic test coverage for the Colors sub-dialog in the Settings UI, while relying on the `moz-input-color` reusable component to test the input's functionality.
Differential Revision: https://phabricator.services.mozilla.com/D258062
This patch makes the time picker panel accessible by implementing proper ARIA roles and properties, and ensuring the navigation with keyboard and assistive technology is working as expected.
Accessibility improvements:
- Time picker panel uses dialog role with an informative accessible name (when shown alone, as a timepicker)
- Spinbuttons and their increment/decrement controls on the timepicker have accessible names
- All the timepicker's ARIA labels are localized
- L10n files for datetimepickers are merged and migration script provided for the existing datepicker strings
- Datetimepicker dialog markup is adjusted to accommodate both date and time pickers when they are visible together
Interaction improvements:
- Time picker panel respects prefers-reduced-motion preference
- Keyboard focus is managed on the timepicker's initialization and during interaction
- Timepicker handles `Space`/`Enter` and `Escape` keys as expected
- Keyboard events between the date and time picker sections in a combined datetimepicker panel are isolated
Tests are added for time picker panel and `fail-if` expectation is removed from the timepicker mochitest manifest.
Differential Revision: https://phabricator.services.mozilla.com/D167463
In Python 3.14, positional arguments cannot have `action="store_true"`. It seems these were only used
for help text anyway, and not parsed, so removing this fixes it for Python 3.14 without changing the
behavior, while maintaining backwards compatibility with Python 3.9.
Differential Revision: https://phabricator.services.mozilla.com/D269410
If the user's configuration is not set to automatically track the
changed files then try_commit() will create an empty commit without
the modified try_task_config.json, and as a result no tasks will be
executed. This patch fixes this by manually tracking changed files
when creating the try commit.
Differential Revision: https://phabricator.services.mozilla.com/D269409
The syntax is pretty simple: Add a LegacyTest(*args, **keywords) to moz.build
and the test described by its parameters *args will be added to the
`check` target. `keywords` controls environment variable, current
working directory and test dependencies.
Differential Revision: https://phabricator.services.mozilla.com/D260441
zst is faster, can run in parallel, and has better compression ratio.
With this change target.perftests.tests.tar.gz's size does down from 92M
to 83M, and the package_test step goes from 1m25s down to 37s
Differential Revision: https://phabricator.services.mozilla.com/D263314
The version producer doesn't currently work with xpcshell-based perftests, this patch disables it for the xpcshell tests.
Differential Revision: https://phabricator.services.mozilla.com/D268035
Some themes, namely Breeze, stores the color settings like accent
color and colors based on it into the ~/.config/gtk-3.0. This will
allow Firefox flatpak to access the settings to fix color theme
rendering.
Differential Revision: https://phabricator.services.mozilla.com/D267171
Add a `--vcs-diff` option to `mach vendor rust` that prints a diff of
"uncommitted" changes after the main vendoring operation. On success,
this is expected to be empty.
This will be consumed in a subsequent patch, where we upload this sort
of diff to Taskcluster jobs so that contributors can use it to fix their
patches and move on.
Differential Revision: https://phabricator.services.mozilla.com/D267478
zst is faster, can run in parallel, and has better compression ratio.
With this change target.perftests.tests.tar.gz's size does down from 92M
to 83M, and the package_test step goes from 1m25s down to 37s
Differential Revision: https://phabricator.services.mozilla.com/D263314
My patch in bug 1985174 was overcomplicated and unnecessary: `jj diff --from REV- --to REV` can be done with `jj diff -r REV`, which implicitly compares against REV's parent(s). But the main bug here was that `glob:"*.cpp"` is not recursive; it needs to be `glob:"**/*.cpp"`.
Differential Revision: https://phabricator.services.mozilla.com/D267714
My patch in bug 1985174 was overcomplicated and unnecessary: `jj diff --from REV- --to REV` can be done with `jj diff -r REV`, which implicitly compares against REV's parent(s). But the main bug here was that `glob:"*.cpp"` is not recursive; it needs to be `glob:"**/*.cpp"`.
Differential Revision: https://phabricator.services.mozilla.com/D267714
This aggregates test information across all processes and displays a
summary and test failures at the end of the log, which is convenient for
developers.
Differential Revision: https://phabricator.services.mozilla.com/D254996
This changes `./mach gtest` to, by default, run a separate process per
test suite. It adds the `--combine-suites` flag to use the old behavior.
If `--jobs` is specified, at most that many processes will be running at
one time.
Running a separate process per test suite ensures that tests are more
repeatable and don't affect each other. It also interestingly results in
a faster runtime than running all tests from one process, even when run
serially (perhaps due to memory allocator behavior?).
Differential Revision: https://phabricator.services.mozilla.com/D254995
zst is faster, can run in parallel, and has better compression ratio.
With this change target.perftests.tests.tar.gz's size does down from 92M
to 83M, and the package_test step goes from 1m25s down to 37s
Differential Revision: https://phabricator.services.mozilla.com/D263314
This patch adds a new `post-patch-actions` section to be added in a
`moz.yaml` file.
This is useful when you need to run scripts that depend on
Mozilla-specific patches being applied first.
Differential Revision: https://phabricator.services.mozilla.com/D266665
This patch updates all of the Translations perftest infrastructure
to test each Translations model architecture kind: tiny, base-memory,
and base.
Differential Revision: https://phabricator.services.mozilla.com/D266895