Commit Graph

875727 Commits

Author SHA1 Message Date
Mike Hommey
6d220051eb Bug 1883572 - Add enough support for iOS to webrender so that it builds. r=gfx-reviewers,gw
Differential Revision: https://phabricator.services.mozilla.com/D203563
2024-03-05 21:04:12 +00:00
Mike Hommey
700c39e80b Bug 1883570 - Build OSPreferences for iOS. r=platform-i18n-reviewers,dminor
We can use the same as the one for mac, as long as we use the headers
their SDKs have in common.

Differential Revision: https://phabricator.services.mozilla.com/D203562
2024-03-05 21:03:15 +00:00
Mike Hommey
11193e6e9d Bug 1834921 - Add a stub ProcessLauncher for iOS. r=ipc-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D203558
2024-03-05 21:01:05 +00:00
Mike Hommey
2f029a9308 Bug 1883512 - uikit doesn't support moz-icon yet. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D203526
2024-03-05 20:56:39 +00:00
Mike Conley
0ead00c3a8 Bug 1877545 - Add a probe for whether or not a pre-existing profile existed when initting FirstStartup. data-review=jhirsch, r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D201286
2024-03-05 20:24:15 +00:00
Mike Conley
3a6659041b Bug 1749345 - Test that FirstStartup initting is only run for new profiles. r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D200225
2024-03-05 20:24:15 +00:00
Cristian Tuns
a414ebe1ef Backed out changeset b1dedc536b88 (bug 1883724) for causing build bustages with StaticPrefList.yaml CLOSED TREE 2024-03-05 15:35:45 -05:00
Denis Palmeiro
9c170be621 Bug 1882362: Add GC prefs to the nimbus manifest r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D202859
2024-03-05 20:20:32 +00:00
stransky
a58f2d9bcc Bug 1883631 [Wayland] Don't throw error messages if MOZ_ENABLE_WAYLAND=0 is set r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D203600
2024-03-05 20:08:39 +00:00
Otto Länd
6177f0e40d Bug 1882205: apply code formatting via Lando
# ignore-this-changeset
2024-03-05 20:00:50 +00:00
alwu
9df0b82703 Bug 1882205 - part2 : add glean test. r=padenot
`browser_glean_first_frame_loaded_time.js` tests non-media engine
situation, and `browser_wmfme_glean_first_frame_loaded_time.js` tests
media engine situaion, which would only be run on wmfme task.

Differential Revision: https://phabricator.services.mozilla.com/D203206
2024-03-05 19:58:05 +00:00
alwu
6cee6d1b0e Bug 1882205 - part1 : add a probe to measure the first frame loaded time. r=media-playback-reviewers,jolin
Differential Revision: https://phabricator.services.mozilla.com/D202775
2024-03-05 19:58:05 +00:00
edgul
c355883074 Bug 1864385 - Added test for set-cookie blocking from multipart/x-mixed-replace r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198452
2024-03-05 19:27:50 +00:00
Frédéric Wang
a5f9ebabef Bug 1883603 - Add warnings for MathML regarding new tests. r=emilio,layout-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203589
2024-03-05 19:20:18 +00:00
Frédéric Wang
95f54b44a6 Bug 1882817 - Convert subscript-italic-correction.html to internal testharness test. r=emilio
This test was added in bug 945254 to verify that the italic correction
of the base [1] is taken into account when attaching subscripts to it.
The test assumes no `MathItalicsCorrectionInfo` is provided from a
`MATH` table and that Gecko estimates such an italic correction from
ink metrics instead. This estimation is not defined in MathML Core, so
keep the test as internal for now.

This is a JS test written as a reftest (drawing a red background if the
an assertion fails) so rewrite it as a testharness.js test. The Linux
expectation is rewritten to make the test random as this was discussed
on bug 1599640. Ideally, this test should use a custom non-MATH font
with a slanted glyph in order to make it less dependent on which
system fonts are used.

[1] https://w3c.github.io/mathml-core/#dfn-italic-correction

Differential Revision: https://phabricator.services.mozilla.com/D203586
2024-03-05 19:20:18 +00:00
Frédéric Wang
735237fee4 Bug 1882817 - Convert scriptlevel-movablelimits-1.html reftest to internal WPT test. r=emilio
This test verifies the MathML3 rule that the `accentunder`/`accent`
attributes are ignored when an `munderover` element (and similar
scripted elements) is laid out as an `msubsup` element (i.e. when the
base is a `movablelimits` operator in `displaystyle="false"`).

