Commit Graph

878329 Commits

Author SHA1 Message Date
Luca Greco
ed2fd2f4ac Bug 1911163 - Add full domains list in addon-webext-permissions-notification permissions list. r=desktop-theme-reviewers,fluent-reviewers,willdurand,bolsson,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D218593
2024-10-03 16:36:18 +00:00
Tarek Ziadé
5f3574e22b Bug 1922481 - Improve the ML docs r=vazish
Depends on D221606

Differential Revision: https://phabricator.services.mozilla.com/D224449
2024-10-03 16:21:51 +00:00
bootleq
521c33ff8a Bug 1905331 - Add test for findbar sound, r=NeilDeakin,pdfjs-reviewers,robwu
Add `MockSound` to replace nsISound in test. Allow us to track play
calls by additional exposed `played` array.

Add `resetSound` to FinderSound module, this is mainly for tests to
clear the internal gSound cache and ensure MockSound can mock it.

Differential Revision: https://phabricator.services.mozilla.com/D215306
2024-10-03 16:09:29 +00:00
bootleq
4be22a08d6 Bug 1905331 - Add findbar "not found" sound to PDF view, r=pdfjs-reviewers,robwu
Introduce another state `_lastNotFoundString` to trace search string
length. Avoid to break original `_findFailedString` logic. Also note
this `_updateControlState` can be called multiple times after single
input in search field thus not as simple as other findbars.

Differential Revision: https://phabricator.services.mozilla.com/D215196
2024-10-03 16:09:29 +00:00
bootleq
226d7db0f3 Bug 1905331 - Move findbar sound handling to new JS module, r=NeilDeakin
The "not found" sound was initially implemented in cpp, then reworked
again in FinderParent (mjs) during fission migration.

Now completely move the implemention to JS as a new module. Make it
easier to be integrated by find controllers, also reduce typeaheadfind's
unnecessary responsibility.

To be clear, the `FinderParent.sys.mjs` affects the general findbar in
web pages, while `Finder.sys.mjs` affects non-remote pages e.g., chrome
pages like about:about (previously handled by nsTypeAheadFind.cpp).

Differential Revision: https://phabricator.services.mozilla.com/D215195
2024-10-03 16:09:28 +00:00
Jonathan Kew
5fea514d95 Bug 1917742 - Add testcase. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D224454
2024-10-03 15:37:11 +00:00
Jonathan Kew
7a576cbecb Bug 1917742 - Share link-target escaping code between DrawTargetCairo::Link and DrawTargetCairo::Destination. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D224319
2024-10-03 15:37:11 +00:00
Ben Dean-Kawamura
b37f9a1085 Bug 1911639 - Record Suggest metrics, r=adw
Differential Revision: https://phabricator.services.mozilla.com/D224162
2024-10-03 15:35:10 +00:00
Ben Dean-Kawamura
c56df36077 Bug 1921514 - Timing distribution sample API, r=chutten,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D224011
2024-10-03 15:35:10 +00:00
Alexandre Poirot
cd88f266c8 Bug 1892638 - [devtools] Avoid triggering any page JS when previewing RegExp and Date. r=devtools-reviewers,nchevobbe
For some reason passing an opaque wrapper from the worker thread isn't an issue for Date.getTime, while it breaks RegExp.toString.
So that, in workers, RegExp with overloaded toString method won't be properly logged and will still have an object inspector,
but with an empty label.

Differential Revision: https://phabricator.services.mozilla.com/D223763
2024-10-03 15:26:28 +00:00
Alexandre Poirot
deca221de8 Bug 1892638 - [devtools] Expose a targetGlobal attribute on all target actors. r=devtools-reviewers,nchevobbe
This helps various actors retrieve the global object:
 - a Window for any WindowGlobal targets,
 - a Sandbox for content process targets,
 - a Worker global scope for worker targets,
 - a Sandbox for the web extension content script targets (to be added soon).

