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

857053 Коммитов

Автор SHA1 Сообщение Дата
Jon Coppeard 9bb856e20b Bug 1855376 - Free stacks of extra parallel markers between GCs r=sfink
We currently keep all mark stacks allocated after GC, shrunk to their default size.

For parallel marking we can free the mark stacks of all markers apart from the
first. If we fail to allocate them at the start of marking we can fall back to
not marking in parallel.

This fixes the AWSY regression.

The patch also changes GCMarker::reset() to cover everything that happens in
GCMarker::stop() so you don't need to call both.

Differential Revision: https://phabricator.services.mozilla.com/D189342
2023-09-28 06:48:34 +00:00
Adam Vandolder 226c8aba6a Bug 1685926 - Group disconnected radio buttons together. r=saschanaz,smaug
Differential Revision: https://phabricator.services.mozilla.com/D162349
2023-09-28 06:35:44 +00:00
sotaro 4e0db835b2 Bug 1855598 - Split GpuProcessD3D11TextureMap class to its own file r=gfx-reviewers,lsalzman
Preparation for Bug 1855277.

Differential Revision: https://phabricator.services.mozilla.com/D189448
2023-09-28 05:07:06 +00:00
Natalia Csoregi a03097876a Backed out 3 changesets (bug 1848282) for causing gv-junit failures. CLOSED TREE
Backed out changeset d1fc71cc3817 (bug 1848282)
Backed out changeset 3446c1367bfd (bug 1848282)
Backed out changeset c800ae9f7943 (bug 1848282)
2023-09-28 08:03:34 +03:00
Karl Tomlinson ba5d054d2e Bug 1458045 use V0 for exponentialRampToValueAtTime() curve when V0 and V1 have opposite signs or V0 is zero r=padenot
https://github.com/WebAudio/web-audio-api/pull/624

Depends on D189101

Differential Revision: https://phabricator.services.mozilla.com/D189204
2023-09-28 04:13:38 +00:00
Makoto Kato 9e1a48232e Bug 1848282 - Part 3. a11y's word segmenter should reference layout.word_select preferences. r=morgan
We need to consider `layout.word_select.stop_at_punctuation preference` even if
using new segmenter.

Differential Revision: https://phabricator.services.mozilla.com/D188786
2023-09-28 04:11:06 +00:00
Makoto Kato c88a7388e1 Bug 1848282 - Part 2. FindWord adds an option whether segment is punctuation. r=TYLin
This fix adds stop at punctuation mode for FindWord for a11y.

Also, IS_ASCII is conflict with nsUnicharUtils.h's, so I rename it.

Differential Revision: https://phabricator.services.mozilla.com/D188785
2023-09-28 04:11:05 +00:00
Makoto Kato 750893b128 Bug 1848282 - Part 1. Move IsPunctuation to nsUnicharUtils. r=TYLin
Remove duplication code.

Differential Revision: https://phabricator.services.mozilla.com/D188784
2023-09-28 04:11:05 +00:00
Masayuki Nakano b0d28aecd5 Bug 1850472 - Make `insertparagraph-with-white-space-style.tentative.html` follow the Chrome's odd behavior r=m_kato,jjaschke
The test just follows the result in Chrome 91.  Referring the style makes sense
to me because it makes users better result in the tricky cases.  However, if
the default paragraph separator is `<p>`, Chrome may wrap `<div>` and `<p>`
which are styled as `display: inline` or something into new `<p>` element.
This means that the builtin editor creates invalid HTML structure by themselves.
Therefore, this should be avoided and `<div>` should be used instead if one or
more elements in the new paragraph cannot be the child of the new paragraph.

Note that `insertParagraph` with `<p>` as `defaultParagraphSeparator` is
tested in `run/insertparagraph.html` a lot.  Therefore, this patch does not
make the test check the normal cases to wrap paragraphs into a new `<p>`.

