Commit graph

814226 commits

Author SHA1 Message Date
Julian Descottes
4a1ddfd485 Bug 1790471 - [marionette] Convert /remote/marionette JSM modules to ESM r=webdriver-reviewers,whimboo
Depends on D158295

Differential Revision: https://phabricator.services.mozilla.com/D158296
2022-09-30 11:08:08 +00:00
Julian Descottes
bf82c5039a Bug 1790468 - [remote] Convert /remote/server JSM modules to ESM r=webdriver-reviewers,whimboo
Depends on D158294

Differential Revision: https://phabricator.services.mozilla.com/D158295
2022-09-30 11:08:07 +00:00
Julian Descottes
b24d46c99d Bug 1790468 - [remote] Convert /remote/components JSM modules to ESM r=webdriver-reviewers,whimboo
Depends on D158293

Differential Revision: https://phabricator.services.mozilla.com/D158294
2022-09-30 11:08:07 +00:00
Julian Descottes
d1f7dbe55e Bug 1790468 - [remote] Convert /remote/shared JSM modules to ESM r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D158293
2022-09-30 11:08:06 +00:00
Emilio Cobos Álvarez
ddbec758d4 Bug 1792748 - Persist sidebar style attribute rather than width attribute. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D158291
2022-09-30 09:41:32 +00:00
Dimi
3b13923820 Bug 1792689 - Extend cc_form_v2 event telemetry to be able to tell how a field is identified r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D158251
2022-09-30 07:33:16 +00:00
Mozilla Releng Treescript
cc3dcde506 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
lo -> 5bfcb5d83355d4cc82d4ae33c8bcbb781f173be4
pa-IN -> b6930c3ed98596b787d96f303006679de13c5cc9
tg -> 411efa33747a4ad4d85851b678332b46ac55dcbe
2022-09-30 06:58:03 +00:00
Peter Van der Beken
f8868855ed Bug 1792883 - Stop requiring a mutable handle for converting to a WebIDL union. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D158360
2022-09-30 06:40:26 +00:00
Peter Van der Beken
5a37b5b0bc Bug 1792882 - test_interfaces.js should not check pref values. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D158359
2022-09-30 06:39:09 +00:00
André Bargull
ef29c5398a Bug 1792696: Correctly handle code units in matchIdentifierStart. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D158255
2022-09-30 06:23:10 +00:00
Shane Hughes
ee685c297b Bug 1790381 - Clean up existing feature callouts before adding new ones. r=jprickett
Also avoid loading redundant resources and listeners when a feature
callout is added on visibilitychange.

Differential Revision: https://phabricator.services.mozilla.com/D158300
2022-09-30 04:58:25 +00:00
Karl Tomlinson
703b1dbfda Bug 1786306 merge AudioStreamTrack::SetAudioOutputDevice() into AddAudioOutput() r=padenot
The SetAudioOutputDevice() implementation required a subsequent
AddAudioOutput() call, so there is no need to have separate methods.

Differential Revision: https://phabricator.services.mozilla.com/D158310
2022-09-30 04:13:35 +00:00
Karl Tomlinson
c61cd6d03d Bug 1786306 Destroy() associated MediaTracks and MediaInputPort in CrossGraphPort destructor r=padenot
`MediaTrack`s, such as `CrossGraphTransmitter` and `CrossGraphReceiver`, and
`MediaInputPort`s need to be explicitly destroyed.
https://searchfox.org/mozilla-central/rev/52da19becaa3805e7f64088e91e9dade7dec43c8/dom/media/MediaTrackGraph.h#213-216,779-783

`CrossGraphPort` is not reference counted and so it does not need a
`Destroy()` method.

`~AudioStreamTrack` did not call `Destroy()` on its `CrossGraphPort`s from its
destructor, which could leak the `CrossGraphPort`s' tracks and ports.

Differential Revision: https://phabricator.services.mozilla.com/D158309
2022-09-30 04:13:34 +00:00
Karl Tomlinson
67e1a4f489 Bug 1786306 test source track removal after setSinkId does not crash r=padenot
Depends on D158307

