Commit Graph

871442 Commits

Author SHA1 Message Date
Kelsey Gilbert
51b6a1de86 Bug 1876888 - Try estimate percentiles as "shortest 5%" instead of "top 95%". r=ahal,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D199789
2024-01-29 21:57:32 +00:00
Emilio Cobos Álvarez
bddf934e04 Bug 1876745 - Factor out scroll{Width,Height} logic. r=dholbert
No behavior change, just clean-up.

Differential Revision: https://phabricator.services.mozilla.com/D199861
2024-01-29 21:32:12 +00:00
Emilio Cobos Álvarez
4b7b1e9498 Bug 1876745 - Fix a drive-by bug in ReflowInput::SetComputedBSize. r=dholbert
We were not using the aFlags argument.

Differential Revision: https://phabricator.services.mozilla.com/D199860
2024-01-29 21:32:12 +00:00
Emilio Cobos Álvarez
36303cf59c Bug 1186204 - Allow animations with backface-visibility: hidden to run in the compositor. r=firefox-animation-reviewers,devtools-reviewers,nchevobbe,boris
The check is not fully correct as per the comment (bug 779598 removed
the preserve-3d check).

I went through the relevant bugs and nothing misbehaves with this
afaict.

Differential Revision: https://phabricator.services.mozilla.com/D199609
2024-01-29 21:28:32 +00:00
Eitan Isaacson
d2c3592aa2 Bug 1876059 - Initialize mac app before migration dialog. r=spohl
In the previous patch I called InitializeMacApp earlier. This caused performance
regressions. We need to initialize it before the migration wizard in order for it
to be accessible, so I added a call just before the Migrate method.

Note: calling InitializeMacApp more than once does nothing.

Differential Revision: https://phabricator.services.mozilla.com/D199786
2024-01-29 21:26:30 +00:00
Brad Werth
2b757a35f2 Bug 1833142: Make pointerlock_utils.addFullscreenChangeContinuation wait for active browsingContext. r=smaug
Since pointerlockchange events will be silently dropped on an inactive
browsingContext, it is useful to wait for the browsingContext to become
active in addFullscreenChangeContinuation. The most likely behavior of
the callback is to trigger a pointerlockchange event, so we should
guarantee that we're ready for it, and error if we know that we'll fail.

Differential Revision: https://phabricator.services.mozilla.com/D199788
2024-01-29 21:18:44 +00:00
Brad Werth
878dd2b1aa Bug 1877153: Make NativeLayerCA check the colorspace of TextureHost to determine if it is video. r=mstange
This also clarifies the calls to IsVideo to prove that all of them are
holding a lock on mutable state.

Differential Revision: https://phabricator.services.mozilla.com/D199915
2024-01-29 21:17:46 +00:00
Gijs Kruitbosch
17f96099e8 Bug 1780071 - autofix toolkit/ violations of no-comparison-or-assignment-inside-ok, r=Standard8,application-update-reviewers,pip-reviewers,anti-tracking-reviewers,places-reviewers,pbz,kpatenio,bytesized,barret
Differential Revision: https://phabricator.services.mozilla.com/D198977
2024-01-29 20:56:21 +00:00
Gregory Pappas
407351c459 Bug 1876934 - Run widget/headless/tests/test_headless.js with e10s enabled r=Gijs
Also, remove the skip-if condition for thunderbird, which was added when they enabled E10S (bug 1687436)

Differential Revision: https://phabricator.services.mozilla.com/D199803
2024-01-29 20:12:20 +00:00
Gregory Pappas
fd0cd55e5a Bug 1876946 - Run dom/base/test/unit/test_blockParsing.js with E10S enabled r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D199807
2024-01-29 19:46:48 +00:00
Boris Chiou
60e44a0ffc Bug 1872309 - Specialize Procedure::Add for rotate property. r=zrhoffman
Slerp doesn't work well if the sum of `this_weight` and `other_weight` is
larger than 1.0. This may produces a cosine value out of the range.
Therefore, we use the combined transform list, which rely on matrix
multiplication, to compute Procedure::Add. And then decompose it to get the
final quaternion vector.
https://drafts.csswg.org/css-transforms-2/#combining-transform-lists