More specifically, setting `accentunder`/`accent` to `true` normally
prevents the `scriptlevel` to be incremented in an `munderover` element
(and similar scripted elements) but this test verifies that this rule
does not hold when such an element is laid out as an `msubsup` element.

In MathML Core, the CSS-based mechanism is slightly different: the
scripts of `munderover` (and similar scripted elements) always have
`math-depth: add(1)` in the UA sheet but `font-size: inherit` if the
corresponding `accentunder`/`accent` attribute is set to true. This
means that by default, the `accentunder`/`accent` scripts are not drawn
smaller even when laid out as an `msubsup`, contrary to MathML3.

Consequently, we keep this test as internal for now.

Differential Revision: https://phabricator.services.mozilla.com/D203577
2024-03-05 19:20:17 +00:00
Frédéric Wang
fd290978dd Bug 1882817 - Export reftests for empty scripts to internal WPT tests. r=emilio
These tests compare scripted elements (e.g. `munderover` or
`mmultiscripts`) with empty scripts (e.g. `<mspace/>` or `<none/>`)
against the equivalent constructs without the empty scripts
(e.g. `mover`, `msup` etc). Gecko has some specific adjustments to make
them render the same, taking into account "ink" and logical metrics.
It's not clear whether this is aligned with MathML Core and one of the
test is even failing on some platforms (likely due to different system
fonts) so for now we just keep them as internal WPT tests.

Differential Revision: https://phabricator.services.mozilla.com/D203572
2024-03-05 19:20:17 +00:00
Frédéric Wang
737644e0d5 Bug 1882817 - Export munderover-align-accent-* tests to WPT. r=emilio
These tests were introduced in bug 557476 to test horizontal alignment
of under/over scripts for different values of the MathML3 `align`
attribute. In bug 1784003, we completely removed support for that
attribute and simplified the tests, so it now only verifies the default
centering. This is covered by other WPT testharness.js tests but let's
keep these reftests to check the visual rendering and that the value
of `accent`/`accentunder` attributes don't interfer with that centering.

Differential Revision: https://phabricator.services.mozilla.com/D203567
2024-03-05 19:20:17 +00:00
Frédéric Wang
cf752ecb7c Bug 1882817 - Remove unintentionally landed largeop-1 files. r=emilio
These empty files are unused and were landed by mistake in bug 1190646.

Differential Revision: https://phabricator.services.mozilla.com/D203561
2024-03-05 19:20:16 +00:00
Frédéric Wang
c4c545c523 Bug 1882817 - Move reftests for underbar/overbar stretching to internal WPT. r=emilio
These are old reftests added for bug 427666 and bug 428863, at the time
when MathML rendering was severely broken. They set various CSS tweaks
and probably depend on the system's fonts used back at that time, which
make it difficult to properly export them to the upstream WPT repository
(a previous attempt failed in bug 1847280). Consequently, we just move
them to our internal WPT test with minimal changes.

Differential Revision: https://phabricator.services.mozilla.com/D203450
2024-03-05 19:20:16 +00:00
Frédéric Wang
2ab10bcd7d Bug 1882817 - Convert reftests for stretching by scaling to internal WPT tests. r=emilio
These tests were introduced in bug 414277 to verify stretching fallback
using a scale transform. The tests assume that the default fonts don't
provide a way to stretch the operators in the tests (e.g. triple arrows
and quadruple integrals) so that the scale stretching fallback. Moreover
it assumes that the operators stretch perfectly to match the target
size.

These assumptions may be incorrect and are difficult to ensure, which
is likely why one test fails on mac (which as STIX pre-installed). For
now, we keep the test as is but just make sure the preference
`mathml.scale_stretchy_operators.enabled` is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D203439
2024-03-05 19:20:15 +00:00
Dana Keeler
890c895192 Bug 1883100 - return the algorithms of signatures verified in openSignedAppFileAsync r=jschanck,robwu
nsIX509CertDB.openSignedAppFileAsync supports PKCS#7 signatures with either
SHA-1 or SHA-256 as well as COSE signatures with SHA-256. To deprecate SHA-1,
it would be helpful to know which signatures the implementation actually
encountered and verified. This patch returns this information via the
nsIOpenSignedAppFileCallback.openSignedAppFileFinished callback.

In addition, this patch returns the verified certificate that created each
verified signature.

Differential Revision: https://phabricator.services.mozilla.com/D203304
2024-03-05 19:05:21 +00:00
Nathan LaPre
ff4c89901f Bug 1865582: Include xlink:title in svg link name computation, r=Jamie
This revision implements HTMLLinkAccessible::NativeName, which, if the element
is present in an SVG context, checks the xlink:title attribute for the name, as
required by the accessible name specification. This revision also removes eight
expected failures from the relevant web platform test meta file.

