Commit Graph

903473 Commits

Author SHA1 Message Date
Florian Quèze
d7a1f1d136 Bug 1956726 - Migrate histograms to use Glean APIs for STARTUP_CACHE_REQUESTS, r=chutten.
Differential Revision: https://phabricator.services.mozilla.com/D243957
2025-04-03 17:19:31 +00:00
Kershaw Chang
a28be988a3 Bug 1958224 - Use nsTArray to store tunnel streams, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D244325
2025-04-03 17:16:52 +00:00
Florian Quèze
9ec8cc29a6 Bug 1956726 - Migrate histograms to use Glean APIs in browser/, r=chutten,sessionstore-reviewers,tabbrowser-reviewers,mconley,nsharpley.
Differential Revision: https://phabricator.services.mozilla.com/D243706
2025-04-03 17:09:35 +00:00
aiunusov@mozilla.com
f742f18fae Bug 1957994 - worker background state change should update timeout manager backgound state, r=smaug
call TimeoutManager::UpdateBackgroundState() in order to schedule the TimeoutExecutor in case the throttling is enabled and MinSchedulingDelay() is changed

Differential Revision: https://phabricator.services.mozilla.com/D244184
2025-04-03 16:49:59 +00:00
Teddy Bersentes
24829fe667 Bug 1956350 - Add single line truncation on profile theme cards. r=profiles-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D243481
2025-04-03 16:44:58 +00:00
gautam-panakkal
dfd145bd85 Bug 1955584 - Set right margin equal to top/bottom margin on vertical tab close buttons r=nsharpley,desktop-theme-reviewers,tabbrowser-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D244090
2025-04-03 16:41:08 +00:00
Alexandru Marc
9a80513786 Bug 1950795 - Disable browser_test_last_tab.js on linux/mac/win for frequent failures r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D244323
2025-04-03 16:40:17 +00:00
Emma Zuehlcke
c5ee501724 Bug 1958152 - Renew BTP telemetry. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D244324
2025-04-03 16:35:17 +00:00
Hanna Jones
849d9008a7 Bug 1861526 - Part 2: ignore color tokens in browser_parsable_css r=reusable-components-reviewers,desktop-theme-reviewers,dao,mstriemer,omc-reviewers,mviar
Differential Revision: https://phabricator.services.mozilla.com/D241238
2025-04-03 16:20:56 +00:00
jules
50b77ea1be Bug 1861526 - Improve our existing color palette r=reusable-components-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,dao,hjones
The new palette makes use of oklch(), a modern function based on cielab color space.
Oklch has bigger gamut support, while being a perceptual and uniform space - easier to create a system with colors that step down evenly.

While oklch gets us pretty far, you will notice if you look close though that all color groups don't follow the same exact lightness and chroma values to a T. I lightly tweaked some color families based on how colors tend to respond to the human eye as they get more or less lightness and chroma.

I will release alongside this palette some minimal guidance of how to combine colors on acorn.firefox.com. This palette provides an easy to understand system where
0 is the lightest and 110 is the darkest, and 1-100 step towards the darkest value evenly. You could then  pretty much split
the scale in half to create light/dark mode safe combinations for background + text, icon + background, etc. But as mentioned before, more guidance to come.

I'm applying colors to tab groups here so made sure to get Amy Lee's approval.

I also ran this by theme reviewers.

UX org has also approved this work.

I also planned with #reusable-components-reviewers team to launch this at the beginning of the next cycle alongside a note to dev mailist announcing the changes.

