859898 Commits

Author SHA1 Message Date
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
Daniel Holbert
cb44497ce3 Bug 1837533: Fix WPT size-adjust.tentative.html to reduce unintended dependencies on 'line-height:normal' resolution behavior. r=jfkthame
As discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=1837533#c9 , this
test had two sections that were making extra assumptions about what the default
line-height:normal value resolves to. This commit avoids those assumptions by
breaking the chain of influence between the resolved 'line-height' value and
the actual rendering in these two sections -- in one case by setting an
explicit 'height', and in the other case by setting an explicit 'line-height'.

Differential Revision: https://phabricator.services.mozilla.com/D191490
2023-10-20 19:16:40 +00:00
Mozilla Releng Treescript
6fa4adb2e2 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
ar -> 748d6b3fb656cb03515964bf1ec70718b0d1afd7
cs -> 73212b58331069a6111f1c0ad8efe7e271b2640f
fy-NL -> b2ce2e33c6548ccbda28964023525b574fa020ee
gn -> 9ac54fedfba2941e665a4c01160f0dcb905b2371
nl -> a35c2f341b52a012d219f1aee0002bfdfdba0c10
th -> 9bc742d2e38fd14bd89a83666f83a2d3e10baf7b
2023-10-20 19:03:10 +00:00
Nipun Shukla
a785d9455b Bug 1854425 - Migrate WDBA .ini files to Fluent r=nrishel,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D189144
2023-10-20 18:09:51 +00:00
Iulian Moraru
cc35ffeaf3 Backed out changeset e43e26b7f7b9 (bug 1857101) for causing bc failures on browser_trigger_listeners.js. CLOSED TREE 2023-10-20 20:40:26 +03:00
Shane Hughes
03523882f7 Bug 1857101 - Add pageActionInUrlbar ASRouter trigger. r=omc-reviewers,pip-reviewers,mhowell,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D190131
2023-10-20 16:20:24 +00:00
André Bargull
a807279eb6 Bug 1855986: Don't attempt to use in-tree double-conversion for ICU standalone builds. r=sergesanspaille,glandium
Updates the ICU patch "double-conversion.diff" to only use the in-tree copy of
double-conversion when building Firefox/SpiderMonkey. Standalone ICU builds
instead use the ICU copy of double-conversion. Standalone ICU builds happen
when running "intl/icu_sources_data.py" and when converting the in-tree
little-endian ICU data file to the big-endian format.

`JS_HAS_INTL_API` is used to detect how ICU is built: When building ICU as part
of Firefox/SpiderMonkey, `JS_HAS_INTL_API` is guaranteed to be set, whereas in
standalone ICU builds `JS_HAS_INTL_API` isn't defined.

After applying the updated "double-conversion.diff" patch, ICU was reimported
to restore the previously deleted double-conversion sources files from ICU.

Depends on D190791

Differential Revision: https://phabricator.services.mozilla.com/D190792
2023-10-20 15:21:43 +00:00
André Bargull
c35177d9d3 Bug 1855981: Add missing patch file entry to update-icu.sh. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D190791
2023-10-20 15:21:42 +00:00
Julian Descottes
42da9c6171 Bug 1859299 - [wdspec] Add tests for browsingContext.navigationStarted with redirects r=webdriver-reviewers,Sasha
test_redirect_http_equiv is currently failing for Firefox, which might either be from a platform bug or something we have to workaround in
Bug 1859545

Differential Revision: https://phabricator.services.mozilla.com/D191202
2023-10-20 14:22:11 +00:00
Ziran Sun
d6fed6d0e8 Bug 1858979 - Mark the rest of popover tests with interminttent results as passes. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D191518
2023-10-20 14:13:26 +00:00
Daniel Holbert
ffe9173bb8 Bug 1860191 part 2: Implement some more callbacks on test_color_scheme_browser.xhtml's progress listener, as additional diagnostics. r=emilio
This is just extending our existing progress-listener object that we use
functionally in the test, to implement a few more of the nsIWebProgressListener
callbacks so we can see if they're firing in some unforeseen way that can help
us identify why the test is intermittently timing out.

I'm just cribbing the full list of callbacks from
https://searchfox.org/mozilla-central/source/uriloader/base/nsIWebProgressListener.idl
without worrying too much about their applicability here.

Differential Revision: https://phabricator.services.mozilla.com/D191501
2023-10-20 14:03:45 +00:00
Daniel Holbert
c2d9bf74e4 Bug 1860191 part 1: Add some logging to test_color_scheme_browser.xhtml. r=emilio
This is to help orient ourselves when reviewing logs when this test
intermittently times out.

Differential Revision: https://phabricator.services.mozilla.com/D191500
2023-10-20 14:03:44 +00:00