859909 Commits

Author SHA1 Message Date
Kash Shampur
c6705ba612 Bug 1848419 - Run custom chromium-as-release performance tests on android. r=perftest-reviewers,aglavic
This patch extends raptor to support running performance tests on chromium-as-release
for android (cstm-car-m).
At the moment we will only run on priority benchmark tests (e.g. speedometer)

Differential Revision: https://phabricator.services.mozilla.com/D190579
2023-10-23 13:50:49 +00:00
Kash Shampur
4dd7e1abda Bug 1848419 - Make custom-car android available in CI selection. r=perftest-reviewers,taskgraph-reviewers,AlexandruIonescu,bhearsum
Chromium-as-Release (CaR) is a custom upstream chromium build (configured as "release")
On the desktop platform we have these builds running already.
This patch adds support for custom-car Android builds to be useable in performance testing.
Since android tests are run on a linux host, we make use of the existing chromium linux chromedriver fetch.
At the moment we only want the performance tests to run on speedometer.

Differential Revision: https://phabricator.services.mozilla.com/D191212
2023-10-23 13:50:49 +00:00
Kash Shampur
9be0f8d503 Bug 1848419 - Add a toolchain for building CaR for Android arm64. r=perftest-reviewers,sparky
This patch adds the ability to build custom chromium-as-release (CaR) for the android platform (arm64).
A linux host is used for the android builds so a new dockerfile is added to maintain as either platform (e.g. Linux and Android) may
have differing dependencies and potentially diverge further in the future.
We can look into consolidating them into one dockerfile later if needed.

Differential Revision: https://phabricator.services.mozilla.com/D189604
2023-10-23 13:50:48 +00:00
Nicolas Silva
1793a9615b Bug 1860009 - Add a comment about thread safety in DeviceManagerDx::GetCompositorDevice. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D191398
2023-10-23 13:38:37 +00:00
James Graham
54cd5fd930 Bug 1852325 - Support calculating interop scores adjusted for expected failures, r=Sasha,mach-reviewers,ahal
Add an --expected-failures option to `mach wpt-inerop-score`. This
takes the path to a file which has the format:

\# Mark entire test as expected failure
/test/id.html
\# Mark one subtest as expected failure
/another/test/id.html,subtest name

The output is the actual interop score, plus two extra columns, one
giving the fraction of the score accounted for by expected failures,
and one giving the score after accounting for expected failures.

Differential Revision: https://phabricator.services.mozilla.com/D188729
2023-10-23 13:25:07 +00:00
Julien Cristau
3d09336e0e Bug 1782607 - langpack_manifest: retry requests to hg.mozilla.org. r=releng-reviewers,gbrown
Also call .raise_for_status() to avoid trying to decode json from an html error page.

Differential Revision: https://phabricator.services.mozilla.com/D191091
2023-10-23 13:11:08 +00:00
David Shin
506ec0c2a0 Bug 1860136: Fix up check for subject/non-subject match in relative selector invalidation. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D191486
2023-10-23 13:06:14 +00:00
Robert Longson
63d5eca233 Bug 1771538 - crashtest r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D191586
2023-10-23 12:54:43 +00:00
Natalia Csoregi
3c14004218 Backed out changeset 15eef22279c4 (bug 1855811) for causing failures on browser_shopping_ad_not_available.js. CLOSED TREE 2023-10-23 16:06:03 +03:00
Gregory Pappas
cf336bb941 Bug 1849934 - Remove dom.resize_observer.last_reported_size_invalid pref r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D191572
2023-10-23 12:23:40 +00:00
Gregory Pappas
0063b91cd3 Bug 1851090 - Remove layout.css.bucket-attribute-names.enabled pref r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D191571
2023-10-23 12:23:26 +00:00
Gregory Pappas
8617e7a190 Bug 1860161 - Fade out overlay scrollbars on Android r=emilio,geckoview-reviewers,m_kato
Noticed while working on bug 1859864 that ScrollbarFadeDuration on
Android is 0. It seemed a bit odd because every other platform with
overlay scrollbars has a non-zero fade duration, but I figured that it
was intentional and for power saving/performance/etc.

Looking closer, it seems this is actually a regression from switching
away from the old java scrollbars to gecko scrollbars (bug 1223928).
The old java scrollbars did fade out (bug 704784).

The fade animation makes scrollbars look nicer imo so it would be cool
if we could bring this back.