You should notice some small differences on certain colors, but nothing too dramatic. Colors, besides themes, pretty much only show up as an accent (e.g. primary button) or for feedback (e.g. message bars). Before and after pics can be found [here](https://www.figma.com/design/ZDl1O6w3AA8CC2Keo8ExFg/Bug-1861526-before-and-afters?node-id=0-1&p=f&t=0HeNRoieubFL4ZFl-0).

Note: Storybook isn't playing nicely with oklch and we get some warnings for contrast. I talked to Mark Striemer, and for now we can land this but should look into a solution, if possible. I filed 1950988.

Note to ReComp: I touched up message bar's design slightly here by tweaking the border color.
I also used Julian Gaibler's help to ignore oklch for now since it was spitting errors in the Figma config.

### oklch reads
w3: https://www.w3.org/TR/css-color-4/#lab-colors
tldr: https://chriscoyier.net/2023/10/20/more-oklch-musings/

Differential Revision: https://phabricator.services.mozilla.com/D239079
2025-04-03 16:20:56 +00:00
Valentin Gosu
c17f216e76 Bug 1955579 - Add new androidRolloutEnabled field to doh-config remote settings r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D243099
2025-04-03 16:17:46 +00:00
Valentin Gosu
c561885519 Bug 1955579 - Initialize DoHController at GeckoView startup r=necko-reviewers,geckoview-reviewers,kershaw,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D242533
2025-04-03 16:17:46 +00:00
Valentin Gosu
454b8b03a5 Bug 1955579 - Fix doh unit tests to run on Android r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D242532
2025-04-03 16:17:46 +00:00
Valentin Gosu
cffebc7146 Bug 1955579 - move browser/components/doh to toolkit/components/doh to be used on Android r=necko-reviewers,settings-reviewers,firefox-desktop-core-reviewers ,Gijs,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D242531
2025-04-03 16:17:45 +00:00
zombie
603e1491a2 Bug 1958019 - Fix @see JSDoc references in XPCOMUtils.sys.mjs r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D244371
2025-04-03 16:10:45 +00:00
Alexandre Lissy
04094ced84 Bug 1725134 - Handle XDG_CONFIG_HOME in crashreporter r=afranchuk
Differential Revision: https://phabricator.services.mozilla.com/D122358
2025-04-03 16:10:43 +00:00
Beth Rennie
d471649fe2 Bug 1936326 - Move IOUtils and PathUtils into XPCOM r=xpcom-reviewers,shtrom,zeid,nika
Differential Revision: https://phabricator.services.mozilla.com/D232251
2025-04-03 15:28:31 +00:00
Dão Gottwald
37fd93165d Bug 1957409 - Move tab group line away from the window edge in the collapsed sidebar. r=nsharpley,sthompson,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D244353
2025-04-03 15:24:37 +00:00
Henrik Skupin
312bb4ed10 Bug 1952944 - [geckodriver] Update known bugs section of the release notes to mention broken Virtual Authentication commands. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D244073
2025-04-03 15:04:51 +00:00
Henrik Skupin
d51cd1bcf7 Bug 1952944 - [geckodriver] Camel-case arguments for Web Authentication commands. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D244072
2025-04-03 15:04:50 +00:00
Emilio Cobos Álvarez
581063206e Bug 1958293 - Null-check referrer URI in CSS Loader warning. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D244348
2025-04-03 14:51:44 +00:00
Jens Stutte
ec6c0940c3 Bug 1955541 - Use appShutdownConfirmed instead of quitApplicationGranted in DAPTelemetrySender. r=Gijs
And add a check to avoid late initialization / resurrection during shutdown.

Differential Revision: https://phabricator.services.mozilla.com/D242498
2025-04-03 14:45:01 +00:00
Cosmin Sabou
3b945ff592 Backed out changeset 2332eb04959d (bug 1909470) for causing CrashReporterClient related bustages. CLOSED TREE 2025-04-03 18:25:17 +03:00
Florian Quèze
d8e55feeaf Bug 1949498 - Remove the MEDIA_GMP_UPDATE_XML_FETCH_RESULT legacy telemetry histogram (already migrated to Glean), r=padenot.
Differential Revision: https://phabricator.services.mozilla.com/D244200
2025-04-03 14:05:55 +00:00
Cosmin Sabou
4626ccc027 Backed out changeset 6b1e315c0cc0 (bug 1949498) for causing CrashReporterClient related bustages. CLOSED TREE 2025-04-03 18:23:19 +03:00
Cosmin Sabou
a9967c7389 Merge mozilla-central to autoland. CLOSED TREE 2025-04-03 18:04:39 +03:00
Cosmin Sabou
cc39e0c0e8 Backed out changeset c860af62a31c (bug 1957001) for D3D11 crashes. a=backout 2025-04-03 17:59:55 +03:00
Markus Stange
58b4f3d41b Bug 1955334 - Fix samply documentation: remove extra backticks and add the other env vars. r=jrmuizel DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D244228
2025-04-03 14:19:45 +00:00
Ryan VanderMeulen
fdd1baf3bb Bug 1958138 - Use Bitmap.toDrawable instead of BitmapDrawable. r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D244313
2025-04-03 14:18:41 +00:00
Ryan VanderMeulen
ee6664c570 Bug 1958138 - Use Int.toDrawable() instead of ColorDrawable. r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D244312
2025-04-03 14:18:41 +00:00
Ryan VanderMeulen
0d281b8080 Bug 1958138 - Use Context.withStyledAttributes() instead of obtainStyledAttributes. r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D244311
2025-04-03 14:18:41 +00:00
Ryan VanderMeulen
f64e63c7bd Bug 1958138 - Use Locale.layoutDirection() instead of getLayoutDirectionFromLocale. r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D244310
2025-04-03 14:18:41 +00:00
Ryan VanderMeulen
0f8f45f60c Bug 1958138 - Use SharedPreferences.edit() KTX extension. r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D244309
2025-04-03 14:18:40 +00:00
Ryan VanderMeulen
b577a07c2a Bug 1958138 - Use the findNavController() KTX extensions instead of Navigation.findNavController. r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D244308
2025-04-03 14:18:40 +00:00
Stephen Thompson
895511dc6f Bug 1938430 - add delete tab group event r=jswinarton,tabbrowser-reviewers,sessionstore-reviewers
Record when users delete an open group from the tab group context menu or delete an open group from a context menu in the all-tabs menu.

This will not record when users close a window or close all of the individual tabs in a tab group, even though those cases have the logical side effect of deleting a tab group.

Differential Revision: https://phabricator.services.mozilla.com/D241884
2025-04-03 14:12:43 +00:00
Florian Quèze
117fea04f2 Bug 1956726 - remove the unused PAGE_METADATA_SIZE histogram, r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D244232
2025-04-03 14:09:54 +00:00
Florian Quèze
c771c6aa8f Bug 1949498 - Remove the MEDIA_GMP_UPDATE_XML_FETCH_RESULT legacy telemetry histogram (already migrated to Glean), r=padenot.
Differential Revision: https://phabricator.services.mozilla.com/D244200
2025-04-03 14:05:55 +00:00
Chris Martin
7a5aa9f3c5 Bug 1909470 - Transfer auxv from child processes to crash reporter r=media-playback-reviewers,gsvelto,padenot
Differential Revision: https://phabricator.services.mozilla.com/D235710
2025-04-03 13:59:54 +00:00
aglavic
6dba3c9a55 Bug 1956606 - Disable safari jetstream2 tests. r=perftest-reviewers,kshampur,taskgraph-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D243208
2025-04-03 13:59:40 +00:00
ffxbld
ddaf3920d0 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes mobile-experiments ct-logs - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D244342
2025-04-03 13:55:04 +00:00
Jan Varga
ee03abff84 Bug 1957331 - QM: Add telemetry for shutdown time excluding suspend; r=dom-storage-reviewers,jstutte
This patch adds a new Glean timing_distribution metric, to measure the duration
of QuotaManager shutdown.

The measurement runs on the PBackground thread and uses NowExcludingSuspendMs
to exclude any system suspend time (e.g. sleep or hibernation), providing a
more accurate view of active runtime cost.

This helps monitor shutdown performance and detect improvements or regressions,
especially for users with significant storage data.

Telemetry metadata was added under dom/quota/metrics.yaml.

Differential Revision: https://phabricator.services.mozilla.com/D243625
2025-04-03 13:50:08 +00:00
Daniel Holbert
9b7d940c91 Bug 1920525: Give nsImageFrame a MarkIntrinsicISizesDirty implementation, which immediately updates the image's intrinsic size and aspect-ratio. r=layout-reviewers,jfkthame,emilio
This is needed for <img> elements that have 'content-visibility:auto' to behave
properly.  Such images need to lose/regain their intrinsic size and
aspect-ratio when the image leaves and reenters the viewport (depending on
whether the image is considered 'relevant to the user'). When they're scrolled
back into view, they receive a call to MarkIntrinsicISizesDirty(), which now
has an override on nsImageFrame that eagerly updates the intrinsic size and
aspect-ratio so that the image will lay out properly.

Note that we need to *immediately* update the intrinsic size and aspect-ratio
(rather than simply resetting them to 0 and waiting for the next reflow to
lazily update them), because the nsImageFrame's ancestor frames might query it
for its aspect-ratio as part of their own layout *before* the image gets a
chance to lazily determine its aspect-ratio.  See
https://bugzilla.mozilla.org/show_bug.cgi?id=1920525#c14 for one example with
grid track sizing, where the grid prompts its child (an image) for its aspect
ratio using a const getter before the image has had a chance to lazily figure
out its aspect-ratio.)