Differential Revision: https://phabricator.services.mozilla.com/D203031
2024-03-05 19:04:46 +00:00
Niklas Baumgardner
52945e7e84 Bug 1883678 - Dispatch screenshots events to chrome only. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D203631
2024-03-05 18:52:34 +00:00
Mozilla Releng Treescript
632e8cc4d1 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
bg -> 51b6e21f0f61592bd86d661baf343ef8587c88f4
it -> 32feab86586adfe34ec15cf50ce3c52766e03e27
ja -> 5171c09fa05509fa3710d0ce3f530a7557e4af11
ja-JP-mac -> 4f69969c1c682cfdc54c771bd42c2ded0a991791
nl -> d2ffe43756f405e68a07c35c274615f6cd030af3
sl -> 693fb6a11f8fae46efbd276203d57fb8f0503be4
2024-03-05 19:01:07 +00:00
andrej
18a9de9e2b Bug 1882124 - Enable regular running of speedometer3 on the p6, and s21. r=perftest-reviewers,taskgraph-reviewers,kshampur,ahal
We are adding the ability to run chrome, fenix and custom-car regularly on mozilla central
We need data from the new android devices for speedometer3, so we are temporarily adding the ability to run custom-car, chrome-m and fenix on the new generation of devices we want to test on.
Only speedometer3 for now as that is all we have capacity for at the moment

Differential Revision: https://phabricator.services.mozilla.com/D202867
2024-03-05 18:20:16 +00:00
Vincent Hilla
9d265f33a4 Bug 1883724 - Disable Screen Wake Lock in release. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D203644
2024-03-05 18:19:58 +00:00
Emilio Cobos Álvarez
d39e78a02e Bug 1883435 - Don't include GleanMetrics.h from Document.h. r=chutten,necko-reviewers,valentin
In bug 1883435 comment 2 chutten mentions that including
nsGlobalWindowInner.h from GleanMetrics.h causes a stylo build failure.

This is because nsGlobalWindowInner.h itself brings a bunch of DOM
bindings template soup that bindgen isn't great at dealing with.

That can be fixed in various ways. However, there is a simpler fix,
which is not including GleanMetrics at all.

It's trivial to do, and given it's a massive autogenerated file, and
Document.h is a very common header, it's worth doing this if only for
build times.

Fix a bunch of unused includes while at it.

Differential Revision: https://phabricator.services.mozilla.com/D203625
2024-03-05 17:54:14 +00:00
Tarek Ziadé
9fbc1f39bf Bug 1881522 - Extend PromiseWorker to allow bi-directional communication r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D202563
2024-03-05 17:53:54 +00:00
KS
92b5dc2296 Bug 1689537 - Add Python support class for MotionMark 1.3. r=perftest-reviewers,sparky
This patch uses our raptor support class for custom tests. The data
handling shares a lot of similarities to existing benchmark tests
e.g. speedometer3, and that is leveraged here.

Differential Revision: https://phabricator.services.mozilla.com/D202533
2024-03-05 17:51:36 +00:00
KS
3735e80a72 Bug 1689537 - Add MotionMark 1.3 browsertime script. r=perftest-reviewers,aglavic
This patch adds a custom test script to run motionmark with browsertime.
As we are not vendoring in tree and applying custom patches, it is
convenient instead here to make use javascript directly to start the
benchmark controller.

Differential Revision: https://phabricator.services.mozilla.com/D202532
2024-03-05 17:51:36 +00:00
KS
2f2ae039a8 Bug 1689537 - Update config files for MotionMark 1.3 benchmark. r=perftest-reviewers,aglavic
This patch updates the toml/yml files necessary to run motionmark 1.3.
An external repo model is used here rather than vendoring in-tree, as
this should be more advantageous going forward.
Brand new files (motionmark-1-3-<desktop/mobile>.toml) are added rather
than adding it to the existing motionmark animometer/htmlsuite config files.
This should be easier to maintain going forward (if for example we
decide to remove the previous motionmark). And also there has has been
so many changes since motionmark 1.0, it may be worth thinking of this
as a new benchmark entirely.

It is also worth noting that what was formerly known as
`motionmark-animometer` is now just `motionmark`. However htmlsuite is
still the same.

Differential Revision: https://phabricator.services.mozilla.com/D202531
2024-03-05 17:51:35 +00:00
Jari Jalkanen
02e530ce27 Bug 1791767 - Interrupt IDB idle maintenance with atomic flag. r=janv,dom-storage-reviewers,jstutte
Previously, idle maintenance was interrupted whenever a new runnable was
posted to the executing thread. Here we replace this interrupt signal with
an explicit boolean flag in order to support task queue event targets.

