Граф коммитов

842668 Коммитов

Автор SHA1 Сообщение Дата
Itiel f9853fee06 Bug 1834348 - Fix RTL text direction for various video controls labels r=mhowell,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D178690
2023-05-22 17:31:40 +00:00
Markus Stange 008b93c401 Bug 1834226 - Untangle listener checks in HandleEventInternal. r=smaug
This makes the loop a bit easier to read. It is now clear which conditions
are checked where, and the use of "continue" avoids some indentation.
This is also getting rid of the lambda in ListenerCanHandle.

All checks are performed in the same order as before.

The only change is the removal of a main thread assert when we check
the event message in the spot where the message is not eUnidentifiedEvent.

Differential Revision: https://phabricator.services.mozilla.com/D178598
2023-05-22 17:22:27 +00:00
Tiaan Louw fc8e61b225 Bug 1815186 - Add ColorTo to InspectorUtils to convert color to other color spaces. r=emilio,layout-reviewers,supply-chain-reviewers
This will allow calling `InspectorUtils.ColorTo("red", "lab")` and
receive `{color: "lab(54.3 80.8 69.9)", components: [54.3, 80.8, 69.9, 1.0], adjusted: false}`.

The adjusted value is always "false", because gamut checking and mapping
is not supported at the moment. See:
https://bugzilla.mozilla.org/show_bug.cgi?id=1823363

Differential Revision: https://phabricator.services.mozilla.com/D169942
2023-05-22 17:19:14 +00:00
John Lin 8f67002337 Bug 1832832 - protect encoder accesses in Java callbacks. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D178564
2023-05-22 17:11:34 +00:00
Tom Ritter b8832ece7c Bug 1832681: Add the other Canvas RFPTargets r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D177830
2023-05-22 16:29:01 +00:00
Alexandre Poirot 3093557b91 Bug 1831149 - [devtools] Fold ManagedTree into SourcesTree. r=bomsy
This help avoid this unecessary indirection which is ManagedTree.
And hopefully this may help simplify "expanded" and "focused" data
which is currently stored in redux but rather looks like something
that belongs to this React component's state.

Differential Revision: https://phabricator.services.mozilla.com/D177066
2023-05-22 16:09:34 +00:00
Alexandre Poirot 1b54639cdc Bug 1830324 - [devtools] Make ProjectSearch use Tree instread of ManagedTree. r=devtools-reviewers,bomsy
The ManagedTree subclass is really only relevant to SourcesTree
and could be folded up into SourcesTree.

Differential Revision: https://phabricator.services.mozilla.com/D176754
2023-05-22 16:09:34 +00:00
David Turner 47b06f332f Bug 1833354 - Add NV12 support for V4L2. r=stransky,media-playback-reviewers
Add support for the NV12 pixel format to the V4L2 buffer handling code
in FFmpegVideoFramePool.

Differential Revision: https://phabricator.services.mozilla.com/D178454
2023-05-22 15:38:44 +00:00
David Turner 9280810c98 Bug 1833354 - Extend FFmpeg video frame pool to support V4L2. r=stransky,media-playback-reviewers
Currently the video frame pool used to manage hardware-accelerated
buffers for FFmpeg only supports VAAPI.  Extend it to support V4L2 by
adding a new overload of GetVideoFrameSurface which takes an
AVDRMFrameDescriptor (which wraps a DRM-PRIME buffer handle).  The
AVDRMFrameDescriptor is converted to a VADRMPRIMESurfaceDescriptor so we
can use the existing machinery in DMABufSurface and avoid duplication
there.

This depends on the drm_fourcc.h header from libdrm, I use the vendored
version of libdrm instead of adding a system dependency.

Differential Revision: https://phabricator.services.mozilla.com/D178349
2023-05-22 15:38:43 +00:00
Issam Mani 2f40b44224 Bug 1810810 - Add test for login preselection. r=mtigley,credential-management-reviewers
Depends on D167259