Differential Revision: https://phabricator.services.mozilla.com/D158308
2022-09-30 04:13:34 +00:00
Karl Tomlinson
31046e7815 Bug 1786306 delete CrossGraphPort when associated output is removed r=padenot
Previously, SetAudioOutputDevice() already depended on RemoveAudioOutput()
having already been called to remove the output from the track or
CrossGraphPort when switching from or to the default device, but
CrossGraphPorts were not removed.

Differential Revision: https://phabricator.services.mozilla.com/D158307
2022-09-30 04:13:34 +00:00
Karl Tomlinson
a3acab80b7 Bug 1786306 assert that an audio output to be removed is found r=padenot
AFAIK nothing depends on this, but this adds another check that the code is
behaving as expected.

Depends on D158305

Differential Revision: https://phabricator.services.mozilla.com/D158306
2022-09-30 04:13:33 +00:00
Karl Tomlinson
4268d59840 Bug 1786306 assert that there is no more than one output for each key on a track r=padenot
SetAudioOutputVolume() assumes this.

Depends on D158304

Differential Revision: https://phabricator.services.mozilla.com/D158305
2022-09-30 04:13:33 +00:00
Karl Tomlinson
9ab92a85f6 Bug 1786306 de-virtualize some methods that are not overridden r=pehrsons
These might not have been overridden since
https://hg.mozilla.org/mozilla-central/rev/09943651fa85#l15.50 and
https://hg.mozilla.org/mozilla-central/rev/9d11ad3a0bf4#l2.89

Depends on D158303

Differential Revision: https://phabricator.services.mozilla.com/D158304
2022-09-30 04:13:33 +00:00
Karl Tomlinson
0f059962bd Bug 1786306 remove superfluous depth from UniquePtr<UniquePtr<CrossGraphManager>> r=padenot
nsClassHashtable already uses mozilla::UniquePtr<T> for DataType.
https://searchfox.org/mozilla-central/rev/52da19becaa3805e7f64088e91e9dade7dec43c8/xpcom/ds/nsClassHashtable.h#39

The UniquePtr<UniquePtr<CrossGraphManager>> is confusing and requires extra
allocations for the inner UniquePtr<>s.

Differential Revision: https://phabricator.services.mozilla.com/D158303
2022-09-30 04:13:32 +00:00
Cieara Meador
08cd47633f Bug 1785736 - Invert Firefox View progress bar HCM palette r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D158395
2022-09-30 03:58:07 +00:00
Cieara Meador
624b8fced7 Bug 1792962 - Add PiP wrapper for Frontend Masters videos r=pip-reviewers,niklas
Differential Revision: https://phabricator.services.mozilla.com/D158394
2022-09-30 03:47:15 +00:00
Butkovits Atila
14a0f2dd59 Backed out changeset 3b2e0534eca6 (bug 1790276) for causing lint failure. CLOSED TREE 2022-09-30 05:46:11 +03:00
Butkovits Atila
0e55b6d34c Backed out 3 changesets (bug 1790872) for causing gtest failures.
Backed out changeset b88674165106 (bug 1790872)
Backed out changeset 500681c9ebc6 (bug 1790872)
Backed out changeset 3aac3b7cbe18 (bug 1790872)
2022-09-30 05:44:05 +03:00
steven100695
4e0db15c3f Bug 1790276 - Convert browser/actors/EncryptedMedia* JSM modules to ESMs. r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D157087
2022-09-30 02:14:16 +00:00
Sebastian Hengst
e25fe23e90 Bug 1741379 - set 'Mach Vendor & Updatebot' as Bugzilla component for related files. r=tjr
Bugzilla component got added in bug 1740779.

Differential Revision: https://phabricator.services.mozilla.com/D131230
2022-09-30 02:04:59 +00:00
Ryan VanderMeulen
a240c05675 Bug 1792227 - Update node to v16.17.1. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D158039
2022-09-30 01:45:45 +00:00
Nika Layzell
06f21673d2 Bug 1790872 - Part 3: Add a unit test for the IPC sent/recvd message telemetry, r=ipc-reviewers,mccr8
This is done using the gtest framework, and adds a new protocol which has its
messages counted. As the IPDLUnitTest process doesn't count IPC messages with
glean, this only counts messages on the parent process side.