Differential Revision: https://phabricator.services.mozilla.com/D165984
2024-03-05 17:44:00 +00:00
Mark Banner
a4f1976fe2 Bug 1883601 - Properly apply OpenSearch overrides to search engines after a restart. r=search-reviewers,mcheang
The test wasn't detecting the restart issues because it was using the wrong 'engine' object to run the
comparisons against and was hence using an older version of the object which did have the correct urls.

Differential Revision: https://phabricator.services.mozilla.com/D203602
2024-03-05 17:33:14 +00:00
Iain Ireland
dd93190dbb Bug 1870925: Add test r=jonco
Depends on D197098

Differential Revision: https://phabricator.services.mozilla.com/D197099
2024-03-05 17:26:44 +00:00
Ray Kraesig
63da1c4a96 Bug 1880192 - [5/5] MozPromise.h: inline single-use implementation function r=xpcom-reviewers,emilio
Remove non-rvalue-reference overload of InvokeAsync, added 7 years ago
and not once used.

Differential Revision: https://phabricator.services.mozilla.com/D201788
2024-03-05 17:22:23 +00:00
Ray Kraesig
12caa0b1d0 Bug 1880192 - [4/5] Remove IsRefcountedSmartPointer r=xpcom-reviewers,nika
Following the previous patch, `IsRefcountedSmartPointer` is no longer
needed in ThreadUtils.h. Replace the one remaining use in MozPromise.h
with a more precise version tailored to that use-site.

No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D201787
2024-03-05 17:22:22 +00:00
Ray Kraesig
fe17c87862 Bug 1880192 - [3.5/5] ThreadUtils.h: remove little-used storage cases r=xpcom-reviewers,necko-reviewers,jesup,nika
`const T&&` parameters don't have associated storage semantics defined
for them. Previously they would end up as `StoreCopyPassByRRef`, which
might even have been intentional. Forbid them, and change the one use
case invoking it to a non-reference (becoming StoreCopyPassByConstLRef).

Additionally, there are four optional storage classes that are never
automatically selected. Two of these are never used, and a third is only
used mistakenly (...ByLRef where only ...ByConstLRef is needed). Adjust
the third's use-sites, and remove all three.

The last, `StoreCopyPassByPtr`, has more of an argument to be kept: it's
simpler to use (and, arguably, to understand) than its lambda-function
equivalent when wrapping an XPCOM method that takes an [in]-pointer
argument -- but it has only one use site in the entire codebase. Replace
and remove it, as well.

No functional changes. All deleted cases remain possible via lambda
functions fed to NS_NewRunnableFunction.

Differential Revision: https://phabricator.services.mozilla.com/D202173
2024-03-05 17:22:22 +00:00
Ray Kraesig
7bcc5b520f Bug 1880192 - [3/5] ThreadUtils.h: remove std::conditional use r=xpcom-reviewers,nika
Using `std::conditional` unconditionally instantiates both of its
type-arguments, regardless of the value of its boolean argument. This
means that the entire tree of auxiliary metafunction-types were being
instantiated by any use of ParameterStorage -- i.e., at least once per
use of NewRunnableMethod, plus one for each explicit parameter the
method took.

Use partial specialization both to significantly simplify the selection
code (replacing most explicit tests), ensuring that only O(log n))
templates are instantiated, rather than O(n).

As verified by the unchanged TestThreadUtils.cpp, no functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D201786
2024-03-05 17:22:22 +00:00
Ray Kraesig
d933a73374 Bug 1880192 - [2/5] ThreadUtils.h: some C++17 modernizations r=xpcom-reviewers,emilio
Remove some type-level indirections from the SmartPointer template-
metaprogramming helpers.

Additionally, replace some nearby uses of `typedef` with `using`, as
suggested by clang-tidy.

No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D201785
2024-03-05 17:22:21 +00:00
Ray Kraesig
5cf89251a2 Bug 1880192 - [1/5] MozPromise.h: some C++17 modernizations r=xpcom-reviewers,emilio
Remove some type-level indirections from template-metaprogramming
helpers.

Additionally, replace some nearby uses of `typedef` with `using`, as
suggested by clang-tidy.

