839206 Commits

Author SHA1 Message Date
Masayuki Nakano
411f6268ab Bug 1818122 - Skip test_nsIEditorMailSupport_insertTextWithQuotations.html if xorigin test r=m_kato
This test checks the behavior for Thunderbird.  Therefore, we don't need to
check it in different origin's `<iframe>`.

Differential Revision: https://phabricator.services.mozilla.com/D176244
2023-04-25 00:28:32 +00:00
James Teh
61719252cf Bug 1828816 part 2: Marionette accessibility.getAccessible: If the requested Accessible doesn't exist, wait for it to be created. r=jdescottes,webdriver-reviewers,whimboo
Some tests dynamically add elements to the DOM.
Since accessibility updates occur in refresh driver ticks, the Accessible often wasn't created yet when WebDriver requested it, causing intermittent WPT failures.
See the code comments for an explanation of how this works.

Differential Revision: https://phabricator.services.mozilla.com/D175972
2023-04-24 23:35:51 +00:00
James Teh
bbe1cab088 Bug 1828816 part 1: Marionette sync.waitForObserverTopic: Support a timeout option. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175990
2023-04-24 23:35:51 +00:00
James Teh
70c4863c34 Bug 1822112: Make Marionette/WebDriver getComputedRole return standardized ARIA role names. r=jdescottes,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175586
2023-04-24 23:35:51 +00:00
James Teh
6da55af6a6 Bug 1572512: Use ComputedARIARole for Dev Tools. r=eeejay,devtools-reviewers,nchevobbe
Dev Tools is primarily targeted at web developers.
Web developers are most comfortable with ARIA roles, rather than Gecko internal role strings.
This is especially true for landmarks, which map to a single landmark role in Gecko, but most Dev Tools users expect separate ARIA roles: main, navigation, etc.
We fall back to a Gecko role string for roles which can't be mapped to ARIA; e.g. iframe.

Differential Revision: https://phabricator.services.mozilla.com/D175585
2023-04-24 23:35:51 +00:00
James Teh
3fb1357e3e Bug 1824935 part 3: Add Accessible::ComputedARIARole. r=eeejay
This also exposes this via XPCOM.
This will be used by WebDriver and Dev Tools.

Differential Revision: https://phabricator.services.mozilla.com/D175583
2023-04-24 23:35:51 +00:00
James Teh
2c081627d7 Bug 1824935 part 2: Have LandmarkRole return an nsStaticAtom. r=eeejay
We will soon call LandmarkRole from a new function which returns an nsStaticAtom.
LandmarkRole always returns static atoms anyway, so formalize this.

Differential Revision: https://phabricator.services.mozilla.com/D175582
2023-04-24 23:35:50 +00:00
James Teh
8a993e334d Bug 1824935 part 1: Add ARIA roles to RoleMap. r=eeejay
This will soon be used to return standardized ARIA role names from a new function.

Differential Revision: https://phabricator.services.mozilla.com/D175581
2023-04-24 23:35:50 +00:00
David Parks
bc3fe641ef Bug 642851: Clear autohidden taskbar region on Windows 10+ if drawing NC region r=cmartin
The unpainted non-client region leaves a white bar at the bottom of the window when maximized on Win11 with auto-hidden taskbar.  This region is where a user can mouse-over to expose the taskbar.  Painting it black eliminates the row of white pixels and fixes problems with exposing the hidden taskbar.  Windows 10 usually (correctly) paints a sliver of the taskbar in this region with or without this patch.  However, it also has similar (but more complex) failing edge cases discussed in the bug.

Additionally, bug 758280 used 1px for the autohidden region size but the real size is 2px so we switch to that here.

Differential Revision: https://phabricator.services.mozilla.com/D148834
2023-04-24 23:11:15 +00:00
David Parks
9bf532bbb3 Bug 642851: Allow identification of correct taskbar window for our screen on Windows r=cmartin
Since Windows 8, ABM_GETAUTOHIDEBAREX has provided a way to identify if/where the system taskbar is hidden, even in multi-monitor setups.  This adds a function to easily fetch that information.

Differential Revision: https://phabricator.services.mozilla.com/D148833
2023-04-24 23:11:15 +00:00
Stanca Serban
f38cdeff6a Backed out changeset f0c91fa8049c (bug 1824327) for causing mochitests failures in browser_all_files_referenced.js. CLOSED TREE 2023-04-25 01:06:01 +03:00
Mike Hommey
39d0e7cee8 Bug 1538043 - Remove Visual C++ toolchain search path from $PATH. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D175985
2023-04-24 21:24:03 +00:00
Jules Simplicio
9b01dfaf74 Bug 1798404 - adding design tokens to Storybook project r=mstriemer,hjones,desktop-theme-reviewers,dao,morgan
This adds the file design-tokens.css which hosts our
tier 1 and tier 2 design tokens. Components can use these
to define their own tier 3 tokens.