This test also checks that we don't count this information outside of nightly,
and that it isn't counted for messages sent within the same process.

Differential Revision: https://phabricator.services.mozilla.com/D158275
2022-09-30 01:10:15 +00:00
Nika Layzell
e820af57b8 Bug 1790872 - Part 2: Make the process mode available to IPDL gtests, r=ipc-reviewers,mccr8
This will be useful in the next part to write a test with different behaviour
depending on whether it's cross-process.

Differential Revision: https://phabricator.services.mozilla.com/D158274
2022-09-30 01:10:15 +00:00
Nika Layzell
eadf3c07fb Bug 1790872 - Part 1: Report glean telemetry about which IPC messages are being sent, r=florian,ipc-reviewers,mccr8
This will provide us with more information with which to discover what
IPC messages are being sent extremely frequently, especially from
background processes, and what we can do to avoid unnecessary wakeups.

This is intended for power usage work, and is being tracked in a similar
way to the thread wakeups work, based on process types, such that the
data can be compared between the two.

Differential Revision: https://phabricator.services.mozilla.com/D157855
2022-09-30 01:10:14 +00:00
Emilio Cobos Álvarez
06278f99e5 Bug 1792862 - Try to minimize flickering of about dialog. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D158353
2022-09-30 00:48:59 +00:00
Emilio Cobos Álvarez
ab8ce397d0 Bug 1792337 - Add a more convenient API to size a window constrained to a default size. r=bytesized,extension-reviewers,robwu,TYLin
Differential Revision: https://phabricator.services.mozilla.com/D158235
2022-09-30 00:45:36 +00:00
Nika Layzell
c54e38db5d Bug 1686265 - Don't re-parse the same glean files multiple times, r=chutten
This reduces the number of times we re-parse the same glean file, and means we
only use 2 GeneratedFiles directives to generate the relevant files for Glean.

This will also make errors generated by the validator only print once.

The problem in the original patch appears to be caused by the use of the rust
file ('api/src/metrics.rs'), as the first argument to the GeneratedFile. This
messed with the location of things like generated deps files for the build
script, and the path of the stub file, which were placed alongside the
`metrics.rs` file, and not in the directory the build system was expecting.

This issue appears to be fixed if the arguments are re-ordered, such that a
header file appears first instead.

Differential Revision: https://phabricator.services.mozilla.com/D158273
2022-09-30 00:42:45 +00:00
Butkovits Atila
0f722acbe5 Backed out 3 changesets (bug 1791896, bug 1791900) for causing build bustages. CLOSED TREE
Backed out changeset baaa1b7a2fd2 (bug 1791900)
Backed out changeset 0685eba4e0d6 (bug 1791900)
Backed out changeset 51fdfb5f4d52 (bug 1791896)
2022-09-30 03:59:10 +03:00
Butkovits Atila
c01a6393db Backed out changeset 511ee0f8727c (bug 1792741) for causing failures at browser_aboutDialog_distribution. 2022-09-30 03:56:41 +03:00
Dão Gottwald
8fdfee7c7c Bug 1792739 - Use a transparent cutout for the "m" in the "More from Mozilla" icon in about:preferences. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D158367
2022-09-30 00:23:45 +00:00
Paul Adenot
f3819d24db Bug 1791900 - Update libcubeb 93d1fa3fcc. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D157987
2022-09-30 00:23:14 +00:00
Paul Adenot
0c5ec11141 Bug 1791900 - Change cubeb vendoring manifest, swapping out cubeb_tracing.h with something that uses MicroGeckoProfiler.h. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D157879
2022-09-30 00:23:13 +00:00
Paul Adenot
74ba168395 Bug 1791896 - Allow activating cubeb logging via about:networking. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D157877
2022-09-30 00:23:13 +00:00
Ray Kraesig
76d7055093 Bug 1791682 - [3/3] Remove thread names only used in tests r=andi
Remove all the thread names only used in tests from ThreadAllows.txt.
Instead, list the test files that create them in ThreadFileAllows.txt.