No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D201784
2024-03-05 17:22:21 +00:00
Cristian Tuns
912388edd2 Backed out changeset 498c23b2d670 (bug 1883143) for causing failures in nsContentSecurityUtils.cpp CLOSED TREE 2024-03-05 13:19:07 -05:00
Cristian Tuns
3ea845929a Backed out 12 changesets (bug 934640) for causing wpt failures in idb-explicit-commit.any.html CLOSED TREE
Backed out changeset f842e5594224 (bug 934640)
Backed out changeset 3cf1e31d16ba (bug 934640)
Backed out changeset ba85838ef7cd (bug 934640)
Backed out changeset a2769ba4c0ab (bug 934640)
Backed out changeset 3a2af6a310ab (bug 934640)
Backed out changeset 8bbe6f8fb695 (bug 934640)
Backed out changeset 184282e69b59 (bug 934640)
Backed out changeset f3b863806999 (bug 934640)
Backed out changeset ed5bb2e976ef (bug 934640)
Backed out changeset f315683fd3ba (bug 934640)
Backed out changeset 30dbc38c3e9a (bug 934640)
Backed out changeset ef90771d141d (bug 934640)
2024-03-05 13:17:12 -05:00
Mark Banner
4f1d29d324 Bug 1883371 - Enable ESLint rule no-console on production code. r=mossop,webcompat-reviewers,devtools-reviewers,omc-reviewers,twisniewski,nchevobbe,aminomancer
Allow for console.error, console.warn and console.createInstance, but fail for everything else.

Differential Revision: https://phabricator.services.mozilla.com/D203456
2024-03-05 16:56:57 +00:00
Mark Banner
5ee6fc544c Bug 1883371 - Add a general configuration for rules specific for all tests. r=mossop
This gives us the option to specify rule variations for all tests without having to copy across the configurations.

More importantly, we can also apply this to anything under `/test/` or `/tests/` and so we can catch utils and other files that the specific test configurations don't already catch.

Differential Revision: https://phabricator.services.mozilla.com/D203455
2024-03-05 16:56:57 +00:00
Niklas Baumgardner
3f47fc8b3d Bug 1883143 - Initial profiles setup. r=jhirsch,mossop
Differential Revision: https://phabricator.services.mozilla.com/D203299
2024-03-05 16:50:31 +00:00
Norisz Fay
f21db3bc57 Backed out 25 changesets (bug 1858958, bug 1749044, bug 1859536) for causing bustages on AppleATDecoder.cpp and AudioData related failures CLOSED TREE
Backed out changeset 21402b00cc81 (bug 1749044)
Backed out changeset 20d58a991964 (bug 1749044)
Backed out changeset 6e7ee116c90e (bug 1749044)
Backed out changeset 7a3cd601c7a1 (bug 1749044)
Backed out changeset 2ec9140f8724 (bug 1749044)
Backed out changeset a33714bc62c4 (bug 1749044)
Backed out changeset 583617a9e949 (bug 1749044)
Backed out changeset 145a8190f6fc (bug 1749044)
Backed out changeset e67de77033d2 (bug 1858958)
Backed out changeset e8a916a76c18 (bug 1749044)
Backed out changeset dec9ce7a61a0 (bug 1749044)
Backed out changeset 961feba09c71 (bug 1749044)
Backed out changeset 7badb720d24b (bug 1749044)
Backed out changeset fd71b745d729 (bug 1749044)
Backed out changeset 874f792bb36f (bug 1858958)
Backed out changeset 22ff6bc3cb95 (bug 1859536)
Backed out changeset a04a238d1688 (bug 1859536)
Backed out changeset ac3bb1773f97 (bug 1858958)
Backed out changeset 886b419887c8 (bug 1858958)
Backed out changeset ea637545c497 (bug 1858958)
Backed out changeset fdc20c3b80d6 (bug 1858958)
Backed out changeset 5fec5cbf2af7 (bug 1858958)
Backed out changeset 73fffa240ac4 (bug 1858958)
Backed out changeset 25477e671dc0 (bug 1858958)
Backed out changeset 745df1a31541 (bug 1858958)
2024-03-05 19:06:31 +02:00
Geoff Brown
077b930ac0 Bug 1882616 - Add try presets for firefox-android r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D203335
2024-03-05 16:11:16 +00:00
Paul Adenot
d2f6ed95cf Bug 1878503 - Remove MOZ_FFVPX and the associated pref. r=glandium,media-playback-reviewers,geckoview-reviewers,alwu
ffvpx is now always compiled in, this is part a rationalization of the codec
libraries we're using.

Differential Revision: https://phabricator.services.mozilla.com/D202813
2024-03-05 16:06:49 +00:00
Barret Rennie
62f9921d69 Bug 1883695 - Require owner field for features r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D203622
2024-03-05 15:59:34 +00:00