Differential Revision: https://phabricator.services.mozilla.com/D164507
2023-04-24 21:11:53 +00:00
Mike Hommey
8663f940bb Bug 1829262 - Explicitly set the clang-cl Visual C++ compatibility version. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D176112
2023-04-24 20:34:34 +00:00
Gabriel Bustamante
2b596bc133 Bug 1824327 - Add browser en-US strings for Linux Desktop Entry files r=flod
Differential Revision: https://phabricator.services.mozilla.com/D175717
2023-04-24 20:31:38 +00:00
Ben Visness
0f51a1bd72 Bug 1799713: Implement casting to abstract heap types. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D175955
2023-04-24 20:25:33 +00:00
Nick Alexander
372a5b71ea Bug 1799002 - Part 2: Remove Android workarounds for Bug 1627796. r=geckoview-reviewers,firefox-build-system-reviewers,glandium,m_kato
The underlying Android-Gradle plugin bug has been addressed, so we no
longer see the issue, and therefore we don't need this complicated
"library set generation ID" workaround at all!

Differential Revision: https://phabricator.services.mozilla.com/D175167
2023-04-24 20:11:57 +00:00
Nick Alexander
4558bdbb48 Bug 1799002 - Part 1: Fix Android builds after Android-Gradle plugin version 7.3.0. r=geckoview-reviewers,m_kato
This commit removes a good deal of complexity around how
`assets/omni.ja` and `libs/*` are packaged into the Android GeckoView
project and ultimately AAR and APK files.

Historically there was a delicate arrangement that had both the
omnijar and the native libraries in Android assets, the latter so
they could be compressed and read by Gecko's own loader
implementation.  As GeckoView (and Android itself!) matured, the
arrangement was normalized: now Gecko libraries are regular Android
libraries with no compression and special loading.  This is why we had
levels of indirection around `syncOmnijarFromDistDir` and
`syncLibsFromDistDir`: we needed fine-grained mappings from locations
to locations.  These delicate mappings are no longer needed and the
whole process can be simplified in the manner of this patch.

By declaring the Android sourcesets (close to) statically, the updated
Android-Gradle plugin version 7.3.0 no longer "misses" content changes
in the relevant directories.

We continue to need the `withGeckoBinaries` product flavours to
support non-builds like linting and generating documentation.

Differential Revision: https://phabricator.services.mozilla.com/D161510
2023-04-24 20:11:57 +00:00
Ryan VanderMeulen
b7381128ec Bug 1791878 - Update to kotlin 1.7.20 and gradle plugin 7.3.0. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D175166
2023-04-24 20:11:57 +00:00
Stanca Serban
850a6d69af Backed out changeset c4ff2e295694 (bug 1798404) for causing dt failures in browser_styleeditor_fission_switch_target.js. CLOSED TREE 2023-04-24 23:21:16 +03:00
Wil Stuckey
00a302fc9e Bug 1819766 - Add support for exposure based experiments. r=adw
This change adds support for exposure based experiments by allowing
a Nimbus variable/pref to specify the urlbar provider that should
trigger an exposure event as well as a secondary boolean variable/pref
that controls the visibility of the exposed result. The exposure should
be registered when a result 'can be added' but may or may not be shown
based on the value of the `displayExposureProvider` variable.

* Add exposure event to metrics.yaml
* Add new Nimbus variable (`exposureProvider`) to specify the urlbar
  providers that should trigger exposure events .
* Add new Nimbus variable (`displayExposureProvider`) that controls the visibility
  of the provider results that matched the `exposureProvider` variable.

Differential Revision: https://phabricator.services.mozilla.com/D174209
2023-04-24 20:04:21 +00:00
Jules Simplicio
43fe55056e Bug 1798404 - adding design tokens to Storybook project r=mstriemer,hjones,desktop-theme-reviewers,dao,morgan
This adds the file design-tokens.css which hosts our
tier 1 and tier 2 design tokens. Components can use these
to define their own tier 3 tokens.