Differential Revision: https://phabricator.services.mozilla.com/D244286
2025-04-03 13:49:26 +00:00
Jon Coppeard
a2fa87f41f Bug 1957847 - Part 3: Use Add/DropJSHoldersWithKey APIs for CallbackTimeoutHandler r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D244333
2025-04-03 13:49:21 +00:00
Jon Coppeard
c7bd7c74d0 Bug 1957847 - Part 2: Use Add/DropJSHoldersWithKey APIs for Promise r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D244332
2025-04-03 13:49:21 +00:00
Jon Coppeard
79423744eb Bug 1957847 - Part 1: Add assertions to catch misuse of Add/DropJSHolders APIs r=smaug
This adds static assertions that the Add/DropJSHoldersWithKey APIs are not used
for wrapper cached objects, and runtime assertions that these APIs are not used
for objects that were previously used with the original Add/DropJSHolders APIs.
Unfortunately it's not possible to check the inverse of the latter case.

Differential Revision: https://phabricator.services.mozilla.com/D244331
2025-04-03 13:49:20 +00:00
Florian Quèze
6afb2c9c36 Bug 1956726 - Migrate histograms to use Glean APIs for WEBFONT_*, r=chutten.
Differential Revision: https://phabricator.services.mozilla.com/D242767
2025-04-03 13:42:52 +00:00
Florian Quèze
e8696f257b Bug 1956726 - remove the CONTENT_FRAME_TIME_REASON histogram that has already been migrated to Glean, r=chutten.
Differential Revision: https://phabricator.services.mozilla.com/D242766
2025-04-03 13:42:51 +00:00
Florian Quèze
4b88e75c19 Bug 1956726 - Migrate histograms to use Glean APIs in gfx/, r=chutten,jgilbert,firefox-desktop-core-reviewers ,mconley.
Differential Revision: https://phabricator.services.mozilla.com/D242765
2025-04-03 13:42:51 +00:00
Jens Stutte
f16a35290c Bug 1957634 - Remove obsolete TODO comment from the FramesWithDepth comparator. r=emilio DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D244337
2025-04-03 13:37:43 +00:00
Meg Viar
da22606da5 Bug 1955469 - Add Windows guidance notification pref to the SMA allowed prefs list r=omc-reviewers,negin
To facilitate suppressing the Windows set default guidance notification toast via messaging system action

Differential Revision: https://phabricator.services.mozilla.com/D244180
2025-04-03 13:34:57 +00:00