Commit Graph

900006 Commits

Author SHA1 Message Date
Eitan Isaacson
0c1dd7f719 Bug 1954205 - Unify AT-SPI interface generation for local and remote. r=Jamie
Had to get rid of dependency on MustPrune because this happens at
instantiaton. If an accessible loses or gains a child in its lifetime
the interfaces it supports cannot change.

Differential Revision: https://phabricator.services.mozilla.com/D241690
2025-03-14 22:42:22 +00:00
Eitan Isaacson
56efb5388b Bug 1851241 - Prune meter's children. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D241115
2025-03-14 22:42:22 +00:00
Jonathan Kew
c3fd842af3 Bug 1954189 - Unescape the path retrieved from nsIURI before passing it to the Rust hyphenator for loading. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D241685
2025-03-14 22:40:33 +00:00
Vasish Baungally
3860c6675c Bug 1953537 - Separate Smart Tab Grouping Perftests r=sparky,tarek,perftest-reviewers
These tests were timing out, so we're running them separately.
Re-added the peak-memory metric.

Differential Revision: https://phabricator.services.mozilla.com/D241295
2025-03-14 22:07:28 +00:00
Amy Churchwell
c5ccab4294 Bug 1951788 – Retrieve custom wallpaper from profile and set as background-image. r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D240957
2025-03-14 22:00:06 +00:00
Aristide Tossou
1cda079a5a Bug 1953986 - Update Link Preview Model prompt and preprocessing - r=Mardak,firefox-ai-ml-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D241545
2025-03-14 21:59:32 +00:00
Luke Warlow
268b0361ba Bug 1901037: Implement ::details-content pseudo element r=emilio,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D241100
2025-03-14 21:58:28 +00:00
James Teh
e5e9bc657c Bug 1946552: Fix problems and inconsistencies in the calculation of text bounds for a range. r=morgan
There are multiple problems and inconsistencies in the way we previously calculated text bounds in various places:

1. TextLeafRange::WalkLineRects and TextLeafRange::Bounds calculated bounds inclusive of the range end. However, everywhere else, range ends are exclusive.
2. To compensate for this, HyperTextAccessibleBase::TextBounds walked back 1 character from the end before calling TextLeafRange::Bounds. However, other callers (UIA and Mac) didn't do this. Including the range end meant we included the bounds for an additional character or even an entire line in some cases.
3. When lines end with a line feed character, we tried to include this in the bounds calculation. Since line feeds have a 0 rect, this messed up the calculation.
4. Even though WalkLineRects constrained line bounds to the end of the range, the provided sub-ranges were not constrained.

To fix these problems, TextLeafRange::WalkLineRects and TextLeafRange::Bounds now explicitly return bounds and sub-ranges constrained to, but exclusive of, the end of the range.
HyperTextAccessibleBase::TextBounds has been updated accordingly.
The line feed character is ignored when calculating line bounds.

Co-authored-by: Nathan LaPre <nlapre@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D237142
2025-03-14 21:37:47 +00:00
James Teh
8e4de07b7a Bug 1951571: Block corplink-uc.exe for causing severe performance problems. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D241581
2025-03-14 21:36:33 +00:00
David P
ec33b26f97 Bug 1950858: Close pipe to agent at shutdown to terminate background threads r=dlp-reviewers,gstoll
We have to do some thread synchronization to avoid a race with prior requests
to reconnect.

Differential Revision: https://phabricator.services.mozilla.com/D241102
2025-03-14 21:22:51 +00:00
William Durand
ba22bfe2dd Bug 1954092 - Fix demo extension to show progress bar. r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D241626
2025-03-14 21:17:58 +00:00
Mika Valkealahti
6f558fbe25 Bug 1952369 - Hiding menuseparator if vertical tabs are in use r=sidebar-reviewers,nsharpley
Differential Revision: https://phabricator.services.mozilla.com/D240720
2025-03-14 20:45:31 +00:00
Alexandru Marc
df27ff0525 Bug 1760085 - Fix typo in disable patch CLOSED TREE 2025-03-14 23:54:19 +02:00
Ted Campbell
cf1ed52934 Bug 1951190 - Put gradle 'build' folders in TOPOBJDIR for top-level builds. r=android-reviewers,adhingra
For consistency with the rest of the build system, have gradle build folders be
created in TOPOBJDR. Put the logic in shared-settings.gradle and apply it to all
projects. Existing gradle and taskcluster configuration uses the 'gradle/build'
prefix, so continue using that for now.