Differential Revision: https://phabricator.services.mozilla.com/D188908
2023-09-28 01:46:41 +00:00
Cristian Tuns 8c906dc7af Backed out 7 changesets (bug 1853448, bug 1850594) for causing mochitest failures in test_MediaSource_hevc_mp4.html and test_hevc_playback.html CLOSED TREE
Backed out changeset a8770a22fbd2 (bug 1850594)
Backed out changeset cbef3d8b5de8 (bug 1853448)
Backed out changeset dcc60b34e9a9 (bug 1853448)
Backed out changeset c803ab3b6d3c (bug 1853448)
Backed out changeset 4c1f0e5cdd7a (bug 1853448)
Backed out changeset 2b587345da78 (bug 1853448)
Backed out changeset ead3d69aa2f4 (bug 1853448)
2023-09-27 22:14:23 -04:00
Joel Maher 0ccac71b12 Bug 1855195 - fix test-info-all job to have default value of runcount to work on non trunk branches. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D189417
2023-09-27 23:55:19 +00:00
Mike Hommey e83b1f7beb Bug 1854025 - Update tempfile to 3.8.0. r=emilio,supply-chain-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D188654
2023-09-27 23:42:35 +00:00
Mike Hommey 5b68bb600b Bug 1854025 - Vendor rustix. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188653
2023-09-27 23:42:32 +00:00
Mike Hommey 72dafd44a4 Bug 1854025 - Update libc to 0.2.148. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188652
2023-09-27 23:42:31 +00:00
Daniel Holbert 5041ff3d97 Bug 1273714: Remove an imagelib warning that's more spammy than useful at this point. r=tnikkel DONTBUILD
The condition that causes us to warn is typically a web-server configuration
issue, not a Firefox issue; and we handle it gracefully, so there's no real
point in adding to our debug-build terminal warning-spam.

Differential Revision: https://phabricator.services.mozilla.com/D189421
2023-09-27 23:27:13 +00:00
Ryan VanderMeulen 6489b46ed2 Bug 1855550 - VP8: disallow thread count changes. r=jesup
Cherry-pick of upstream libvpx commits:
af6dedd715
3fbd1dca6a

Differential Revision: https://phabricator.services.mozilla.com/D189428
2023-09-27 23:12:23 +00:00
John Schanck 55327e2a59 Bug 1855048 - move webauthn prompt logic from WebAuthnController to authrs_bridge. r=keeler,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D189168
2023-09-27 23:10:10 +00:00
Katherine Patenio 2cefadd427 Bug 1855493 - fix loading animation for shopping sidebar r=shopping-reviewers,niklas
Differential Revision: https://phabricator.services.mozilla.com/D189399
2023-09-27 23:08:40 +00:00
Jared Hirsch 7e70db6c73 Bug 1855545: Avoid an infinite loop in ShoppingUtils.init r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D189420
2023-09-27 20:38:36 +00:00
Emilio Cobos Álvarez f5dcdf7b2d Bug 1855461 - Make sure moz_container_destroy runs on Wayland too. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D189385
2023-09-27 19:57:34 +00:00
Mike Hommey 1ce83241da Bug 1852209 - Switch to bitflags 2 r=supply-chain-reviewers,emilio
We currently are using a fake bitflags 2, derived from bitflags 1. More
and more crates are using it, and we're at a sweet spot where flipping
things around makes sense: using a fake bitflags 1, derived from
bitflags 2.

Differential Revision: https://phabricator.services.mozilla.com/D189316
2023-09-27 19:56:17 +00:00
Mike Hommey e963564f60 Bug 1852209 - Fixup servo for bitflags 2 after bug 1792501. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D189315
2023-09-27 19:56:16 +00:00
Mike Hommey ae28ced110 Bug 1852209 - Avoid using bitflags internals in webrender. r=gfx-reviewers,gw
Differential Revision: https://phabricator.services.mozilla.com/D189314
2023-09-27 19:56:16 +00:00
Mike Hommey 67ebaa8866 Bug 1852209 - Update cubeb-core to 0.10.4. r=media-playback-reviewers,supply-chain-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D189313
2023-09-27 19:56:16 +00:00
Cristian Tuns 8e41e910e6 Backed out changeset d33f18ce6efc (bug 1855048) for causing build bustages with 'is_some_and' CLOSED TREE 2023-09-27 15:52:50 -04:00
Dale Harvey 92e0e04098 Bug 1853456 - Show action correctly in restyled search results. r=dao,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188383
2023-09-27 19:24:19 +00:00
Jared Hirsch ccca000ed0 Bug 1854243 - Display shopping button even after opting out of the experiment. r=shopping-reviewers,niklas
Differential Revision: https://phabricator.services.mozilla.com/D189271
2023-09-27 19:17:31 +00:00
Nika Layzell f6b6fca22f Bug 1851045 - Part 5: Eliminate nsThreadManager's static destructor, r=emilio
This both reduces the number of registered static destructors, and avoids the
assertion in the LinkedList destructor without depending on a StaticAutoPointer
(which requires an allocation & additional indirection) by using the new
NeverDestroyed type from part 4.