Differential Revision: https://phabricator.services.mozilla.com/D223762
2024-10-03 15:26:27 +00:00
Alexandre Poirot
4ff33716b8 Bug 1892638 - [devtools] Rename StyleSheetsActor.parentActor attribute to targetActor. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D223761
2024-10-03 15:26:26 +00:00
Alexandre Poirot
18084dd09e Bug 1892638 - [devtools] Rename WebConsoleActor.parentActor attribute to targetActor. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D223760
2024-10-03 15:26:25 +00:00
Yury Delendik
6315cf309d Bug 1898031 - Fix JIT activation binding in DebuggerFrame. r=jandem
Allows Wasm DebuggerFrame to be suspended/resumed.

Disables ASAN for StackPointerInfo for better testing.

Depends on D214001

Differential Revision: https://phabricator.services.mozilla.com/D218246
2024-10-03 15:14:20 +00:00
Yury Delendik
256c7c19c8 Bug 1898031 - Debugger breakpoints should switch back to main stack. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D214001
2024-10-03 15:14:20 +00:00
Florian Quèze
d4ce4fbbfa Bug 1922553 - Migrate telemetry events to use Glean APIs for normandy, r=chutten,beth.
Differential Revision: https://phabricator.services.mozilla.com/D222971
2024-10-03 14:55:22 +00:00
Butkovits Atila
a81809c050 Backed out changeset 8537b5e45cf0 (bug 1917381) for causing failures at 1419902.html. CLOSED TREE 2024-10-03 18:51:22 +03:00
Nicolas Chevobbe
186ca8fcb7 Bug 1922511 - [devtools] Avoid sending custom property declarations to getCSSDeclarationBlockIssues. r=devtools-reviewers,ochameau.
Those declarations are already ignored on the server, as custom property
declaration can't have compatibility issues.
On pages with lots of CSS variables, we were still paying the price of
iterating over those and sending them through RDP, which could be costly.

Differential Revision: https://phabricator.services.mozilla.com/D224472
2024-10-03 14:54:03 +00:00
Nicolas Chevobbe
9972fc6fb8 Bug 1918617 - [devtools] Don't apply top margin on prompt dialogs when RDM is enabled. r=niklas,devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D224448
2024-10-03 14:53:11 +00:00
Alexandre Lissy
01a40d4853 Bug 1922432 - Update Snap QA screenshots for Beta r=benchatt
Differential Revision: https://phabricator.services.mozilla.com/D224445
2024-10-03 14:52:35 +00:00
ahochheiden
1af2b812d5 Bug 1920152 - Doc updates for ./mach vendor python r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D223635
2024-10-03 14:47:59 +00:00
ahochheiden
a29c04ae63 Bug 1920152 - Implement upgrading vendored dependencies via uv r=ahal
Currently, running running `./mach vendor python --upgrade` will not do
anything different, because all dependencies are pinned. In later
patches, we can unpin dependencies and that will make any future runs
with `--upgrade` added pull the newest versions from PyPi that are
universally compatible.