Differential Revision: https://phabricator.services.mozilla.com/D177980
2023-05-22 15:31:26 +00:00
issammani e2b2368ce8 Bug 1810810 - Preselect login item for referring site. r=credential-management-reviewers,desktop-theme-reviewers,dao,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D167259
2023-05-22 15:31:26 +00:00
Yoshi Cheng-Hao Huang a30459a36b Bug 1826110 - Add the module's URL into the error message. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D178627
2023-05-22 15:30:16 +00:00
Dan Baker 26d7d8cbb8 Bug 1592988 - Add wpt to use stats to measure jitterBufferTarget.r=jib
Differential Revision: https://phabricator.services.mozilla.com/D178484
2023-05-22 15:05:01 +00:00
Dan Baker ee3d3ab95b Bug 1592988 - Renamed from tests from playoutDelay to jitterBufferTarget and spec changes.r=jib
See https://github.com/w3c/webrtc-extensions/pull/160 for details.

Differential Revision: https://phabricator.services.mozilla.com/D176450
2023-05-22 15:05:01 +00:00
Dan Baker dd4ae7db68 Bug 1592988 - Updated wpt tests to match playoutDelay spec.r=jib
Differential Revision: https://phabricator.services.mozilla.com/D174702
2023-05-22 15:05:01 +00:00
Dan Baker e24a35806b Bug 1592988 - Implement RtcRtpReceiver jitterBufferTarget.r=bwc,jib,webidl,smaug,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D174701
2023-05-22 15:05:01 +00:00
Dan Baker 7a9710bc8a Bug 1592988 - Enable wpt tests and renamed from playoutDelayHint to playoutDelay to match spec.r=jib
Differential Revision: https://phabricator.services.mozilla.com/D174700
2023-05-22 15:05:01 +00:00
Jan de Mooij 220eaeb4ac Bug 1834331 - Add #spidermonkey-reviewers to reviews.rst. r=firefox-source-docs-reviewers,spidermonkey-reviewers,sylvestre,nbp DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D178667
2023-05-22 14:42:59 +00:00
Gregory Pappas f8080c91e5 Bug 1773097 - Remove unused browser.chromeURL pref r=tjr,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D178479
2023-05-22 14:31:55 +00:00
Jon Coppeard 67a88750a2 Bug 1833854 - Part 7: Add the FOR_EACH_GC_TUNABLE macro to describe tunable GC parameters and use it to generate the code r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D178534
2023-05-22 14:31:41 +00:00
Jon Coppeard 409211d12a Bug 1833854 - Part 6: Round requested nursery before checking range when changing the nursery size r=sfink
This makes things easier later as the rounding can be done as part of a
conversion step before checking whether the final value is valid.

Depends on D178529

Differential Revision: https://phabricator.services.mozilla.com/D178530
2023-05-22 14:31:41 +00:00
Jon Coppeard 32ea7c2efe Bug 1833854 - Part 5: Remove range check for JSGC_NURSERY_FREE_THRESHOLD_FOR_IDLE_COLLECTION GC parameter r=sfink
This check is problematic because gcMaxNurseryBytes can be changed afterwards
to make the current value of nurseryFreeThresholdForIdleCollection_ invalid by
this measure.  Also, as with nursery size parameters, the caller doesn't
necessarily know what the max nursery size is when setting this parameter.

Invalid values do not change behaviour since belowBytesThreshold will always
come out as true in Nursery::isNearlyFull.  Therefore we should just remove
this check.

(And this is all moot anyway because this parameter is never changed anywhere).

Depends on D178528

Differential Revision: https://phabricator.services.mozilla.com/D178529
2023-05-22 14:31:40 +00:00
Jon Coppeard b0e02d33fa Bug 1833854 - Part 4: Move all code that deals with maintaining invariants into a separate method r=sfink
This makes the setParameter code simpler and amenable to generation by a macro.