Differential Revision: https://phabricator.services.mozilla.com/D189249
2023-09-27 19:14:17 +00:00
Nika Layzell 9411a9ed15 Bug 1851045 - Part 4: Add a NeverDestroyed helper type to MFBT for static local members, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D189248
2023-09-27 19:14:16 +00:00
Nika Layzell 7b8afaf1c9 Bug 1851045 - Part 3: Fix potential issue with late shutdown nsThread creation, r=xpcom-reviewers,KrisWright
This fixes the issue described in comment 7 by doing a few changes to how threads are created, and members on nsThreadManager are managed.

 * The thread list is moved to be a member of `nsThreadManager`, which is
   already a statically allocated singleton.

 * The flag for whether new thread creation is allowed is moved from being an
   atomic to being guarded by the same mutex as the thread list, meaning that
   it could be checked and a new thread could be added to the list atomically.

 * Threads which require shutdown are initialized atomically from the point of
   view of the thread manager, meaning that the check in ShutdownNonMainThreads
   is guaranteed to catch all successfully started nsThread instances.

Differential Revision: https://phabricator.services.mozilla.com/D188623
2023-09-27 19:14:16 +00:00
Nika Layzell be1932f292 Bug 1851045 - Part 2: Clean up manual reference counting for `self` in nsThread, r=xpcom-reviewers,KrisWright
This patch instead replaces this manual reference counting by replacing the raw
pointer in the `ThreadInitData` type with a `RefPtr`.

Differential Revision: https://phabricator.services.mozilla.com/D188622
2023-09-27 19:14:15 +00:00
Nika Layzell fdcee2819e Bug 1851045 - Part 1: Remove unused members from nsThreadManager, r=xpcom-reviewers,KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D188621
2023-09-27 19:14:15 +00:00
Emily McDonough 88868de1be Bug 1853455 - Fix nsIFrame::ComputePageValue to check for page style values, rather than checking the start page value. r=dholbert
Because we use NULL to indicate the auto value, once a page contributes a
non-auto page value then that will be all that is seen by ComputePageValue
when a later page doesn't have a page-name at all.

Actually checking for the page-name value will fix page-name values when
an empty/auto page-name follows pages with a non-auto value. It is also
slightly more efficient, as it avoids a frame property lookup and instead
just looks at the computed style.

While we are here, remove an assert that is clearly not possible to occur
anymore, and add a short explanation of the code in ComputePageValue.

Differential Revision: https://phabricator.services.mozilla.com/D188544
2023-09-27 19:06:17 +00:00
alwu ef1f56945c Bug 1850594 - add Telemetry to know the hardware decoding support status. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D188667
2023-09-27 19:03:19 +00:00
alwu 5bcc2699ae Bug 1853448 - part6 : add MSE hevc test. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D189180
2023-09-27 19:03:18 +00:00
alwu c693488f3d Bug 1853448 - part5 : make HEVC test run on all platforms, but only check playback on Windows. r=media-playback-reviewers,padenot
HEVC playback needs hardware decoding, and it currently only support on
Windows. HEVC playback check would be run when the task is in the
mda-gpu, which has the ability for hardware decoding. On other
platforms, HEVC should not be supported.

We also need to set the pref in the `ini` file, instead of setting it in
file. Because that pref would be checked while creating GPU process,
setting in file would be too late for us.

In addition, interesting thing for HEVC on media engine is that, the
media engine can even play HEVC on the machine which doesn't support
hardware decoding. I suspect that media engine still supports SW HEVC
decoding but just not expose that feature to other applications.

Differential Revision: https://phabricator.services.mozilla.com/D189030
2023-09-27 19:03:18 +00:00
alwu 4df8d0280b Bug 1853448 - part4 : modify pref to allow more flexible strategy for enabling HEVC. r=media-playback-reviewers,padenot
For now, I'd like to only enable HEVC for the media engine playback, but
keep the HEVC default off on the MFT. Because the media engine is an
experimental feature, which is off by default, it's fine to enable HEVC
for that.

Differential Revision: https://phabricator.services.mozilla.com/D188540
2023-09-27 19:03:17 +00:00
alwu c3fcdccc4d Bug 1853448 - part3 : return HEVC support for GPU process. r=media-playback-reviewers,padenot
As now we can support HEVC playback via MFT as well, we should allow GPU
process as well (HEVC hardware decoding performs only in GPU process).

If the HEVC is not supported, the playback would be abort at the stage
of creating a decoder.

Differential Revision: https://phabricator.services.mozilla.com/D188391
2023-09-27 19:03:17 +00:00
alwu f64bc250fa Bug 1853448 - part2 : check if HEVC DXVA decoder exists. r=media-playback-reviewers,padenot
We would only support HEVC playback if HEVC hardware decoding is
available through DXVA.