Chromium uses a duration of 300ms so we should probably match that,
since people are used to it.
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/widget/compositing/layer_tree_settings.cc;l=68-84;drc=6d4dcee2c0a7d7750037ffb70de6b82385d7ad0e

Differential Revision: https://phabricator.services.mozilla.com/D191503
2023-10-23 12:23:12 +00:00
Nazım Can Altınova
4c80420dc5 Bug 1784248 - Convert instant end markers to test duration markers r=perftest-reviewers,kshampur
These 3 tests handle the profiler events themselves instead of using the
TalosParentProfiler or TalosContentProfiler that already do this. But these
tests were only adding an "instant" marker at the end of the subtest.

This patch changes these "instant" markers into "duration" markers by providing
a `startTime` argument in their options object. If `startTime` is provided they
are already considered a duration marker by adding the `endTime` as
`performance.now()`.

This patch also changes the arguments that are passed inside the
`ChromeUtils.addProfilerMarker` calls. This makes the markers a lot better in
the profiler UI by grouping them inside a single row instead of showing them
individually, and allocating a lot more space in the viewport.

Differential Revision: https://phabricator.services.mozilla.com/D191358
2023-10-23 12:11:52 +00:00
Nazım Can Altınova
3598a92a2c Bug 1784248 - Rename some marker names in subtestEnd calls r=perftest-reviewers,kshampur
The marker strings in the `subtestEnd` calls will show up in the profiles as
markers. But they will show up as a duration marker that starts when the
subtest starts and ends when the subtest ends. That's why naming them as "test
end" doesn't make sense. They are both the start and end.

Differential Revision: https://phabricator.services.mozilla.com/D191357
2023-10-23 12:11:52 +00:00
Nazım Can Altınova
7c7c3bfe56 Bug 1784248 - Do not pause the profiler during talos testing r=perftest-reviewers,devtools-reviewers,sparky,ochameau
Previously we were pausing the profiler right after starting it. Then we were
resuming it right before each subtest. Then at the end of the subtest were
pausing it again. I believe this was done to make the testing areas visible.
But we now have profiler markers to show the testing duration/times instead of
pausing and resuming the profiler all the time. It doesn't add value to
pause/resume it, instead it actually loses some information like GC that
happens right after the test.

So instead of pausing and resuming the profiler all the time, this patch
removes this logic completely. We don't really need to pause the profiler
between the tests at all. This will also fix the issues like Bug 1838824, where
the profile data is completely empty because we fail to pause/resume the tests
where they handle the test measurements themselves.

Differential Revision: https://phabricator.services.mozilla.com/D191356
2023-10-23 12:11:51 +00:00
Gijs Kruitbosch
e6187befc9 Bug 1860046 - remove/simplify code iterating docshell tree items, r=extension-reviewers,rpl
AFAICT the browser-addons.js code is unused.

The AM code is untested, at best, but probably unused after the demise of the disco pane.
Either way, using browsingContexts to determine the toplevel browser seems better and is
easier to read.

Differential Revision: https://phabricator.services.mozilla.com/D191425
2023-10-23 12:07:34 +00:00
Andrew Osmond
1d2a63a8d5 Bug 1860397 - Add support for extracting CRXv3 to nsZipArchive. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D191567
2023-10-23 12:04:34 +00:00
Jared Hirsch
f291bbc3ce Bug 1855811 - Implement telemetry event for sidebar displays without an ad available. r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D190960
2023-10-23 11:57:55 +00:00
Nicolas Chevobbe
fde98a3e15 Bug 1843319 - [devtools] Properly mark Debugger secondary panels as regions. r=ayeddi,devtools-reviewers.
Don't render the whole React app in a main tab, instead move the
main element to wrap the editor.
Don't use a list for rendering the secondary panels, but <aside> elements,
so they can be access through landmark navigation.
Make the different article labelled by the h2 we already have there.