Depends on D178527

Differential Revision: https://phabricator.services.mozilla.com/D178528
2023-05-22 14:31:40 +00:00
Jon Coppeard 7bd857f042 Bug 1833854 - Part 3: Allow min and max nursery sizes to be set regardless of current values r=sfink
Currently we prevent setting a new minimum value that's greater than the
current maximum value and vice versa.

This is problematic because the caller may not know the current values. For
example, they may want to set both min and max to values that are valid with
respect to each other but not with resepect to existing values. (This is caused
by the fact that the API only allows setting one value at a time but that's a
larger issue.)

Instead, handle this the way we do for all other parmeters. When setting a new
value that invalidates an invariant with repsect to another parmeter, adjust
that other parameter to maintain the invariant.

Differential Revision: https://phabricator.services.mozilla.com/D178527
2023-05-22 14:31:40 +00:00
Jon Coppeard e95ca1fcba Bug 1833854 - Part 2: Common up GCSchedulingTunables invariant checks r=sfink
Some of these are duplicated, for example when two parameters need to be
checked against each other. It's easier to define them all in once place and
then we ensure we run all of them when anything changes.

Depends on D178524

Differential Revision: https://phabricator.services.mozilla.com/D178525
2023-05-22 14:31:40 +00:00
Jon Coppeard 8086cc2149 Bug 1833854 - Part 1: Remove the unused JSGC_PRETENURE_GROUP_THRESHOLD GC parameter r=sfink
This has been unused since we removed object groups.

Differential Revision: https://phabricator.services.mozilla.com/D178524
2023-05-22 14:31:40 +00:00
Alexandre Lissy 8f220f2f7f Bug 1834303 - Try harder for library preloading on Utility r=gsvelto
Depends on D178657

Differential Revision: https://phabricator.services.mozilla.com/D178658
2023-05-22 14:27:08 +00:00
Alexandre Lissy f59939bbf1 Bug 1834301 - Explicitely mark OOM when we suspect it r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D178657
2023-05-22 14:27:07 +00:00
Narcis Beleuzu 38309ac567 Backed out changeset 08b45202b9c7 (bug 1631828) for mochitest failres on runreftest.py . CLOSED TREE 2023-05-22 17:42:25 +03:00
Narcis Beleuzu 3eca53acc3 Backed out changeset e2e3b5157913 (bug 1834071) for python failures 2023-05-22 17:40:38 +03:00
Julian Descottes 027251d764 Bug 1832028 - [wdspec] Add test for NoSuchElement error with input.ElementOrigin r=webdriver-reviewers,jgraham
Depends on D178185

Differential Revision: https://phabricator.services.mozilla.com/D178186
2023-05-22 14:05:28 +00:00
Julian Descottes 548bf8633f Bug 1832028 - [bidi] Throw NoSuchElement if ElementOrigin's node is not an element r=webdriver-reviewers,whimboo
At the moment the actions module would already throw an InvalidArgument error, but for BiDi we want explicitly to throw NoSuchElement in this case.

Differential Revision: https://phabricator.services.mozilla.com/D178185
2023-05-22 14:05:27 +00:00
Emilio Cobos Álvarez 90a78fbbbb Bug 1834071 - Allow disabling thread-safety analysis. r=firefox-build-system-reviewers,sergesanspaille
This doesn't change behavior, it just adds an option to disable
thread-safety analysis in local builds. I want to measure it in
different machines, and this would be useful for that. It's also useful
to workaround stuff like bug 1833676 which causes my builds to OOM
frequently.

Differential Revision: https://phabricator.services.mozilla.com/D178540
2023-05-22 13:58:39 +00:00
Jon Coppeard ff37ef0d7f Bug 1832937 - Always track nursery string allocations in compiled code r=jandem
When I consolidated the allocation counts I forgot that we always track nursery
string allocations in optimised code as this feeds into the decision to disable
nursery string allocation. This is important for benchmarks like splay which
allocate a lot of long-lived strings.