Only apply this when building top-level for now since a fair bit of automation
of fenix/focus/a-c projects expects build artifacts in the source directory.

Plugins are compiled as "composite builds" so they somewhat exist in their own
world. For simplicity, just manually specify the `buildDir` for each plugin.

Differential Revision: https://phabricator.services.mozilla.com/D240116
2025-03-14 20:39:39 +00:00
Iain Ireland
0a8be1129a Bug 1951338: Add fast path for packed elements in willBeSparseElements r=jandem
I originally intended to reset the NON_PACKED flag in this code if there were no holes, but after a closer look, I realized that we exit early from the loop once we've seen enough non-holes, but resetting the flag would require us to examine every element.

Differential Revision: https://phabricator.services.mozilla.com/D241534
2025-03-14 20:33:20 +00:00
Iain Ireland
3d2e59c22e Bug 1951338: Bump EagerAllocationMaxLength r=jandem
This seemed like a reasonable place to draw the line. Combined with the previous patch, code like this:

```
let arr = new Array(50000);
for (let i = arr.length - 1; i >= 0; i--) {
  arr[i] = 0;
}
```
is 9-10x faster.

Differential Revision: https://phabricator.services.mozilla.com/D241533
2025-03-14 20:33:20 +00:00
Iain Ireland
b31deb84cd Bug 1804104: Initialize holes in prepareOOBStoreElement r=jandem
With this patch, we have jitcode support for storing anywhere within the allocated elements capacity, or one item past.

The assertion in addDenseElementPure is no longer correct because we reallocate the capacity before we initialize the holes and update initLength.

We could add support for writing more than one element past the capacity, but we'd have to call a different VM function and think more carefully about when should go sparse.

Differential Revision: https://phabricator.services.mozilla.com/D241532
2025-03-14 20:33:19 +00:00
Iain Ireland
ac8df94b51 Bug 1804104: Share more StoreDenseElementHole code r=jandem
The two code paths were already almost identical. The only differences were that the Ion code used setupAlignedABICall and had a small optimization to reuse the condition flags an earlier test (on architectures with condition flags).

Differential Revision: https://phabricator.services.mozilla.com/D241531
2025-03-14 20:33:19 +00:00
Alexandru Marc
bf85365277 Backed out changeset 0d6b951540ba (bug 1945959) for causing sidebar related bc failures CLOSED TREE 2025-03-14 23:40:11 +02:00
Alexandru Marc
099415b243 Backed out 8 changesets (bug 1953446) for causing multiple failures
Backed out changeset 573a55983065 (bug 1953446)
Backed out changeset b4fd520a5e13 (bug 1953446)
Backed out changeset c9edd0c87887 (bug 1953446)
Backed out changeset 8933ab73f76c (bug 1953446)
Backed out changeset 370d2fb98bcf (bug 1953446)
Backed out changeset fe5c84911e61 (bug 1953446)
Backed out changeset ca3098e7a08c (bug 1953446)
Backed out changeset 51814e663ad1 (bug 1953446)
2025-03-14 23:39:02 +02:00
Alexandru Marc
d2558ef163 Backed out changeset b777153d1c8b (bug 1943102) for causing fenix failures @ CfrToolsPreferencesMiddlewareTest.kt 2025-03-14 23:30:28 +02:00
Cristina Horotan
e3314fc0a9 Bug 1760085 - disable test_purge_trackers.js on linux for causing frequent failures. r?#intermittent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D241336
2025-03-13 04:04:51 +00:00
Alexandru Marc
2fba52d6a9 Backed out 2 changesets (bug 1952343) for causing linting failure
Backed out changeset bb4a8e6e5b41 (bug 1952343)
Backed out changeset 60d4fd3913aa (bug 1952343)
2025-03-14 23:21:53 +02:00
Joel Maher
5bb34ba424 Bug 1953965 - adjust raptor settings to remove --power-test and --conditioned-profile when running at lambdatest. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D241512
2025-03-14 20:31:28 +00:00
John Oberhauser
0febe0ff97 Bug 1951944 - adding preferences for storing the progresss of the setup checklist feature r=android-reviewers,twhite
Differential Revision: https://phabricator.services.mozilla.com/D241501
2025-03-14 20:25:01 +00:00
Kelly Cochrane
04272e8fe4 Bug 1945959 - Add tests for sidebar expand on hover feature r=sidebar-reviewers,nsharpley
Differential Revision: https://phabricator.services.mozilla.com/D237646
2025-03-14 20:20:44 +00:00
Mike Conley
787a171c5e Bug 1953005 - Make tp5n test work with built-in addons. r=baku,perftest-reviewers,sparky
Without this preference set in the test, none of the built-in addons
(including the newtab build-in addon) will be available during the
test.

