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

782971 Коммитов

Автор SHA1 Сообщение Дата
Andreas Farre 211f2c33cb Bug 1751156 - Make it more clear when SSWindowState{Ready, Busy} are dispatched. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D136466
2022-01-25 07:59:56 +00:00
stransky 9280044dac Bug 1724385 [Linux] Try to create EGLImage over decoded VA-API video frame r=alwu,emilio,media-playback-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D135460
2022-01-25 07:08:02 +00:00
stransky 1258fa891e Bug 1750389 [Linux] Use DMABuf modifiers for all planes for YUV surfaces r=emilio
Recently DMABuf modifiers are not correctly implemented for YUV surfaces - when a modifier is present we use it
for all planes to create EGLImage.
In this patch we import modifiers for all used YUV planes and use them correctly for particular planes.

Differential Revision: https://phabricator.services.mozilla.com/D136782
2022-01-25 07:03:13 +00:00
stransky 9a0c340858 Bug 1724385 [Linux] Don't set width/height to VADRMPRIMESurfaceDescriptor r=alwu,media-playback-reviewers
Keep VADRMPRIMESurfaceDescriptor width/height as is to avoid EGLImage import failures:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/5851

Differential Revision: https://phabricator.services.mozilla.com/D136726
2022-01-25 07:02:28 +00:00
Mozilla Releng Treescript 7fb9750a14 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
es-MX -> 6c2f8a3e9499bbd56c4d480c9ce7dd2a75381ae3
et -> 3b3d852f8d4e1f88fd9abb5d80bf274e71cf2446
fi -> 6b8b5bd168c64be1926b694089ac8faff3f5f474
ia -> 32d695d33e1cdad0ca7027d927298eb43c4bdc9d
oc -> 3231ec6f06795a7c134cf04da09e728103c324f0
tg -> 74d00f19ab8696d55de01cb711bf1177113082c3
2022-01-25 06:56:48 +00:00
Ting-Yu Lin 9a07ff37d5 Bug 1751471 - Add a diagnostic preference to always run flex item's final reflow. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D136764
2022-01-25 06:21:08 +00:00
Dzmitry Malyshau 41f4223223 Bug 1750817 - Fix WebGPU device cleanup r=jimb,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D136502
2022-01-25 05:41:40 +00:00
Kelsey Gilbert 5fdc06d164 Bug 1748271 - Make switch exhaustive so we don't assert. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D136835
2022-01-25 04:46:25 +00:00
alwu 66051b2f82 Bug 1713276 - part5 : don't use shmem textures for 10bits videos on Windows. r=media-playback-reviewers,stransky
Differential Revision: https://phabricator.services.mozilla.com/D136683
2022-01-25 02:45:02 +00:00
alwu 92bf322bb2 Bug 1713276 - part4 : adjust fuzzy range for some reftests. r=gfx-reviewers,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D134352
2022-01-25 02:45:01 +00:00
alwu 9fcb61bdc3 Bug 1713276 - part3 : correct warning message. r=stransky,media-playback-reviewers
ffmpeg decoder can also be used for VPX (and AV1 in the future), so remove 'h264' wording in the warning message.

Differential Revision: https://phabricator.services.mozilla.com/D134351
2022-01-25 02:45:00 +00:00
alwu ba89184169 Bug 1713276 - part2 : add verbose log level for FFmpegLog and AudioTrimmerLog. r=stransky,bryce,media-playback-reviewers
Change some less important debugs to verbose so that we can use DEBUG level to focus more important things.

For AudioTrimmer, this will help to reduce huge useless logs if audio doesn't need to be trimmed.

Differential Revision: https://phabricator.services.mozilla.com/D134350
2022-01-25 02:44:59 +00:00
alwu 72bf19ec27 Bug 1713276 - part1 : allocate shmem for ffmpeg to store decoded data directly. r=stransky,gfx-reviewers,sotaro,jgilbert,media-playback-reviewers
This implements a customized buffer allocator for ffmpeg decoder to allow it to store decoded data on shmem, so decoded data can be shared with the compositor process without doing extra copy.

As ffmpeg decoder needs a special alignment which will be larger than the actual image, we would need to crop the planes by telling plane descriptor correct place size in order to display image correctly.

Otherwise, showing a larger image causes visible incorrect border on the right and bottom of the actual image.

This will help improve the performance of software decoding while using ffmpeg and ffvpx, which is about h264 and vpx on Linux, vpx on Windows and MacOS.

Inaddition, Here is a result [1] showing that how much improvement using shmem can help.

[1] https://bit.ly/3dy4rya

Differential Revision: https://phabricator.services.mozilla.com/D130220
2022-01-25 02:44:59 +00:00
Masayuki Nakano 12906aa987 Bug 1750588 - Make `AutoBlockElementsJoiner` handle deletion even when there is no ancestor block element of start or end range boundary r=m_kato
`HTMLEditor` assumes that inline elements cannot have block elements.  However,
it's not so if it's created by DOM APIs like `Node.appendChild` or making a
custom element an editing host.