Differential Revision: https://phabricator.services.mozilla.com/D178456
2023-05-22 13:53:32 +00:00
Johannes J. Schmidt bb1dbfa4c0 Bug 1832490 - make LoginManagerAuthPrompter promts async r=credential-management-reviewers,necko-reviewers,jesup,dimi
to use `addLoginAsync` instead of `addLogin`.

Differential Revision: https://phabricator.services.mozilla.com/D178285
2023-05-22 13:49:59 +00:00
Michael Froman ed04a9501c Bug 1828733 - change example_config_env to default_config_env. r=ng DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D178401
2023-05-22 13:49:02 +00:00
Michael Froman 428f3fa0b0 Bug 1833888 - extract-for-git.py should ignore changes in moz-patch-stack directory. r=ng DONTBUILD
We don't want to track those changes in the github repo since that directory
is a Mozilla only convenience to help with the fast-forward process.

Differential Revision: https://phabricator.services.mozilla.com/D178450
2023-05-22 13:48:26 +00:00
Joel Maher d8f4edcb58 Bug 1631828 - use mozilla reason when we have a crash, and track by crash, not test. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D177850
2023-05-22 13:21:57 +00:00
Julian Descottes ee0fc21376 Bug 1754695 - Use font-variant-numeric: tabular-nums for occurrences counter r=nchevobbe,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178214
2023-05-22 13:04:31 +00:00
ffxbld 23763243c0 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,pascalc
Differential Revision: https://phabricator.services.mozilla.com/D178630
2023-05-22 12:56:04 +00:00
Dan Robertson afa164a2c1 Bug 1832598 - Default enable smooth scrolls when resisting fingerprinting. r=tjr,botond
When resist fingerprinting is set, ensure that general.smoothScroll has
a resonable default set.

Differential Revision: https://phabricator.services.mozilla.com/D177915
2023-05-22 12:46:47 +00:00
Narcis Beleuzu b478ee87ef Bug 1833606 - Add expectancy for popover-stacking-context.html r=aryx CLOSED TREE 2023-05-22 16:56:44 +03:00
Narcis Beleuzu d6464873cf Backed out changeset 87f0c3b8a317 (bug 1810582) for bustages on nsConsoleService.cpp . CLOSED TREE 2023-05-22 16:14:43 +03:00
Vincent Hilla 400e875b6d Bug 1108425 - Fix dir=auto for textarea with rtl text. r=smaug
I copy-pasted all `SetDirectionFromValue`-related parts from HTMLInputElement to HTMLTextAreaElement

Differential Revision: https://phabricator.services.mozilla.com/D176999
2023-05-22 12:35:01 +00:00
Tooru Fujisawa 4f180f0ed1 Bug 1492090 - Part 9: Use UTF-8 in module ThrowResolutionError. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D151453
2023-05-22 12:28:16 +00:00
Tooru Fujisawa c16595d70c Bug 1492090 - Part 8: Use UTF-8 in ReadGeckoInterpProfilingStack. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D151452
2023-05-22 12:28:16 +00:00
André Bargull 0b9e10d639 Bug 1492090 - Part 7: Add tests for UTF-8 encoding in script file names. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D151451
2023-05-22 12:28:15 +00:00
André Bargull 8c839bf520 Bug 1492090 - Part 6: Use UTF-8 encoding for additional shell and testing functions. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D151450
2023-05-22 12:28:15 +00:00
André Bargull e56b840bda Bug 1492090 - Part 5: Use UTF-8 for script file names. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D151449
2023-05-22 12:28:15 +00:00
André Bargull 5c1fd21f5e Bug 1492090 - Part 4: Add encoding functions to/from UTF-8 to system narrow/wide encoding. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D151448
2023-05-22 12:28:15 +00:00