Differential Revision: https://phabricator.services.mozilla.com/D241464
2025-03-14 20:18:50 +00:00
Mike Conley
db199bd880 Bug 1953005 - Adjust browser_all_files_referenced, browser_parsable_css and allowed-dupes for built-in newtab addon case. r=baku
This also updates the addon-jar.mn script to remove the static chrome / resource registrations,
as this is taken care of in resource-mapping.js, and causes interesting test failures in CI
when included (specifically, if the manifest is refreshed after resource-mapping has run).

Differential Revision: https://phabricator.services.mozilla.com/D241463
2025-03-14 20:18:50 +00:00
Mike Conley
573226f5c9 Bug 1953005 - Change how newtab xpcshell tests install built-in newtab addon. r=baku
This allows the tests to have the newtab built-in addon be installed
and enabled properly when running in automation.

Differential Revision: https://phabricator.services.mozilla.com/D241462
2025-03-14 20:18:49 +00:00
Edgar Chen
fd59d6a4dd Bug 1952343 - [about:memory] Wait for document to regain focus before reopening the file picker; r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D241441
2025-03-14 19:55:01 +00:00
Edgar Chen
23e0512adc Bug 1952343 - Notify nsI{Color|File}PickerShownCallback asynchronously when picker is blocked; r=emilio
Otherwise, the HTMLInputElement doesn't handle the mPickerRunning flag right if
it is in parent process. There is no such problem on content process because
the IPC is async.

Differential Revision: https://phabricator.services.mozilla.com/D241440
2025-03-14 19:55:01 +00:00
Erich Gubler
226b121d8d Bug 1953913 - chore(wgpu_bindings): use c string literals r=webgpu-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D241484
2025-03-14 19:48:12 +00:00
Erich Gubler
e5a3946a8a Bug 1953913 - chore(wgpu_bindings): use Rust 2021 edition r=webgpu-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D241483
2025-03-14 19:48:11 +00:00
Yury Delendik
6b603bdec9 Bug 1954042 - Check OOM condition after readAllocSiteIndex(). r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D241665
2025-03-14 19:28:29 +00:00
Alexandre Lissy
78ffe45033 Bug 1954022 - Make sure Snap Selenium tests verify test return value r=benchatt
Differential Revision: https://phabricator.services.mozilla.com/D241590
2025-03-14 19:22:54 +00:00
scottdowne
3a2d27d58e Bug 1954159 - Newtab sections connect follow block customize menu to nimbus minifest r=maxx
Differential Revision: https://phabricator.services.mozilla.com/D241638
2025-03-14 19:09:03 +00:00
Erich Gubler
36a2ca20d9 Bug 1952308 - fix(webgpu): don't crash on NS_ERROR_UNEXPECTED for WGSLLanguageFeatures construction r=webgpu-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D241291
2025-03-14 19:04:14 +00:00
Gregory Pappas
5f978982da Bug 1953339 - Migrate netmonitor statusbar strings to fluent r=devtools-reviewers,fluent-reviewers,flod,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D241146
2025-03-14 18:57:22 +00:00
Daniel Holbert
94e23b3d89 Bug 1953102: Go back to using 'flex-start' as fallback alignment for 'justify-content: space-between' (rather than 'safe flex-start'). r=emilio
The 'safe' flag actually causes overflow to be lost, in cases where the
flex container is set up to scroll in the reverse direction. The spec says
to use that flag here, but I don't think other browsers do (and we didn't
either until recently); and I'm proposing we change the spec in
https://github.com/w3c/csswg-drafts/issues/11937