Differential Revision: https://phabricator.services.mozilla.com/D164507
2023-04-24 18:54:11 +00:00
Narcis Beleuzu
39cbe04749 Backed out changeset f1fd6f277c40 (bug 1829427) for bc failure on browser_privacy_relayIntegration.js . CLOSED TREE 2023-04-24 22:02:15 +03:00
Mozilla Releng Treescript
eec0347945 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cs -> 35dbb167d7b9bcde8e3c2385e653299edd78f8ed
fi -> 73b5b16016a825e20e5289ad464dd21d13410fe6
gn -> 310fba0e6a3c29692967558a9c0ee5acd28f8553
ka -> 79e0c0772e882a1853f6a6ff795da04b7ac428a5
lo -> be985e6c8a686a0c5bf8ea17989a41637ea9a3dd
oc -> 33842a10271d04504f478912b9218965facc079a
sat -> 0ca71c7ddd48d7dc902734032fc212b5efa644a3
sk -> f3397b2d046779980bf2ff297aea21ec35928f4e
skr -> d73b67a538c5a3ae5300560cd718af7c7f47cf3e
sr -> 11247401f9636370bcbab519e560784989573700
tr -> 4c5b96466ac9be23121d8ef96570296397560257
2023-04-24 18:59:00 +00:00
Thomas Wisniewski
695f2198ee Bug 1828953 - add automated tests for a lot of webcompat interventions (mostly Android); r=ksenia
Differential Revision: https://phabricator.services.mozilla.com/D176205
2023-04-24 18:15:41 +00:00
Tyson Smith
f2f8898b45 Bug 1825171 - Wayland TSan suppressions. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D174937
2023-04-24 18:13:28 +00:00
Mike Conley
01e40bc7c1 Bug 1828738 - Make it possible for about:welcome to close the FxA sign-in tab after sign-in completes. r=aminomancer,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D175934
2023-04-24 18:03:19 +00:00
Brad Werth
1c8e1b829f Bug 1776738: Make fullscreen and pointerlock mochitests use document.fullscreenElement to determine fullscreen-ness. r=edgar
With these changes, it's no longer necessary to store the normalSize on
the window, since we never check it, nor check for resize events. This
also removes the flaky timeouts, and replaces them with an executeSoon.

For some of the fullscreen tests, the number of calls to enter and exit
fullscreen are not matched. Since that count is essential for the checks
of whether or not the screen is in the expected fullscreen, this defines a
method that can force the count to a specific value. This is used in some
of the fullscreen tests to get the expected results.

Differential Revision: https://phabricator.services.mozilla.com/D172852
2023-04-24 17:59:39 +00:00
Calixte
562799d5e5 Bug 1829366 - Enable the new PDF.js toolbar on GeckoView r=geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D176309
2023-04-24 17:51:22 +00:00
Calixte
7daed634d5 Bug 1829638 - Update PDF.js to new version 1b79b0cd210e38aab6e3420de5fe862a1c7f56c7 r=pdfjs-reviewers,Snuffleupagus
Differential Revision: https://phabricator.services.mozilla.com/D176299
2023-04-24 17:42:33 +00:00
Julien Pages
a493bef73e Bug 1819215 - wasm: Change the validation of supertypes during parsing. r=rhunt,jseward
Split the parsing and validation of the types section in two iterations.
First, parse and validate the types. Then, check the subtyping relationships
in a second iteration, this avoid dealing with not yet loaded supertypes.

Differential Revision: https://phabricator.services.mozilla.com/D175698
2023-04-24 17:02:58 +00:00
Jamie Nicol
1229a40148 Bug 1828248 - Use QCOM_tiled_rendering when rendering color and picture cache targets. r=gfx-reviewers,nical
We have seen reports that various websites, including twitter, perform
poorly on older Adreno devices due, to backdrop filter. We previously
encountered similar on Mali-G710 devices in bug 1809738, and it
appeared to be due to having to copy the contents of large
framebuffers--required to render the backdrop filter--to and from the
GPU's tile memory. On Mali we were able to avoid this penalty by
ensuring we performed an unscissored clear immediately after binding
the framebuffer, allowing the driver to omit initalizing the contents
of tile memory prior to rendering.

It's plausible that older Adreno drivers are not clever enough to be
able to make this optimization. However, there exists an extension
QCOM_tiled_rendering, which allows us to explicitly tell the driver
which subregion of a render target we are rendering too, and whether
it must be pre-initilized or post-resolved.

This patch makes use of this extension when rendering to color and
picture cache targets. In both cases we supply the region that is
being rendered and must only resolve the color attachment back to main
memory. In most cases we can additionally avoid initializing tile
memory prior to rendering, with the exception being in
draw_color_target() when we do not perform an initial clear, in which
case we must initialize the color attachment.

This results in a significant performance improvement on twitter when
tested on a Nexus 5 (Adreno 330) device.

Differential Revision: https://phabricator.services.mozilla.com/D176154
2023-04-24 16:37:07 +00:00
Jamie Nicol
d62fe2d0aa Bug 1828248 - Update gleam to 0.15. r=gfx-reviewers,supply-chain-reviewers,jrmuizel
This provides us with QCOM_tiled_rendering, which will be used in the
next patch in this series.