Therefore, it's not unexpected case that only start or end of a range does not
have a block ancestor element.  So this patch makes `AutoBlockElementsJoiner`
not stop handling the deletion in the case.

Differential Revision: https://phabricator.services.mozilla.com/D136698
2022-01-25 02:37:50 +00:00
Micah Tigley f982fe8d5b Bug 1750998 - Enable loading site-specific wrapper scripts on debug builds. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D136739
2022-01-25 02:04:01 +00:00
Emily McMinn aa17a27a98 Bug 1744467 - A11y review updates for More From Mozilla r=preferences-reviewers,fluent-reviewers,pdahiya,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D136422
2022-01-25 02:01:41 +00:00
Markus Stange a4ae35ff54 Bug 1751687 - Return early from validRequestorForSendType if it's called on a non-main thread. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D136800
2022-01-25 00:24:19 +00:00
Timothy Nikkel 24844705a8 Bug 1750850. Remove the code that tracks "active layers" from changes made in scroll handlers. r=mstange
This was added in bug 1201330 but with WR isn't really needed anymore and the code causes the expiration timer to fire until the scroll frame becomes inactive (the most common scroll frames stay active, ie root scroll frames).

Differential Revision: https://phabricator.services.mozilla.com/D136806
2022-01-24 23:39:07 +00:00
Barret Rennie e1efc0b3a5 Bug 1751761 - Use correct interface when getting cwd from dirsvc in getHSTSPreloadList.js r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D136778
2022-01-24 23:06:08 +00:00
Emilio Cobos Álvarez 574d41e30e Bug 1751733 - Refactor condition for readability in browser_tabopen.js. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D136783
2022-01-24 22:57:58 +00:00
Marian-Vasile Laza 428ca6d483 Backed out changeset 2f4c63b2e472 (bug 1748524) for causing xpcshell failures on test_ext_alarms.js. CLOSED TREE 2022-01-25 01:26:30 +02:00
ffxbld f340974921 No Bug, mozilla-central repo-update HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D136719
2022-01-24 22:46:16 +00:00
Neel Chauhan 3de1c27383 Bug 1740626: Remove NeedsCallerType from MimeTypeArray.webidl r=saschanaz,emilio
Differential Revision: https://phabricator.services.mozilla.com/D136794
2022-01-24 22:39:30 +00:00
Mitchell Hentges 16f2e5f5b2 Bug 1751284: Assert for `distutils` during Mach initialization r=ahal
Our platform-specific `bootstrap` code transitively depends on
the standard library's `distutils` module, but Debian Linux and derived
distros generally split `distutils` into a separate installable OS
package from `python3` itself.

So, Python 3 being able to run isn't a sufficient guarantee that
`distutils` is available.

To catch this case, add a `distutils` check at the very beginning of
Mach initialization.

-----

Also remove an obsolete comment claiming that `mach bootstrap` doesn't
need `distutils`, which was obsoleted by Bug 1717051.

