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

828636 Коммитов

Автор SHA1 Сообщение Дата
Updatebot 861fb9abfc Bug 1813363 - Update PDF.js to 5620456072246f4f9f9eda37137b580863e6526c r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D168205
2023-01-29 13:11:42 +00:00
Mozilla Releng Treescript 64cc662168 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
lo -> 725818c7e19cc0fc9ab8afc2ec7f0eeff954aa33
pa-IN -> 8920a5f41f45ee95927e62f529a090a30d70445a
zh-CN -> 46a6743a6404ec576a6edf11a3faba7ab8203e61
2023-01-29 07:01:44 +00:00
Iulian Moraru fb1e6d6e57 Backed out 7 changesets (bug 1704500) for causing bc failures on browser_utility_geolocation_crashed.js. CLOSED TREE
Backed out changeset afcc1e8b5ad7 (bug 1704500)
Backed out changeset 1c27f9c36fda (bug 1704500)
Backed out changeset c0f0a280aaea (bug 1704500)
Backed out changeset 4be2d58ddf54 (bug 1704500)
Backed out changeset 1386732459ce (bug 1704500)
Backed out changeset 88e8015e1ec4 (bug 1704500)
Backed out changeset d96e810e20ec (bug 1704500)
2023-01-29 03:17:48 +02:00
Dale Harvey 5e2cc8e1ea Bug 1812152 - Add pref to control minimum chars needed to match quickaction. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D167713
2023-01-28 23:12:43 +00:00
Emilio Cobos Álvarez e7fa71f013 Bug 1813303 - Clean up nsIWidget::SetNonClientMargins usage. r=spohl
Make it take a const reference and simplify callers.

No behavior change, but noticed while looking through this code.

Differential Revision: https://phabricator.services.mozilla.com/D168199
2023-01-28 21:43:47 +00:00
Emilio Cobos Álvarez 604d8268b2 Bug 1813046 - Simplify scrollbar sizing code. r=spohl
This removes the capability of having differently-sized vertical and
horizontal scrollbars (which is only potentially used in windows, and in
practice almost-never used). For that case, we choose the larger of
vertical/horizontal scrollbar sizes.

This is in order to be able to realistically expose the scrollbar size
to CSS, see blocked bug.

We make RecomputeScrollbarParams the central place where each scrollbar
style decides its sizes, and make GetDPIRatioForScrollbarPart handle the
cocoa special-case of scaling to 1 or 2, but nothing else.

Differential Revision: https://phabricator.services.mozilla.com/D168080
2023-01-28 21:35:51 +00:00
David Parks 6c0bec1169 Bug 1704500: Test Windows geolocation utility process restart on crash r=gerard-majax
Make sure that the geolocation utility process restarts for georequests that arrive after a crash. This tests process behavior regardless of whether or not the OS is set to allow geolocation (and in automation, it is not).

Depends on D162944

Differential Revision: https://phabricator.services.mozilla.com/D162945
2023-01-28 21:00:50 +00:00
David Parks 1a3ddd6ba2 Bug 1704500: Add utility process test helpers r=gerard-majax
Also makes the existing utility process test functions a bit more general.

Depends on D162943

Differential Revision: https://phabricator.services.mozilla.com/D162944
2023-01-28 21:00:50 +00:00
David Parks 7e4c5e8fba Bug 1704500: Make UtilityActorName an alias for WebIDLUtilityActorName r=gerard-majax
This eliminates a redundant enum that we had to keep synchronized with another.

Depends on D155020

Differential Revision: https://phabricator.services.mozilla.com/D162943
2023-01-28 21:00:50 +00:00
David Parks 2e532442b3 Bug 1704500: Run Windows' ILocation provider in a utility process r=emilio,cmartin
Previously, the ILocation COM object ran in the main process.  Due to a race condition, it would sometimes crash the process so we are moving it to a utility process, where it can crash safely.  The old WindowsLocationProvider class has become a proxy that forwards requests to the child process via the PWindowsLocation parent actor.  The PWindowsLocationChild executes the requests and sends the results back.  Failures in ILocation (like geolocation being off in Windows settings) are sent back as well -- they will cause the WindowsLocationProvider to start the MLS geolocation fallback, as they did before.

Additionally, this patch caches the accuracy setting in order to guarantee the proper accuracy is set when requesting reports.  Previously, we called SetHighAccuracy too early and it was silently not set (bug 1773456).

Depends on D155019