Differential Revision: https://phabricator.services.mozilla.com/D176153
2023-04-24 16:37:06 +00:00
Sergey Galich
9fcf0fb644 Bug 1829427 - Update Relay integration checkbox in Settings r=credential-management-reviewers,fluent-reviewers,settings-reviewers,flod,jneuberger,mconley
Differential Revision: https://phabricator.services.mozilla.com/D176192
2023-04-24 16:31:13 +00:00
serge-sans-paille
7df7d42bf2 Bug 1827566 - Isolate SSE2 requirements to SSE-compiled file r=glandium
Only provide forward declaration to the generic code.

Differential Revision: https://phabricator.services.mozilla.com/D175742
2023-04-24 16:27:38 +00:00
Narcis Beleuzu
f8f8179943 Backed out 2 changesets (bug 1753565) for GTest failure on MultipleSmoothScrollsSmooth . CLOSED TREE
Backed out changeset d454667254ed (bug 1753565)
Backed out changeset 1c5305d4d10a (bug 1753565)
2023-04-24 20:58:57 +03:00
Bilal
cfcf4ebb8e Bug 1817013 - ESMified browser/components/touchbar/MacTouchBar.jsm. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D176082
2023-04-24 16:27:34 +00:00
Dan Robertson
24231c094d Bug 1753565 - Disable prefers-reduced-motion for tests. r=botond
Disable the prefers-reduced-motion preference for mochitests and
web-platform-tests.

Depends on D172446

Differential Revision: https://phabricator.services.mozilla.com/D174956
2023-04-24 16:21:31 +00:00
Dan Robertson
1ee623fb13 Bug 1753565 - Default disable smooth scrolls if prefers-reduced-motion. r=botond
If the user has the prefers-reduced-motion system setting enabled, do
not enable smooth scrolls by default.

Differential Revision: https://phabricator.services.mozilla.com/D172446
2023-04-24 16:21:31 +00:00
Sandor Molnar
657465b8bd Backed out changeset 980bbb2d3e06 (bug 1814210) for causing multiple dt/bc failures in modules/remotepagemanager/RemotePageManagerParent.sys.mjs CLOSED TREE 2023-04-24 19:11:24 +03:00
Julien Pages
7390510f3f Bug 1819215 - wasm: Change subtyping rules for functions. r=rhunt
Previously, function subtyping was only checking the invariance.
Now, return types are covariant and arguments are contravariant.

Differential Revision: https://phabricator.services.mozilla.com/D175697
2023-04-24 16:05:59 +00:00
Steven Michaud
a49062ba28 Bug 1801419 - Explicitly link SidecarCore framework. r=mac-reviewers,spohl
Differential Revision: https://phabricator.services.mozilla.com/D175383
2023-04-24 16:00:45 +00:00
Mark Banner
79db15f9e5 Bug 1829620 - Treat try_task_config.json as a generated file, so that it is not linted when pushing to try. r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D176285
2023-04-24 16:00:32 +00:00
Molly Howell
94fdd79366 Bug 1826715 - Manually mark a document as activated when a PIP window is opened from it. r=pip-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D176181
2023-04-24 15:56:38 +00:00
Cristina Horotan
2e588d640d Backed out changeset db920151d68a (bug 1827566) for causing build bustages at nsTextFragmentGenericFwd.h CLOSED TREE 2023-04-24 18:54:22 +03:00
Mike Conley
db83dfef1b Bug 1828117 - Add a convenient ASRouterTargeting attribute for clients installed via guided device migration from SUMO. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D176185
2023-04-24 15:38:41 +00:00
serge-sans-paille
2b365837ed Bug 1827566 - Isolate SSE2 requirements to SSE-compiled file r=glandium
Only provide forward declaration to the generic code.

Differential Revision: https://phabricator.services.mozilla.com/D175742
2023-04-24 15:35:11 +00:00
Neil Deakin
bdaddaaa1b Bug 1814210, remove remote page manager now that it is no longer used, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D171605
2023-04-24 15:17:10 +00:00
Sandor Molnar
ca475d4684 Backed out changeset 3ae01032459a (bug 1814210) for causing bc failures in browser/base/content/test/static/browser_all_files_referenced.js CLOSED TREE 2023-04-24 18:27:23 +03:00
Sandor Molnar
8ef4b76706 Backed out 2 changesets (bug 1828248) for causing wrench bustages.
Backed out changeset 7a9431bded9e (bug 1828248)
Backed out changeset 5ec09fef9385 (bug 1828248)
2023-04-24 18:22:41 +03:00