Differential Revision: https://phabricator.services.mozilla.com/D199678
2024-01-29 19:31:50 +00:00
Anna Yeddi
2da17be03f Bug 1873048 - Update AccessibilityUtils to include toolbar's scrollbuttons in the isKeyboardFocusableBrowserToolbarButton check. r=Jamie,reusable-components-reviewers,tgiles
Include `scrollbutton-down` and `scrollbutton-up` toolbarbuttons in the `isKeyboardFocusableBrowserToolbarButton` check to avoid failing [isKeyboardFocusable a11y_check](https://searchfox.org/mozilla-central/source/testing/mochitest/tests/SimpleTest/AccessibilityUtils.js#450) for them. These toolbar buttons are not expected to be focusable with keyboard because the keyboard-only user would actually scroll tabs left/right in the toolbar while trying to navigate to them which would make them redundant in the focus order.

Depends on D197335

Differential Revision: https://phabricator.services.mozilla.com/D197713
2024-01-29 19:24:08 +00:00
Anna Yeddi
6894f9a115 Bug 1871980 - Add a programmatic role and expanded/collapsed state to the Search expand/collapse image button on the Searchbar. r=search-reviewers,Standard8,Jamie
`searchbar-search-button` includes two `<image>` elements, one of which is aimed to visually communicate that this `overlay` image could expand/collapse the search autosuggest list. This `<hbox>` that has an accessible name but lacks an appropriate interactive role and state, because it functions as a button (not focusable with keyboard because the alternative - `Escape` key - exists and works to collapse the autosuggest list and we do not want to create an additional tab stop for keyboard-only users). This would prevent users of speech-to-text/Voice Control from being able to send a click to it by calling its label and screen reader users and users of other assistive technology would not be able to get to this control via shortcuts like a list of controls, etc.

This issue is similar to the `Go` button on the URL bar resolved in the bug 1864962 and to the `Submit search` button tracked in bug 1871596

To activate the searchbar next to the URL Bar that includes this go button: `about:preferences` > `Search` > `Search Bar` > select `Add search bar in toolbar`.

Depends on D199504

Differential Revision: https://phabricator.services.mozilla.com/D197335
2024-01-29 19:24:07 +00:00
Anna Yeddi
d9c5fe6995 Bug 1876315 - Adding a ROLE_BUTTONMENU constant to mochitest/role.js. r=morgan
This would allow browser test like `accessible/tests/browser/tree/browser_searchbar.js` to test accessible roles in the Accessibility tree for buttons with `aria-haspopup` attributes.

Depends on D199394

Differential Revision: https://phabricator.services.mozilla.com/D199504
2024-01-29 19:24:07 +00:00
Anna Yeddi
1af2a91f5f Bug 1864962 - Part 2. Update AccessibilityUtils to account for the purposefully non-focusable Go button in the URL Bar. r=Jamie,adw
Since, in the bug 1875654, we have updated the `browser-toolbarKeyNav.js` to ensure the keyboard navigation handler accounts for intentionally non-focusable controls when calculating focus behavior of toolbar buttons.

We are updating the URL Bar `Go` button markup to ensure it won't be included in the keyboard focus order (since a keyboard-only user could press `Enter` to achieve the same submission of their search query), as well as associated mochitests since we do not need to separately set an environment to skip the focus check. This is because we also fine-tune the AccessibilityUtils' `isKeyboardFocusableBrowserToolbarButton()` check to ensure more through confirmation of the image button in question.

Differential Revision: https://phabricator.services.mozilla.com/D199394
2024-01-29 19:24:07 +00:00
Alex Franchuk
d0787ae640 Bug 1875097 - Port the mozwer-rust crate to windows-sys r=gsvelto,glandium
This exchanges `winapi` functions/types for equivalent `windows-sys` ones. Some basic types (e.g.
`PBOOL`) don't exist in `windows-sys`, and I added `type` items for them (though those could be
removed and the types inlined; that's what `windows-sys` does itself).

The `psapi` library needed to be added for GetModuleFileNameExW; I guess previously `winapi` was
linking it?

Almost all manual definitions of types (`winapi::ENUM!` and `winapi::STRUCT!`) were no longer needed
because `windows-sys` has them. Only the version of `RTL_USER_PROCESS_PARAMETERS` with undocumented
fields was still needed.

Differential Revision: https://phabricator.services.mozilla.com/D199111
2024-01-29 19:19:45 +00:00
Emilio Cobos Álvarez
41c7d125dc Bug 1877246 - Add color-scheme aware appworkspace/scrollbar colors. r=ayeddi
Otherwise we fall back to the light color, causing white-text on white
background on dark mode.

Differential Revision: https://phabricator.services.mozilla.com/D199910
2024-01-29 19:17:40 +00:00
Stephen A Pohl
df5561e1e8 Bug 1752164: Don't fall back to our internal file protocol handler when macOS is prompting users to pick an app when opening a downloaded file. r=mstange,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D199347
2024-01-29 19:04:20 +00:00
Mike Conley
d7f3142734 Bug 1868838 - Fix up browser_all_files_referenced.js. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D199005
2024-01-29 18:52:31 +00:00
Mike Conley
855e5b5580 Bug 1868838 - Update codespell.yml and fix linting issues. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D199004
2024-01-29 18:52:30 +00:00
Mike Conley
9a333aee03 Bug 1868838 - Add missing xpcshell.toml file for browser/components/asrouter. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D199003
2024-01-29 18:52:30 +00:00
Mike Conley
6957024e69 Bug 1868838 - Update ASRouter coverage expectations for ModalOverlay to match reality. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D199002
2024-01-29 18:52:29 +00:00
Mike Conley
3005a1ccd6 Bug 1868838 - Move some missed tests, and update documentation for new ASRouter pathing. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D199001
2024-01-29 18:52:29 +00:00
Mike Conley
40b593e016 Bug 1868838 - Update fxms-schemas for new pathing for schemas and modules. r=barret,ahal
Differential Revision: https://phabricator.services.mozilla.com/D199000
2024-01-29 18:52:29 +00:00
Mike Conley
dd2e050933 Bug 1868838 - Move PanelTestProvider to browser/components/asrouter/modules. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198999
2024-01-29 18:52:28 +00:00
Mike Conley
3de067b43e Bug 1868838 - Move OnboardingMessageProvider to browser/components/asrouter/modules. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198997
2024-01-29 18:52:28 +00:00
Mike Conley
dacb737d4a Bug 1868838 - Move import-rollouts script into browser/components/asrouter. r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D198996
2024-01-29 18:52:28 +00:00
Mike Conley
8f69e2b68e Bug 1868838 - Move ASRouter unit test constants to browser/components/asrouter. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198956
2024-01-29 18:52:27 +00:00
Mike Conley
fc4fd2bb5c Bug 1868838 - Move messaging schemas into browser/components/asrouter. r=pdahiya,barret
Differential Revision: https://phabricator.services.mozilla.com/D198955
2024-01-29 18:52:27 +00:00
Mike Conley
292f47b388 Bug 1868838 - Move ASRouter docs into browser/components/asrouter. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198891
2024-01-29 18:52:25 +00:00
Mike Conley
c132dfa085 Bug 1868838 - Move template-utils into browser/components/asrouter. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198890
2024-01-29 18:52:24 +00:00
Mike Conley
ef14cd0243 Bug 1868838 - Move ImpressionsWrapper and ConditionalWrapper into browser/components/asrouter. r=pdahiya
These don't appear to be used anywhere, but moving them anyways.

Differential Revision: https://phabricator.services.mozilla.com/D198889
2024-01-29 18:52:24 +00:00
Mike Conley
7c31954a2a Bug 1868838 - Move asrouter-utils into browser/components/asrouter. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198883
2024-01-29 18:52:23 +00:00
Mike Conley
fe7f39f446 Bug 1868838 - Move Button into into browser/components/asrouter. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198882
2024-01-29 18:52:23 +00:00
Mike Conley
c110ecc34d Bug 1868838 - Move ModalOverlay into browser/components/asrouter. r=pdahiya
Previous patches in the stack had used asroutermodules as an alias to get
at browser/components/asrouter/modules. This patch, however, required adding
an alias to get at asrouter/content-src/components, so asroutermodules was
replaced with a top-level asrouter alias.

Differential Revision: https://phabricator.services.mozilla.com/D198881
2024-01-29 18:52:22 +00:00
Mike Conley
45d2015c26 Bug 1868838 - Move RemoteL10n into browser/components/asrouter/modules. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198880
2024-01-29 18:52:22 +00:00
Mike Conley
0c9ec4d493 Bug 1868838 - Move CFRPageActions into browser/components/asrouter/modules. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198879
2024-01-29 18:52:22 +00:00
Mike Conley
36547c669d Bug 1868838 - Move CFRMessageProvider into browser/components/asrouter/modules. r=pdahiya
This requires a change to aboutwelcome's karma webpack packaging so that
resources loaded at "resource:///modules/asrouter/X.sys.mjs" get remapped
to "asroutermodules/X.sys.mjs".

Differential Revision: https://phabricator.services.mozilla.com/D198878
2024-01-29 18:52:21 +00:00
Mike Conley
9d8b5f15f0 Bug 1868838 - Update babel-jsm-to-commonjs to allow for multiple replacements. r=dmose,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198877
2024-01-29 18:52:21 +00:00
Mike Conley
258963ed64 Bug 1868838 - Move a bunch of ASRouter tests to browser/components/asrouter/tests/unit. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198875
2024-01-29 18:52:20 +00:00
Mike Conley
740deb41e3 Bug 1868838 - Move ASRouter into browser/components/asrouter/modules. r=pdahiya,pip-reviewers,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D198874
2024-01-29 18:52:20 +00:00
Mike Conley
df75990c57 Bug 1868838 - Move ASRouterTargeting into browser/components/asrouter/modules. r=pdahiya,application-update-reviewers,barret,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D198873
2024-01-29 18:52:19 +00:00
Mike Conley
662b9e4bf2 Bug 1868838 - Move ASRouterNewTabHook into browser/components/asrouter/modules. r=pdahiya
This causes the mocha/chai tests for newtab to break because of the failure
to import the ASRouterNewTabHook module from within ASRouterParent. This will
get fixed in the next patch in the stack which moves the actors.

Differential Revision: https://phabricator.services.mozilla.com/D198871
2024-01-29 18:52:19 +00:00
Mike Conley
b3396f5f23 Bug 1868838 - Move ASRouterParentProcessMessageHandler into browser/components/asrouter/modules. r=pdahiya
This also moves the ASRouterParentProcessMessageHandler mocha/chai unit test.

Differential Revision: https://phabricator.services.mozilla.com/D198870
2024-01-29 18:52:18 +00:00
Mike Conley
918eaf29f8 Bug 1868838 - Move ASRouterPreferences into browser/components/asrouter/modules. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198869
2024-01-29 18:52:18 +00:00
Mike Conley
8516a01cda Bug 1868838 - Move ASRouterTriggerListeners into browser/components/asrouter/modules. r=pdahiya
I'm moving the test as well.

Differential Revision: https://phabricator.services.mozilla.com/D198867
2024-01-29 18:52:17 +00:00
Mike Conley
eb28dd2f66 Bug 1868838 - Move ASRouterDefaultConfig into browser/components/asrouter/modules. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198866
2024-01-29 18:52:16 +00:00
Stanca Serban
8113b0a1ab Backed out changeset 716bfac5741b (bug 1864214) foir causing webrender debug leakcheck failures. CLOSED TREE 2024-01-29 21:41:29 +02:00
Mozilla Releng Treescript
55bff4b9bb no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
bs -> 37e92099c2512519289d1187f7664c45fc8cf850
fi -> ef64c8b0a9e1094c5f9758b81a11627016339e59
fy-NL -> ed5f974bb890ef46cf09d244be10c820099fb459
ia -> fbadc733af4771290e40e65ea869646730f05464
pt-PT -> 4436c72d69b23f835d6d20b3b3f84048e3899143
2024-01-29 19:03:02 +00:00
Marc Seibert
d7a1fa76c4 Bug 1855717 - Copy also from hidden results.r=adw
Differential Revision: https://phabricator.services.mozilla.com/D198240
2024-01-29 18:28:32 +00:00