Decoder GUIDs are listed in Microsoft's document [1].

[1] https://learn.microsoft.com/en-us/windows/win32/medfound/direct3d-12-video-guids

Differential Revision: https://phabricator.services.mozilla.com/D188390
2023-09-27 19:03:17 +00:00
alwu 314bac5c91 Bug 1853448 - part1 : support HEVC in WMF decoder module. r=media-playback-reviewers,padenot
HEVC playback will be supported via the Media Foundation Transform (MFT)
and WMF decoder module will check if there is any avaliable MFT which
can be used for HEVC then reports the support information.

Differential Revision: https://phabricator.services.mozilla.com/D188389
2023-09-27 19:03:16 +00:00
Shane Hughes 46e1a00d59 Bug 1851913 - Remove newtab's explicit meow dependency. r=omc-reviewers,negin
Since stylelint is now a dependency of the project root, and meow is
a dependency of stylelint, we don't need to explicitly list meow as a
dependency of newtab. The project root uses a newer version of meow that
requires some small workarounds to work outside of an ES module, so we
also need to update the newtab scripts that use meow.

Differential Revision: https://phabricator.services.mozilla.com/D187603
2023-09-27 18:59:35 +00:00
Mozilla Releng Treescript c63d887bff no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cs -> 7ed03afa074cbb58a850c1864e96545ff8279fd0
cy -> f83c0cfb045efcc999ac5a296b25244c0a8f92ec
fr -> ebab647f8b76d042d39ec2d1493e6530d08d75c1
gn -> 6954a7763c6257d164613316fe971af373442bb3
it -> b8d152c431c0573bef5957a151d117445e423e17
nb-NO -> 6765bf6d7fe8dcc63bd84d01bb8bb95b7f4ad82b
sl -> a1cef08f6483df81a0fe52357f635154e149ef1c
2023-09-27 19:01:35 +00:00
Morgan Rae Reschenberg 99d3c904f5 Bug 1855310: Add HCM Settings documentation r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D189289
2023-09-27 18:56:31 +00:00
Karl Tomlinson fac530019e Bug 1853597 unswitch loop over AudioParam values for a single event r=padenot
The differences in biquad-automation.html results are because
v1 - v0 is now calculated in double precision.

Differential Revision: https://phabricator.services.mozilla.com/D189101
2023-09-27 18:47:54 +00:00
William Durand e0e9b7dbe1 Bug 1855405 - Add `disableExtensionProcessSpawning()` method to the `WebExtensionController` r=geckoview-reviewers,amejiamarmol,zmckenney
Differential Revision: https://phabricator.services.mozilla.com/D189350
2023-09-27 18:38:30 +00:00
june wilde 73f8201f4f Bug 1801501 - Check if rootDoc is secure context for web compat; r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D175134
2023-09-27 18:19:23 +00:00
Barret Rennie dbc515817d Bug 1855512 - Temporarily disable fxrecord on m-c for outage r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D189402
2023-09-27 18:09:01 +00:00
John Schanck 3a7c853d89 Bug 1855048 - move webauthn prompt logic from WebAuthnController to authrs_bridge. r=keeler,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D189168
2023-09-27 18:04:30 +00:00
Andrew Halberstadt c4188fe732 Bug 1855344 - Enable web-platform-tests-crashtests with Wayland, r=jmaher
The test is already annotated with TIMEOUT in many cases, so this is likely
just a test with too short timeout that is being exceeded on this platform
(possibly due to the VM).

Differential Revision: https://phabricator.services.mozilla.com/D189379
2023-09-27 18:02:21 +00:00
filips 7332079ccc Bug 1854854 - Fix changing window class with attributes on Wayland. r=emilio
This patch fixes `nsWindow::RefreshWindowClass` to call `gdk_wayland_window_set_application_id` to set the application ID (or window class in x11 terminology) when using Wayland. The application ID is set to the value of the `windowclass` attribute if that attribute exists. When the attribute does not exist, the function is not called to keep the default application ID.

Additionally, `nsWindow::Show` has been updated to call `nsWindow::RefreshWindowClass` after the window is shown. This is needed as `gdk_wayland_window_set_application_id` does not work before the window is displayed, and all existing calls to `nsWindow::RefreshWindowClass` happened before the window was shown.

Differential Revision: https://phabricator.services.mozilla.com/D189062
2023-09-27 17:53:09 +00:00