Differential Revision: https://phabricator.services.mozilla.com/D190446
2023-10-23 11:20:12 +00:00
Dão Gottwald
220c37a5a2 Bug 1859994 - Rename --autocomplete-popup-* variables to --urlbarView-*. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D191396
2023-10-23 11:05:50 +00:00
Alex Finder
01178b4489 Bug 1843139 Update mozperftest-tools to 0.2.8 r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D189915
2023-10-23 11:04:46 +00:00
Natalia Csoregi
5d923d9fcc Backed out changeset f1426851ae30 (bug 1844755) for causing failures on test_printpreview.xhtml. CLOSED TREE 2023-10-23 13:44:53 +03:00
Alex Finder
41d52f624b Bug 1843139 Separate the browsertime-results.tgz artifact into multiple smaller ones r=perftest-reviewers,sparky,canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D184574
2023-10-23 09:56:18 +00:00
Olli Pettay
0931ed2ba7 Bug 1844755 - Consider to not create ServoStyleSet for data documents, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D191485
2023-10-23 09:42:42 +00:00
Valentin Gosu
3d058412ca Bug 1818419 - Intermittent netwerk/test/unit/test_dooh.js caused by TTL refresh on windows r=necko-reviewers,jesup
The TTL refresh is done asynchronously with low priority on windows.
When clearing the cache between tests, this callback may still exist
so it may refresh the cache entry with the native value instead of the TRR one.

Differential Revision: https://phabricator.services.mozilla.com/D191399
2023-10-23 09:36:36 +00:00
Nicolas Chevobbe
e98d45f7b3 Bug 1844092 - [devtools] Make Stacktrace frame location keyboard accessible. r=devtools-reviewers,bomsy.
The frame elements already had the correct roles assigned,
but this was made completely useless because we had a
`display: contents` on them, which strips any accessibility role.
This was done for layout purpose that we now can do with
subgrids, so we update the component's CSS.
We also update the markup so copying stacktrace still works as expected.
A webconsole test is added to ensure those stactkrace frames
can be navigated with the keyboard.

Differential Revision: https://phabricator.services.mozilla.com/D190594
2023-10-23 09:19:22 +00:00
Logan Rosen
0f5ba7b380 Bug 1510971 - simplify redundant if statements r=geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D185880
2023-10-23 09:10:35 +00:00
Henri Sivonen
fef29849ec Bug 1857221 - Avoid tracking the line and column number when parsing innerHTML. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D191270
2023-10-23 09:07:22 +00:00
jackyzy823
5e39eb1c49 Bug 1858377 - Use correct proxy string format for GeckoView. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D191023
2023-10-23 08:42:54 +00:00
Nicolas Chevobbe
9e7b563e31 Bug 1815472 - [devtools] Fix variable tooltip when location is impacted by inline preview or wrapping. r=devtools-reviewers,bomsy.
In `getTokenLocation`, the call to `coordsChar` needed an extra parameter so the
coordinates are relative to the top left corner fo the currently visible window.
We were passing the center of the bounding client rect to `getTokenLocation`, but
a token could wrap and have it's bounding rect center not being on the token.
To fix this we're passing the center of the first box quads of the token.

The inline preview widgets were causing some troubles on CodeMirror internal
state too. Since we're using React to populate the bookmark we set on the line,
and given that React.render is asynchronous, we were setting an empty element
as a bookmark on the editor, which React populates later. But CodeMirror probably
update its internal state when the bookmark is added, so that was causing wrong
computation later.
To avoid that, we only set the bookmark once React actually rendered the element
in the DOM.

Finally, while codeMirror already listen for window resize to update its internal
state, the Editor can be resized without the window being resized,
when primary/secondary panels are resized. In such case, we manually trigger
a codeMirror refresh.

We add a test to cover this, and also modify test helpers so we would query
the DOM instead of relying on CodeMirror methods.

Differential Revision: https://phabricator.services.mozilla.com/D190272
2023-10-23 08:24:28 +00:00
Mirko Brodesser
dc52b1401a Bug 1839315: part 6) Lift code for fetchpriority attribute from nsGenericHTMLElementWithFetchPriorityAttribute to nsGenericHTMLElement. r=smaug
As requested in the review of part 1.

Differential Revision: https://phabricator.services.mozilla.com/D191274
2023-10-23 08:14:51 +00:00
Mirko Brodesser
06401bfd3f Bug 1839315: part 2) Add fetchPriority attribute to HTMLLinkElement's DOM interface. r=necko-reviewers,webidl,saschanaz,valentin
Setting the internal priority depending on the `fetchPriority` will be
implemented in a following part.

Differential Revision: https://phabricator.services.mozilla.com/D189936
2023-10-23 08:14:50 +00:00
Mirko Brodesser
5ccc34b836 Bug 1839315: part 1) Lift code for fetchpriority attribute from HTMLScriptElement to nsGenericHTMLElementWithFetchPriorityAttribute. r=smaug
Since the HTMLLinkElement requires it too, see part 2.