Differential Revision: https://phabricator.services.mozilla.com/D155020
2023-01-28 21:00:49 +00:00
David Parks 991d5334e4 Bug 1704500: Use structs to normalize utility process sandbox code r=gerard-majax,bobowen
Adds UtilitySandboxProps, which abstract the more universal sandbox properties into a data object so that the various types of utility process can simply list them. This also adds a somewhat weak sandbox for the new "WindowsUtils" utility process type.

Depends on D155018

Differential Revision: https://phabricator.services.mozilla.com/D155019
2023-01-28 21:00:49 +00:00
David Parks 6161ee57c1 Bug 1704500: Add WindowsUtils kind of utility process on Windows r=gerard-majax,ipc-reviewers,nika
Adds a new type of utility process that is set up to handle Windows OS objects.  We are adding this process type to run Windows geolocation APIs but more services are expected to be included in it.  The ILocation APIs have a race condition that would otherwise crash the main process.  The ILocation work is in a later patch in the series.

Depends on D155017

Differential Revision: https://phabricator.services.mozilla.com/D155018
2023-01-28 21:00:48 +00:00
David Parks b2d24d88ba Bug 1704500: Add logging to UtilityProcessHost/Manager r=gerard-majax
Adds a "utilityproc" log to trace utility process launch and shutdown steps.

Differential Revision: https://phabricator.services.mozilla.com/D155017
2023-01-28 21:00:48 +00:00
Dana Keeler 27a6bf7e5d Bug 1813277 - regenerate expiring test certificates for 2023 r=jschanck
Depends on D168186

Differential Revision: https://phabricator.services.mozilla.com/D168187
2023-01-28 20:26:41 +00:00
Dana Keeler 7b68ee0cfc Bug 1813279 - re-enable tests that were disabled unconditionally by bug 1805919 r=jschanck
Bug 1805919 skipped tests that fail in MSIX builds, but inadvertantly
unconditionally skipped a number of tests.

Differential Revision: https://phabricator.services.mozilla.com/D168186
2023-01-28 20:26:40 +00:00
Ting-Yu Lin 29bbc7d7b8 Bug 1812601 - Add a null check in AccessibleCaretManager::ProvideHapticFeedback(). r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D168173
2023-01-28 20:18:47 +00:00
Sergey Galich dc541fea40 Bug 1748065 - Do not leak password length when password is concealed. r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D134912
2023-01-28 19:16:03 +00:00
Mozilla Releng Treescript bc79216acf no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
fur -> 4a58171c0c92d255de150c080828561849a156af
he -> 82a304479cb0c2eb447da1e4dd1b02111581832a
ko -> 3c8856e3612fd51d6fedd6e67736cf03eaf7c0c3
skr -> 12562982425b048ec550917fcbc094857dd7aabd
zh-TW -> 23493c8e3da10596719f943affa78005f37f1f54
2023-01-28 19:05:13 +00:00
Dão Gottwald 98f679da17 Bug 1811870 - Enable urlbar result menu in Nightly. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D167693
2023-01-28 14:22:46 +00:00
Jonathan Kew 11a4f4323e Bug 1808995 - Add counter-style prefix/suffix testcase including a cyclical fallback chain. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D168051
2023-01-28 14:06:16 +00:00
Jonathan Kew b05f032672 Bug 1808995 - Add a testcase for counter-style suffix fallback when outside the custom style's range. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D167411
2023-01-28 14:06:15 +00:00
Jonathan Kew 740935bf3f Bug 1808995 - Fix WPT testcases that do not properly account for counter-style fallback behavior of prefix/suffix descriptors. r=emilio
Per spec, "If a counter style is used to represent a counter value outside of its ranges,
the counter style instead drops down to its fallback counter style."

  https://www.w3.org/TR/css-counter-styles-3/#counter-style-range
  https://www.w3.org/TR/css-counter-styles-3/#counter-style-fallback

Some existing tests incorrectly assumed that a prefix or suffix from a custom rule will still apply
even when the counter value is not in range. That would mean "fallback" is only partial, using
the symbols/system from the fallback style mixed with the prefix/suffix of the originally-specified
style, which prevents use-cases like that in bug 1808995 working as expected.

Differential Revision: https://phabricator.services.mozilla.com/D167410
2023-01-28 14:06:15 +00:00
Jonathan Kew 1cad3c6c0a Bug 1808995 - Handle @counter-style fallback behavior for the prefix and suffix descriptors. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D167409
2023-01-28 14:06:12 +00:00
Denis Palmeiro 2cc510749b Bug 1811355: Split Trampoline JitCode into separate symbols during PerfSpewer r=iain
Differential Revision: https://phabricator.services.mozilla.com/D167682
2023-01-28 13:48:57 +00:00
Lee Salzman 5203daccb2 Bug 1812970 - Avoid using Skia's deprecated clip ops. r=jrmuizel
Skia upstream removed deprecated clip ops that could be used to replace
the clipping stack and bypass clips. We shouldn't really need to do this
anymore, as we can work around it just using public APIs.