Differential Revision: https://phabricator.services.mozilla.com/D223430
2024-10-03 14:47:59 +00:00
ahochheiden
b0d00b2eef Bug 1920152 - Add various additional features to ./mach vendor python r=ahal,mach-reviewers
- Added argument "--add", which allows a user to specify a dependency to add via the command line, rather than editing the 'pyproject.toml' directly.
- Added argument "--remove", which is the opposite of add, with slightly different syntax (This does not require the "==<major.minor.patch>" portion of a dependency.
(The above arguments are both features of uv, and we're essentially just passing them through from `mach` to `uv`)
- Added a hash of the lockfile, so that if you run './mach vendor python', but the lockfile has not changed, there's nothing to do, so the rest of vendoring is skipped.
- Added "--force" to force a vendor, which essentially just skips the lockfile hashing steps, and always forces a vendor, regardless of the change status.

Differential Revision: https://phabricator.services.mozilla.com/D222993
2024-10-03 14:47:58 +00:00
ahochheiden
45be02805e Bug 1920152 - Re-vendor using ./mach vendor python (which now uses 'uv') r=ahal,mach-reviewers
The dependency resolution in 'poetry' was 'lowest', the default
dependency resolution in 'uv' is 'highest'. This means when we vendor,
we will vendor the newest/highest version possible of all transitive
dependencies that are universally/cross-platform compatible.

We could change from the default of 'highest', but I think this is
better. Various packages have been upgraded, and some have been
removed/replaced by others, and that's why there's various changes in
the <site>.txt files.

Differential Revision: https://phabricator.services.mozilla.com/D222992
2024-10-03 14:47:55 +00:00
ahochheiden
161279367b Bug 1920152 - Replace 'poetry' with 'uv' for './mach vendor python' r=ahal,mach-reviewers
The vendoring steps are the same. Instead of using 'poetry' to handle
dependency resolution and creating a lock file, we now use 'uv'. That
lock file is then used to create a cross-platform 'requirements.txt'
file by 'uv'.

How the 'requirements.txt' file is consumed by 'pip' to download the
dependencies is unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D222989
2024-10-03 14:47:54 +00:00
Jonathan Sudiaman
3e68e33e76 Bug 1921789 - Add scalar for vertical_tabs_container r=sidebar-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D224325
2024-10-03 14:42:11 +00:00
sarah541
5a2deba8c9 Bug 1922340 - Removal of unsused strings r=android-reviewers,gmalekpour
Differential Revision: https://phabricator.services.mozilla.com/D224364
2024-10-03 14:40:13 +00:00
Vasish Baungally
2a4772c6ca Bug 1921806 - Add test model for Perf Test r=tarek,sparky
Differential Revision: https://phabricator.services.mozilla.com/D224133
2024-10-03 14:34:46 +00:00
Nikki Sharpley
b9c3ba706c Bug 1914452 - Update revamp sidebar button to reflect sidebar states r=sidebar-reviewers,desktop-theme-reviewers,dao,sfoster,jsudiaman
- different sidebar button icons for expanded, collapsed sidebar states
- move sidebar-button to beginning of navbar strip, to the left of back button
- update tests to reflect new sidebar button positioning
- add hover animation to button

Differential Revision: https://phabricator.services.mozilla.com/D223406
2024-10-03 14:20:55 +00:00
Ed Lee
5ede38216e Bug 1922316 - Only set sidebar nimbus prefs with a minVersion check r=sidebar-reviewers,sclements,Gijs
Add minVersion feature variable to check against current firefox version.

Differential Revision: https://phabricator.services.mozilla.com/D224356
2024-10-03 14:18:10 +00:00
André Bargull
1e2f70d375 Bug 1922503: Update to tzdata 2024b. r=spidermonkey-reviewers,dminor
"PST8PDT" is a link in tzdata, but since we still use `backzone` entries, it's
rewritten to a zone in "TimeZoneDataGenerated.h". This will change when we
implement <https://github.com/tc39/ecma402/pull/877>.

Differential Revision: https://phabricator.services.mozilla.com/D224469
2024-10-03 14:16:24 +00:00
André Bargull
daf9d9d583 Bug 1920955 - Part 63: Remove MaybeFormatCalendarAnnotation. r=dminor
Filed as <https://github.com/tc39/proposal-temporal/issues/2955>.

Differential Revision: https://phabricator.services.mozilla.com/D223569
2024-10-03 14:08:39 +00:00
André Bargull
ddbdd3ea1c Bug 1920955 - Part 62: Use JSLinearString for the time zone identifier. r=sfink
This avoids using `JSString::ensureLinearString()` in multiple places, so the
methods can all be changed to be infallible.

Differential Revision: https://phabricator.services.mozilla.com/D223568
2024-10-03 14:08:39 +00:00
André Bargull
ad4872f3b2 Bug 1920955 - Part 61: Clean-up TimeZone definitions. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D223567
2024-10-03 14:08:38 +00:00
André Bargull
09416b9d31 Bug 1920955 - Part 60: Clean-up Temporal definitions. r=allstarschh
Differential Revision: https://phabricator.services.mozilla.com/D223566
2024-10-03 14:08:38 +00:00
André Bargull
d2c3365aaa Bug 1920955 - Part 59: Clean-up PlainYearMonth definitions. r=allstarschh
Differential Revision: https://phabricator.services.mozilla.com/D223565
2024-10-03 14:08:38 +00:00
André Bargull
6096434ae7 Bug 1920955 - Part 58: Call PrepareTemporalFields in ToTemporalTimeRecord per spec. r=allstarschh
Note: Later spec PRs will change this again.

Differential Revision: https://phabricator.services.mozilla.com/D223564
2024-10-03 14:08:37 +00:00
André Bargull
14770918b7 Bug 1920955 - Part 57: Clean-up PlainMonthDay definitions. r=allstarschh
Differential Revision: https://phabricator.services.mozilla.com/D223563
2024-10-03 14:08:37 +00:00
André Bargull
75418c9de2 Bug 1920955 - Part 56: Clean-up PlainDateTime definitions. r=allstarschh
Differential Revision: https://phabricator.services.mozilla.com/D223562
2024-10-03 14:08:36 +00:00
André Bargull
1d51073ff3 Bug 1920955 - Part 55: Prefer calendar-less PlainDateTime when possible. r=dminor
Using `PlainDateTime` avoids rooting `PlainDateTimeWithCalendar`.

Differential Revision: https://phabricator.services.mozilla.com/D223561
2024-10-03 14:08:36 +00:00
André Bargull
97579ecebd Bug 1920955 - Part 54: Clean-up PlainDate definitions. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D223560
2024-10-03 14:08:36 +00:00
André Bargull
e08bea7a6e Bug 1920955 - Part 53: Clean-up Duration definitions. r=dminor
Clean-up "Duration.h" header file.

Differential Revision: https://phabricator.services.mozilla.com/D223559
2024-10-03 14:08:35 +00:00
André Bargull
4a7c33bcb7 Bug 1920955 - Part 52: Use GetTemporalCalendarWithISODefault in ToTemporalMonthDay. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D223558
2024-10-03 14:08:35 +00:00
André Bargull
c6b3ab4a3d Bug 1920955 - Part 51: Remove Wrapped. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D223557
2024-10-03 14:08:34 +00:00
André Bargull
834ef4c17e Bug 1920955 - Part 50: Remove last use of Wrapped. r=sfink
Actual removal in part 51.

Differential Revision: https://phabricator.services.mozilla.com/D223556
2024-10-03 14:08:34 +00:00
André Bargull
c1681079eb Bug 1920955 - Part 49: Remove unused ToTemporalInstant. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D223555
2024-10-03 14:08:33 +00:00
André Bargull
773b8300a9 Bug 1920955 - Part 48: Simplify ToTemporalDuration. r=sfink
<https://github.com/tc39/proposal-temporal/pull/2943> should address the fixme note.

Differential Revision: https://phabricator.services.mozilla.com/D223554
2024-10-03 14:08:33 +00:00
André Bargull
4b3a5df1bf Bug 1920955 - Part 47: Remove ToCalendarValue and ToTemporalTimeZone from constructors. r=sfink
Still not done with the "Normative: Remove calendars and time zones" spec PR. The
constructors also no longer call `ToCalendarValue` or `ToTemporalTimeZone`.

Differential Revision: https://phabricator.services.mozilla.com/D223553
2024-10-03 14:08:33 +00:00
André Bargull
7fbfce79c9 Bug 1920955 - Part 46: Remove allocations from PrepareTemporalFields. r=sfink
The object allocations in `PrepareTemporalFields` and `PreparePartialTemporalFields`
are no longer necessary, because user-defined calendars can no longer add custom
field names. This allows to use stack-allocated `TemporalFields` everywhere.

Later spec proposal changes will refactor `PrepareTemporalFields` again, but let's
remove the `JSObject` allocations first. (This patch also adds a couple of fixme
notes which will get resolved in later spec proposal changes.)

Differential Revision: https://phabricator.services.mozilla.com/D223552
2024-10-03 14:01:51 +00:00
André Bargull
18a1436619 Bug 1920955 - Part 45: Change field names from StackGCVector to EnumSet. r=mgaudet
All field names are now spec-internal names, which allows to replace the vector
with an enumset. This is faster and we no longer have to worry about keep the
sort order when appending new entries.

Differential Revision: https://phabricator.services.mozilla.com/D223551
2024-10-03 14:01:50 +00:00