Differential Revision: https://phabricator.services.mozilla.com/D241670
2025-03-14 18:54:21 +00:00
alwu
8d6c32f691 Bug 1953313 - include the platform error code in the glean probe. r=media-playback-reviewers,chunmin
This patch will propagate the platform error code via the MediaResult,
and report it via the glean probe.

Differential Revision: https://phabricator.services.mozilla.com/D241119
2025-03-14 18:48:22 +00:00
Luke Taylor
26a904f1a3 Bug 1953206 - Reword JSMSG_TEMPORAL_PLAIN_YEAR_MONTH_INVALID error message; r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D241269
2025-03-14 18:47:47 +00:00
Sean
17d5e02622 Bug 1944993 - Block connection failure message for neterrors without connection error r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D241459
2025-03-14 18:44:50 +00:00
Kagami Sascha Rosylight
69ad046946 Bug 1930643 - Part 4: Remove icon support from OSXNotificationCenter r=nalexander
No other browser shows favicon on notifications, and even though the the latest macOS 15.3.2 passes the condition to enter the block, it does not make any actual visual change anymore.

Differential Revision: https://phabricator.services.mozilla.com/D241457
2025-03-14 18:37:56 +00:00
Kagami Sascha Rosylight
c75328df10 Bug 1930643 - Part 3: Remove icon support from XULAlerts r=nalexander
Depends on D241432

Differential Revision: https://phabricator.services.mozilla.com/D241434
2025-03-14 18:37:56 +00:00
Kagami Sascha Rosylight
e9ca702b03 Bug 1930643 - Part 2: Remove favicon support from nsAlertsService r=nalexander
Note that this has nothing to do with Notification.icon even though the code mentions icon.

Depends on D241431

Differential Revision: https://phabricator.services.mozilla.com/D241432
2025-03-14 18:37:55 +00:00
Kagami Sascha Rosylight
56dad83261 Bug 1930643 - Part 1: Remove all warnings in nsAlertsService.cpp/h r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D241431
2025-03-14 18:37:55 +00:00
Ted Campbell
c42424cd11 Bug 1946905 - Check ANDROID_SERIAL in addition to DEVICE_SERIAL. r=jmaher
The ANDROID_SERIAL variable is used adb and gradle, as well as other parts of
our scripts. This leaves the DEVICE_SERIAL checks in place as a fallback since
some of our hardware CI workers still set that variable to indicate device.
Going forward, ANDROID_SERIAL should be prefered for compatibility with android
ecosystem.

Differential Revision: https://phabricator.services.mozilla.com/D237288
2025-03-14 17:56:47 +00:00
Ted Campbell
8dfac21030 Bug 1946905 - Fixup multi-device behaviour in mozrunner verify_android_device. r=jmaher
Fix issues with mozrunner when multiple devices/emulators are on system.
    - Resolve inconsistent states between device_serial argument and
      DEVICE_SERIAL environment variable.
    - Ignore detached or unauthorized devices when deciding which to use or
      determining if selection is ambiguous.
    - Fail verify_android_device if device selection is ambiguous.

Differential Revision: https://phabricator.services.mozilla.com/D239849
2025-03-14 17:56:47 +00:00
Jon Coppeard
d63d3dc240 Bug 1953446 - Part 8: Remove duplicate read barrier r=sfink
This is already handled in WeakMap::lookup.

Differential Revision: https://phabricator.services.mozilla.com/D241205
2025-03-14 17:46:45 +00:00
Jon Coppeard
910cf4eb24 Bug 1953446 - Part 7: Remove write barriers on weakmap destruction r=sfink
Currently we trigger write barriers when we destroy a weakmap but this is
ununecessary. This removes them by making the actual storage of the map
unbarriered, and casting it to a barriered map for all mutator accesses.

Differential Revision: https://phabricator.services.mozilla.com/D241204
2025-03-14 17:46:45 +00:00