The only SkCanvas operation that allows us to bypass clipping is
writePixels, which still allows us to implement CopySurface/putImageData.

Other instances where we were using the replace op for DrawTargetWebgl
layering support can just be worked around by creating a separate
DrawTargetSkia pointing to the same pixel data, but on which no clipping
or transforms are applied so that we can freely do drawing operations
on it to the base layer pixel data regardless of any user-applied clipping.

Differential Revision: https://phabricator.services.mozilla.com/D168039
2023-01-28 11:24:54 +00:00
Jim Blandy 80239efd28 Bug 1799753: Use CopyUTF16toUTF8 for strings destined for `cow_label`. r=ErichDonGubler
In WebGPU, entry point names and labels from types like
`GPUComputePipelineDescriptor` eventually get turned into Rust `&str` values.

The prior code used `LossyCopyUTF16ToASCII` to produce `nsCString`s from the
`nsString`s received from the WebIDL bindings, and then passed the resulting
bytes to Rust `std::ffi::CStr::to_str`. Unfortunately, that "ASCII" actually
means Latin-1, so if the entry point named happened to be representable in
Latin-1 that happened not to be valid UTF-8, `wgpu_bindings::cow_label` would
return `None`, leading to a panic when unwrapped by
`wgpu_bindings::client::ProgrammableStageDescriptor::to_wgpu`.

The fix: just call `CopyUTF16ToUTF8` instead. This should always produce bytes
that `CStr::to_str` can consume. The WebIDL for WebGPU uses `USVString` for
entry point names and labels, so these values should never contain unpaired
surrogate code points, meaning that conversion should always succeed.

Differential Revision: https://phabricator.services.mozilla.com/D168188
2023-01-28 07:47:17 +00:00
Mozilla Releng Treescript ea56e35fd2 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
en-GB -> 1da5446d2f1d3bb17d983ab5fe877e1aa9818c0c
lo -> 472c42fd56d2e5de61395ca820e1f2dbfb361994
pa-IN -> 238a77fbd4166cfc763fccd2b2525d09769d7c4d
pt-BR -> 29fc85ba4271afc36f439095c6bcc5b8b239caab
tg -> d5c24580b5c2304bab90574c720d169799405e4c
2023-01-28 07:01:03 +00:00
Michael Froman 24f04e9108 Bug 1813249 - pt3 - add script to push the official branch to moz-libwebrtc. r=dbaker DONTBUILD
Depends on D168170

Differential Revision: https://phabricator.services.mozilla.com/D168171
2023-01-28 01:32:26 +00:00
Michael Froman b03a1f8bbc Bug 1813249 - pt2 - add MOZ_LIBWEBRTC_OFFICIAL_BRANCH to template in write_example_config.py. r=dbaker DONTBUILD
Depends on D168169

Differential Revision: https://phabricator.services.mozilla.com/D168170
2023-01-28 01:32:26 +00:00
Michael Froman e6ab3ff0cf Bug 1813249 - pt1 - add new official branch name to example_config_env. r=dbaker DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D168169
2023-01-28 01:32:25 +00:00
Michael Froman c9ec927935 Bug 1813234 - require NEW_BUG_NUMBER when calling update_example_config.sh. r=dbaker DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D168167
2023-01-28 01:32:17 +00:00
Andreas Pehrson 8a2eab74eb Bug 1812981 - Remove libwebrtcglue/VideoTypes.h. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D168046
2023-01-27 23:33:04 +00:00
Chun-Min Chang c8ac866bec Bug 1786366 - Apply local patches to libvpx r=webrtc-reviewers,ng
Run `./mach vendor media/libvpx/moz.yaml --patch-mode=only` as what
media/libvpx/README_MOZILLA said.

Depends on D168145

Differential Revision: https://phabricator.services.mozilla.com/D168146
2023-01-27 23:30:54 +00:00
Chun-Min Chang bf9cacf0c3 Bug 1786366 - Update input_frame_validation_vp9.patch r=webrtc-reviewers,ng
There is a slight change in vp9_cx_iface.c in the previous update, so
our corresponding local patch needs to be updated as well.

Depends on D168144

Differential Revision: https://phabricator.services.mozilla.com/D168145
2023-01-27 23:30:54 +00:00
Chun-Min Chang 48c201662f Bug 1786366 - Vendor libvpx r=webrtc-reviewers,ng
Run `./mach vendor media/libvpx/moz.yaml --patch-mode=none` as what
media/libvpx/README_MOZILLA said.