Differential Revision: https://phabricator.services.mozilla.com/D136639
2022-01-24 22:35:25 +00:00
Caroline Cullen f63072f1ec Bug 1750496 - Remove congruent_to for MStringSplit. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D136282
2022-01-24 22:13:14 +00:00
Matthew Gregan 9d6abb5570 Bug 1750938 - Disable AudioIPC on macOS until known issues are resolved. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D136792
2022-01-24 22:06:51 +00:00
Kelsey Gilbert e9f84afa4e Bug 1751765 - Clarify usage of dom/media/test/reftest/gen_combos.py. r=bradwerth DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D136780
2022-01-24 21:53:43 +00:00
Marian-Vasile Laza cc75be3e5c Merge mozilla-central to autoland. a=merge CLOSED TREE 2022-01-24 23:43:54 +02:00
Marian-Vasile Laza 02bd3e02b7 Merge autoland to mozilla-central. a=merge 2022-01-24 23:40:54 +02:00
Ryan Hunt d3f1d13b2f Bug 1751554 - wasm: Skip phi fixup when wasm-eh is not compiled in. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D136754
2022-01-24 21:37:29 +00:00
Chris H-C c1dba0cf9d Bug 1751241 - Ensure CPU and GPU time measurements fit in instrumentation r=florian,janerik
Differential Revision: https://phabricator.services.mozilla.com/D136652
2022-01-24 21:26:43 +00:00
Chris H-C b17fa7492e Bug 1751241 - If Glean's given large or negative values, don't mirror them to Telemetry r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D136532
2022-01-24 21:26:42 +00:00
Shane Caraveo 4f1aaf708b Bug 1748524 sleep/waken functionality for background, restartable via persistent events r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D135812
2022-01-24 21:18:28 +00:00
Emilio Cobos Álvarez a5779bc197 Bug 1751674 - Appease eslint.
MANUAL PUSH: Trivial tweak CLOSED TREE
2022-01-24 22:18:06 +01:00
Emilio Cobos Álvarez 7aa9538490 Bug 1751674 - Fix a couple issues with my patch for bug 1750395. r=agi
We had zero coverage for this, apparently. Upon writing tests, the only
test we had for this was `@Ignore`d :(

Write better tests for this. Add tests for <select multiple> which I
broke because the mozshowdropdown events only fire for dropdown selects.

I'm sorry anyways, I should've tested manually, but I was traveling and
found issues when trying to do an artifact build so I relied on try, oh
well.

Differential Revision: https://phabricator.services.mozilla.com/D136772
2022-01-24 21:07:41 +00:00
Gijs Kruitbosch a50993ab54 Bug 1751772 - remove unused declaration of PrincipalAllowsL10n from nsContentUtils, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D136787
2022-01-24 21:06:27 +00:00
Chun-Min Chang 75f2eecb54 Bug 1751443 - Add MockCubeb::DestroyDeviceCollection r=padenot
Move implementation of cubeb_mock_device_collection_destroy to cpp file

Depends on D136642

Differential Revision: https://phabricator.services.mozilla.com/D136643
2022-01-24 20:53:40 +00:00
Chun-Min Chang 15019602e8 Bug 1751443 - Fix style r=padenot
Depends on D136641

Differential Revision: https://phabricator.services.mozilla.com/D136642
2022-01-24 20:53:40 +00:00
Chun-Min Chang db72b392bc Bug 1751443 - Correct MockCubeb's device_collection_destroy r=padenot
The `cubeb_device_collection.count` should be set to `0` in the
`cubeb_device_collection_destroy`.

Depends on D136629

Differential Revision: https://phabricator.services.mozilla.com/D136641
2022-01-24 20:53:39 +00:00
Chun-Min Chang 2e134aef3a Bug 1751443 - Don't count 0-channel device in AudioDeviceSet r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D136629
2022-01-24 20:53:39 +00:00
Barret Rennie f9a2e4cbd1 Bug 1745427 - Do not eagerly fetch non-requested directories in PathUtils r=nika
PathUtils.getTempDir() was failing in xpcshell tests for two reasons:

1. It was requesting NS_APP_CONTENT_PROCESS_TEMP_DIR, which resolves to
   `ContentTmpD`, which the directory provider did not have an entry for.
2. By default, XPC shell tests do not have a profile set up, so when we request
   the temporary directory and eagerly fetch the profile directory, we would fail.

We now only fetch the entry for the single directory that is requested to work
around these edge cases in tests. xpcshell has been modified so that requests
for the `ContentTmpD` are forwarded to requests for the regular OS temporary
directory.

Differential Revision: https://phabricator.services.mozilla.com/D134877
2022-01-24 20:48:10 +00:00
Mike Kaply 0f2af8604b Bug 1632058 - Always get distribution values from default prefs. r=preferences-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D93805
2022-01-24 20:46:38 +00:00
Matthew Gaudet fee7bd0abf Bug 1751501 - DOM Writable Streams need to be disabled by preference to ship DOM Readable Streams. r=evilpie,emilio
Differential Revision: https://phabricator.services.mozilla.com/D136762
2022-01-24 20:43:56 +00:00
Sebastian Hengst 2879b1eb14 Bug 1620520 - update webaudio test expectation with permanent Linux 32-bit failures. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D136774
2022-01-24 20:08:54 +00:00
Randell Jesup acfbcd62fe Bug 1747261: enable ServiceWorker process-isolation for all domains r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D134505
2022-01-24 19:38:01 +00:00
Gavin Suntop e27a6d1ff0 Bug 1751752 - Fix webpack warning r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D136766
2022-01-24 19:35:39 +00:00
Emilio Cobos Álvarez 8adece8a5b Bug 1751723 - Fix ComputeColorSchemeSetting to stop assuming 0 == Light. r=stransky
This was needed before bug 1751432 but isn't anymore, and can cause
issues. If the system GTK theme is dark we should arguably not switch to
light in that case.

Differential Revision: https://phabricator.services.mozilla.com/D136752
2022-01-24 19:20:49 +00:00
Mozilla Releng Treescript de9b832460 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
en-CA -> 395a911d757bbc5cdef255014e5d9ae6a0684648
es-AR -> f1d2b95d044c6bf81d2b7cf06bd3fd465a5b52ac
hu -> f8db286b82c2798dc8e7cd2d609c6c29cd882de9
hye -> cb326dedd6ebc77b2ec1c7f37966a097e4fdff80
uz -> 1aa8a6ec95bb40acbfd8569d820471d3889675e4
2022-01-24 19:06:00 +00:00
Miko Mynttinen fc624b1464 Bug 1751742 - Enable stacking context display item reuse in Nightly r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D136760
2022-01-24 18:51:42 +00:00
Jens Stutte 22a8e29a72 Bug 1751673: Update archlinux.ensure_nasm_packages parameter list. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D136716
2022-01-24 18:32:46 +00:00