Differential Revision: https://phabricator.services.mozilla.com/D157762
2022-09-30 00:11:22 +00:00
Ray Kraesig
55dd66f10d Bug 1791682 - [2/3] Allow multiple path-elements in ThreadFileAllows.txt r=andi
Filenames alone do not uniquely identify files in the Mozilla codebase.
Allow specification of path-elements alongside filenames.

Differential Revision: https://phabricator.services.mozilla.com/D157761
2022-09-30 00:11:22 +00:00
Ray Kraesig
99f55ae3f2 Bug 1791682 - [1/3] Allow comments in thread-checker definition files r=andi
Expand the processor for ThreadAllows.txt and ThreadFileAllows.txt to
also recognize and permit comments prefixed by `#`.

Differential Revision: https://phabricator.services.mozilla.com/D157760
2022-09-30 00:11:21 +00:00
Paul Adenot
1f1b4e362e Bug 1791365 - Don't copy invalid enum value in FFmpegVideoDecoder to avoid tripping UBSan. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D158381
2022-09-29 23:55:00 +00:00
Emilio Cobos Álvarez
03746d909a Bug 1792730 - Allow resizable dialog frames to stretch. r=Gijs,preferences-reviewers
XUL honored the flex over explicit width. We need to set the width in
dialog code to properly keep the preferred width behavior.

Looking at min-width isn't needed for this patch but will be needed for
the next patch to preserve behavior.

Differential Revision: https://phabricator.services.mozilla.com/D158283
2022-09-29 23:46:40 +00:00
Emilio Cobos Álvarez
04c73bdd6a Bug 1792741 - Remove nsDocElementBoxFrame. r=TYLin
After bug 1665476, it's pretty much a regular XUL box with a couple
special-cases that we can use IsRootElementStyle for. Do that, and allow
using nsFlexContainerFrame when using flexbox emulation.

Differential Revision: https://phabricator.services.mozilla.com/D158288
2022-09-29 23:34:41 +00:00
Emily McMinn
174a86c8d2 Bug 1792695 - Update Fluent ID for default colorway tooltip on exisiting user onboarding r=negin
Differential Revision: https://phabricator.services.mozilla.com/D158284
2022-09-29 23:30:15 +00:00
Jens Stutte
ec8b482d3b Bug 1792041 - Add a value for DEL to kBase64URLDecodeTable and have static asserts for lookup tables' length. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D158239
2022-09-29 21:56:28 +00:00
Shane Hughes
5f1ab2cd4b Bug 1792164 - Don't add redundant tabs to ctrlTab panel. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D158282
2022-09-29 21:40:15 +00:00
Butkovits Atila
539f87fe4f Backed out changeset 3e220bf19d7b (bug 1141335) for causing failures at awsy/test_memory_usage.py. CLOSED TREE 2022-09-30 02:12:58 +03:00
Ryan VanderMeulen
a5656862a6 Bug 1791878 - Update to kotlin 1.7.20 and gradle plugin 7.3.0. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D157864
2022-09-29 21:05:51 +00:00
Emilio Cobos Álvarez
9dccf6f405 Bug 1792473 - Use modern flex emulation in devtools. r=devtools-reviewers,jdescottes
This shouldn't have any behavior change, other than avoiding XUL / CSS
interaction issues.

I had to tweak a bit a few of the webconsole split styles to preserve
behavior (even though without the styles it ends up working out because
the collapsed console would be out of view anyways).

The reason for the changes are:

 * visibility: collapse doesn't prevent min-height from applying on
   modern flexbox. So just collapse it using height properly. We need to
   use !important, at least on height, to override the style attribute
   set by the splitter.

 * Tweak the splitting setup of the console a bit more to match legacy
   behavior.

 * I need to contain: size on some scrollers and replaced elements so
   that they flex properly rather than taking as much space as they need
   (this kinda sucks but oh well). We could set min-width/height: 0
   instead if you think it's easier to understand but contain is more
   robust.

I needed to adjust the test since the fractional part of the container
wasn't getting rounded on my machine, but that's a pre-existing issue
that happens with my DPI settings both before and after the patch.

Differential Revision: https://phabricator.services.mozilla.com/D158183
2022-09-29 20:58:54 +00:00