The updated libvpx revision is 5c38ffbfa3aba5ea4d8d0ae05a50cc76ec99bed9.

Differential Revision: https://phabricator.services.mozilla.com/D168144
2023-01-27 23:30:53 +00:00
Otto Länd 24b4aad2da Bug 1811634: apply code formatting via Lando
# ignore-this-changeset
2023-01-27 23:22:44 +00:00
Brad Werth 022da2c83c Bug 1811634 Part 2: Ignore known memory leaks in Windows chrome tests. r=jmaher
Depends on D167470

Differential Revision: https://phabricator.services.mozilla.com/D167831
2023-01-27 23:19:49 +00:00
Brad Werth 45651b1254 Bug 1811634 Part 1: Deal with spurious wakeups in WinCompositorWindowThread::ShutDown. r=rkraesig
Differential Revision: https://phabricator.services.mozilla.com/D167470
2023-01-27 23:19:48 +00:00
Brad Werth a66c569567 Bug 1423833: Give WinWindowOcclusionTracker safe shutdown timeout semantics. r=rkraesig
This follows similar shutdown timeout logic as used in
WinCompositorWindowThread. It waits a reasonable amount of time, but will
leak memory "safely" if timeout occurs, without crashing. This behavior is
difficult to trigger in testing, but modifying the
WindowOcclusionCalculator::Shutdown() method to include a long sleep
confirms that the browser will still shutdown without hanging, and will
leak the expected memory.

Differential Revision: https://phabricator.services.mozilla.com/D167464
2023-01-27 23:19:08 +00:00
John Schanck 1c2bfe5620 Bug 1804972 - upgrade to authenticator 0.4.0-alpha.7. r=supply-chain-reviewers,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D168157
2023-01-27 22:52:30 +00:00
june wilde 9f7926a306 Bug 1812046 - add missing ac_add_options directive to debugging macos docs; r=haik
Differential Revision: https://phabricator.services.mozilla.com/D167663
2023-01-27 22:35:33 +00:00
John Schanck 3fec72ab36 Bug 1811156 - Update WebAuthn probes expiring in Firefox 112. r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D167462
2023-01-27 22:07:47 +00:00
Chun-Min Chang 3dd5b757cf Bug 1802304 - Update dav1d to 188dfc89f21ed00e084e4a519a581df5f2ceb35d r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D168149
2023-01-27 21:54:24 +00:00
sotaro d55f5ec846 Bug 1810097 - Support AHardwareBuffer of out-of-process WebGL on Android r=lsalzman,gfx-reviewers
Modify AHardwareBuffer implementation as to support gl::SharedSurface of out-of-process WebGL. And remove unused AHardwareBuffer implementation.

By limiting AHardwareBuffer only in GPU process, AHardwareBuffer implementation becomes simpler. We do not need to handle cross process AHardwareBuffer delivery and cross process android Fence delivery.

Differential Revision: https://phabricator.services.mozilla.com/D167911
2023-01-27 21:35:26 +00:00
zaggy1024 28e4d70143 Bug 1788119 - Part 5 - Add tests for animated AVIF files. r=tnikkel
Depends on D156653

Differential Revision: https://phabricator.services.mozilla.com/D166703
2023-01-27 21:25:51 +00:00
zaggy1024 3a3cae761c Bug 1788119 - Part 4 - Update mp4parse-rust for AVIS support. r=kinetik,glandium,supply-chain-reviewers
Depends on D156652

Differential Revision: https://phabricator.services.mozilla.com/D156653
2023-01-27 21:25:51 +00:00
zaggy1024 3dc9e90e9a Bug 1788119 - Part 3 - Add initial support for animated AVIF sequences. r=tnikkel
Depends on D156651

Differential Revision: https://phabricator.services.mozilla.com/D156652
2023-01-27 21:25:50 +00:00
zaggy1024 811aa7d74b Bug 1788119 - Part 2 - Rename dom/media/mp4/Index.h's Index class to MP4SampleIndex to prevent name conflicts. r=media-playback-reviewers,alwu
Depends on D156650

Differential Revision: https://phabricator.services.mozilla.com/D156651
2023-01-27 21:25:48 +00:00
zaggy1024 8d70b2d53e Bug 1788119 - Part 1 - Keep parser and decoder instances persistent in nsAVIFDecoder. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D156650
2023-01-27 21:25:48 +00:00
Michael Froman 4103c3e0f8 Bug 1813181 - cleanup logging in loop-ff.sh. r=dbaker DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D168156
2023-01-27 21:24:10 +00:00