Differential Revision: https://phabricator.services.mozilla.com/D189935
2023-10-23 08:14:49 +00:00
Mozilla Releng Treescript
039245f9c6 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
es-ES -> 9aa18cd3d907df422ac066deb7b6c2cdc2bc19e8
2023-10-23 07:03:30 +00:00
Cristian Tuns
a3f8d55ca1 Merge mozilla-central to autoland on a CLOSED TREE 2023-10-22 17:46:10 -04:00
Noemi Erli
5889bec9b7 Backed out changeset aba4fce792fc (bug 1844041) for causing failures in test_ext_eventpage_idle.js CLOSED TREE 2023-10-22 23:17:52 +03:00
Noemi Erli
e4afef5d3f Backed out changeset aba4fce792fc (bug 1844041) for causing failures in test_ext_eventpage_idle.js CLOSED TREE 2023-10-22 23:17:52 +03:00
Glenn Watson
88bfe53304 Bug 1859942 - Remove unused remote pipelines from transaction r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D191375
2023-10-22 19:34:19 +00:00
Cristian Tuns
c8a3bfa490 Bug 1198168 - Fix Gecko Decision Task bustage. r=fix CLOSED TREE 2023-10-22 15:05:23 -04:00
Mozilla Releng Treescript
3ace5f8afc no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
it -> cc33937163a679b514e0c7fa3a8cc1d880330fdc
pa-IN -> 976a875898633e5ae1a71f05d8395d3915dd61f5
sk -> 3543af17951c8a4bd527feda682308881c496a90
skr -> f8c2318af15571983687d264cd9a18a44cf563e6
2023-10-22 19:02:31 +00:00
Cristian Tuns
a613cd1639 Bug 1198168 - disable test_bug1113600.html on mac
Differential Revision: https://phabricator.services.mozilla.com/D191588
2023-10-22 18:46:16 +00:00
Mozilla Releng Treescript
5faf225e60 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cs -> 6c5cb2c312f75c737874321d98966d69b7b9eb1f
ia -> f45629e79a6648300d6b6de6cd0f97b0f3c37c02
it -> 52a4d2ea52ffc71b914e214b60cde30b580b7d38
2023-10-22 07:03:08 +00:00
Mozilla Releng Treescript
39fd8914c4 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
kk -> 5e22afd373757798137e617fa6d80dc32c8d1156
nn-NO -> 5962313206efc09dcd80f8b67e1b8ae2a76d00ae
skr -> 6a5b85cab03d413c1a3155f4aff943cd0bddf46b
zh-CN -> 03e944c6917771413c6b2b7d70743f7d401c30f8
2023-10-21 19:02:22 +00:00
Tomislav Jovanovic
bab7a37b0d Bug 1844041 - Postpone suspension of event pages on parent API calls, r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D191198
2023-10-21 15:50:17 +00:00
Emilio Cobos Álvarez
3389de86c4 Bug 1860258 - Properly pref-gate a test for zoom.
MANUAL PUSH: Test only change CLOSED TREE
2023-10-21 16:30:30 +02:00
Mozilla Releng Treescript
e38965f971 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
ar -> 4c575d73eeb80826be478a7fc4d526f654cbba20
be -> 11550245ade934873771ef1aa130d8cd407a550d
tr -> eb8d979202407ec5d3951e572fde9c0fd86af685
2023-10-21 07:04:19 +00:00
Shane Hughes
fa4933f95b Bug 1857101 - Add pageActionInUrlbar ASRouter trigger. r=omc-reviewers,pip-reviewers,mhowell,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D190131
2023-10-21 00:14:13 +00:00
Shane Hughes
9fc58722a5 Bug 1841088 - Fix Fluent translation race condition in PB newtab tests. r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D191482
2023-10-21 00:13:07 +00:00
Niklas Baumgardner
9e9cc7579b Bug 1855313 - Show current selection size in screenshots overlay. r=sfoster,fluent-reviewers,desktop-theme-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D189312
2023-10-20 23:25:37 +00:00
Niklas Baumgardner
47be6b9a07 Bug 1859394 - Use global styles for screenshots panel buttons. r=sfoster,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D191213
2023-10-20 21:20:58 +00:00