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

914720 Коммитов

Автор SHA1 Сообщение Дата
Chris Peterson 2d846b7c8c Bug 1894147 - Fix C++20 std::memory_order build errors in MPSCQueue.h. r=xpcom-reviewers,emilio
C++20 renamed the `std::memory_order::memory_order_*` enum constants to `std::memory_order::*`.

https://en.cppreference.com/w/cpp/atomic/memory_order

C++17 supports:

`std::memory_order_relaxed`
`std::memory_order::memory_order_relaxed`

But C++20 supports:

`std::memory_order_relaxed`
`std::memory_order::memory_order::relaxed`

Thus, `std::memory_order_relaxed` is the only shared name if we want to support compiling Firefox with -std=c++17 and -std=c++20 as we transition mozilla-central from C++17 to C++20.

Differential Revision: https://phabricator.services.mozilla.com/D208963
2024-04-30 15:37:35 +00:00
Natalia Csoregi ab9ee3940a Backed out 3 changesets (bug 1880503) for causing bustage on CrashReporterHost.h. CLOSED TREE
Backed out changeset 296455072556 (bug 1880503)
Backed out changeset 842611b8fcbc (bug 1880503)
Backed out changeset eae32f6ab26c (bug 1880503)
2024-04-30 18:26:00 +03:00
Jamie Nicol 28108055b6 Bug 1880503 - Handle sync IPC timeout in UiCompositorControllerChild. r=aosmond
Extend the sync IPC timeout mechanism in CompositorManagerChild to
additionally cover UiCompositorControllerChild. As
UiCompositorControllerChild runs on the Android UI thread, we ensure
GPUProcessManager::KillProcess dispatches to the gecko main thread.

Along with the previous patch in this series this should provide us
with crash reports when the Android UI thread is hung waiting for the
GPU process to reply.

Differential Revision: https://phabricator.services.mozilla.com/D202167
2024-04-30 15:06:21 +00:00
Jamie Nicol e4dd0c49fb Bug 1880503 - Generate paired minidump when GPU process is killed following IPC timeout. r=aosmond,gsvelto
When sync IPC under the top-level PCompositorManager protocol does not
reply within a certain time threshold we purposefully kill the GPU
process. While this allows the user to recover from a stuck GPU
process, we have little visibility about the underlying cause.

This patch makes it so that we generate a paired minidump for the GPU
and parent processes prior to killing the GPU process in
GPUProcessHost::KillHard(). The implementation roughly follows the
equivalent for content processes in ContentParent::KillHard().

As the GPU process can be purposefully killed during normal operation,
and because generating minidumps can be expensive, we are careful to
only do so when the new argument aGenerateMinidump is true. We
additionally remove the aReason argument as it is unused (and
currently innacurate in some places).

As these minidumps may not automatically submitted we limit the
minidumps generation to twice per session in order to avoid
accumulating a large number of unsubmitted minidumps on disk.

Differential Revision: https://phabricator.services.mozilla.com/D202166
2024-04-30 15:06:21 +00:00
Jamie Nicol a0b4e7b259 Bug 1880503 - Ensure compositor reinitialization respects intended paused/resumed state. r=geckoview-reviewers,m_kato
When the Android frontend attempts to pause or resume the compositor
there is a chance this may fail. When this happens, the compositor
will automatically be reinitialized. However, it will currently be
reinitialized in the previous state, not the state the frontend
intended. For example, if the compositor fails to resume then it will
be reinitialized but remain in a paused state, displaying a blank
screen to the user.

To avoid this, we update the value of mCompositorPaused prior to
attempting to pause or resume the compositor. This means when
NotifyCompositorCreated eventually gets called, it knows the correct
state in which to initialize the compositor.

Differential Revision: https://phabricator.services.mozilla.com/D202165
2024-04-30 15:06:20 +00:00
Rob Wu cb71ec8344 Bug 1876924 - Accept manifest with "incognito":"split" r=rpl
Before this patch, extensions with "incognito":"split" could not be
loaded at all. With this patch, we accept such extensions, but default
to "not_allowed". This prevents users from installing the extension in
private browsing mode (including permanent private browsing mode), but
at least it enables users to use the extension in regular browsing mode.

Differential Revision: https://phabricator.services.mozilla.com/D199800
2024-04-30 14:54:10 +00:00
Jeff Muizelaar b8f9491ed0 Bug 1894249 - Remove duplicate test. r=xpcom-reviewers,mccr8
This was for testing a variant of ToInteger added in bug 53847
that used slightly different types for its parameters.

That variant was removed in bug 777292 (6e30103582c44ea1ee8c25747bd3bed6671c0011)
but the duplicate test was not.

Differential Revision: https://phabricator.services.mozilla.com/D209016
2024-04-30 14:41:44 +00:00
t-p-white 91200a277c Bug 1893174 - Added microsurvey prompt Compose UI r=android-reviewers,vdreghici
Differential Revision: https://phabricator.services.mozilla.com/D208768
2024-04-30 14:40:35 +00:00
Otto Länd 0f7e245f2c Bug 1889978: apply code formatting via Lando
# ignore-this-changeset
2024-04-30 14:28:38 +00:00
Paul Adenot 5d0aab8f6e Bug 1889978 - FFVPX is now using FFmpeg API 7.0. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D206925
2024-04-30 14:21:47 +00:00
Paul Adenot 7d3f8c040b Bug 1889978 - Make all files using the FFmpeg API compatible with ffmpeg 7.0. r=media-playback-reviewers,alwu
AVCodecContext.channels doesn't exist anymore.
AVCodecContext.ch_layout.nb_channels is the equivalent.

AVFrame.channels also has switched to .ch_layout.nb_channels.

AVFrame.pkt_duration has switched to .duration (same meaning)

AVPacket can't be allocated on the stack, it's size isn't part of the ABI. It
needs to be allocated via av_packet_alloc, and freed using av_packet_free.


AVCodecContext.reordered_opaque doesn't exist anymore, we don't really need it.

Differential Revision: https://phabricator.services.mozilla.com/D206924
2024-04-30 14:21:46 +00:00
Paul Adenot a73b968761 Bug 1889978 - Vendor ffmpeg master, after 7.0, update and reapply patch, remove old files, move bsf files into the bsf directory. r=media-playback-reviewers,alwu
This stubs out `libavcodec/dovi_rpu.h`.

Differential Revision: https://phabricator.services.mozilla.com/D206923
2024-04-30 14:21:45 +00:00
Paul Adenot 64db4178ef Bug 1889978 - Vendor ffmpeg 7.0 headers. r=media-playback-reviewers,frontend-codestyle-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D206922
2024-04-30 14:21:45 +00:00
acseh d928c1c523 Backed out changeset 1bf733f7f74d (bug 1893340) for causing build bustages on TestINIParser.cpp CLOSED TREE 2024-04-30 17:25:45 +03:00
hsingh 7cd0bbaa69 Bug 1799717: Adding some diagnostics to debug intermittent marionette test.r=jstutte
Differential Revision: https://phabricator.services.mozilla.com/D198752
2024-04-30 14:04:25 +00:00
Dave Townsend fb7dd02e6b Bug 1893340: Test nsINIParser for string and section deletion r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D208981
2024-04-30 13:49:57 +00:00
Julien Cristau bb1f694603 Bug 1894236 - add worker type alias for pushmsix. r=releng-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D209007
2024-04-30 13:46:33 +00:00
Julien Cristau acbe43a37a Bug 1894236 - use worker type alias for release-beetmover-signed-langpacks. r=releng-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D209006
2024-04-30 13:46:33 +00:00
Julien Cristau 7aabb38c09 Bug 1894236 - add worker type alias for pushflatpak. r=releng-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D209005
2024-04-30 13:46:32 +00:00
serge-sans-paille b1920088d7 Bug 1891787 - Remove usage of six in mozbuild/mozconfig.py r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D207607
2024-04-30 13:46:32 +00:00
serge-sans-paille f87a5ea054 Bug 1891786 - Remove usage of six in mozbuild/makeutil.py r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D207606
2024-04-30 13:46:30 +00:00
serge-sans-paille 9f20b96dc2 Bug 1891785 - Remove usage of six in mozbuild/jar.py r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D207605
2024-04-30 13:46:29 +00:00
Kai Engert 7a7d294d46 Bug 1893607 - Allow the information text in nsIPromptService.select() to wrap. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D208735
2024-04-30 13:40:39 +00:00
Tarek Ziadé e349740a63 Bug 1892989 - Rely on RS for models updates r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D208727
2024-04-30 13:37:47 +00:00
ohall-m 49db4f278e Bug 1891747 - Make Pull To Dismiss Smoother on Android Translations r=android-reviewers,giorga
This patch increases the friction coefficient for pull to dismiss.

Differential Revision: https://phabricator.services.mozilla.com/D207612
2024-04-30 13:25:16 +00:00
Niklas Baumgardner 5b6673f0bc Bug 1880529 - Requst animation frame at start of browser_test_resize. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D208036
2024-04-30 13:22:00 +00:00
Updatebot 417f937210 Bug 1894164 - Update android nightly application-services version bump to bfe0225d88dbd3c4e70abf2a1a1527d6820016ea r=release-managers,pascalc
Differential Revision: https://phabricator.services.mozilla.com/D208971
2024-04-30 13:07:55 +00:00
Henri Sivonen b526714469 Bug 1894212 - Bench IDNA via URL parsing. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D208987
2024-04-30 13:07:19 +00:00
Jan de Mooij fd012729c2 Bug 1893554 - Ensure Ion frames with rematerialized frames are invalidated. r=iain
When the debugger creates a `RematerializedFrame` for an Ion frame, we need to invalidate
the Ion frame to ensure the rematerialized frame is destroyed in `FinishBailoutToBaseline`
(or the exception handler).

The debugger code could fail with OOM before doing this invalidation and in this case we
left a rematerialized frame in the activation's map after returning from the Ion frame.

Differential Revision: https://phabricator.services.mozilla.com/D208774
2024-04-30 12:21:34 +00:00
Edgar Chen 536e415070 Bug 1887845 - Enabled `dom.events.asyncClipboard.clipboardItem` by default; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D207973
2024-04-30 11:49:29 +00:00
endington543 a57fa7be38 Bug 1893985 - Remove incorrect and unnecessary strict statement from FxAccountsProfileClient.sys.mjs r=markh
Removed redundant and incorrect "use strict" statement from FxAccountsProfileClient.sys.mjs

changed services/fxaccounts/FxAccountsProfileClient.sys.mjs

Differential Revision: https://phabricator.services.mozilla.com/D208912
2024-04-30 11:26:11 +00:00
Jed Davis 0c57ac3901 Bug 1889045 - Update sandbox policies for `epoll_pwait2`. r=gcp
Note that this can't easily be unit-tested, because the tests can't
distinguish between the real `ENOSYS` from lack of kernel support and
the fake `ENOSYS` from the sandbox.

Differential Revision: https://phabricator.services.mozilla.com/D208823
2024-04-30 11:25:34 +00:00
Jed Davis 898d47a1a2 Bug 1889045 - Update Linux sandbox syscall defs to v6.8. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D208822
2024-04-30 11:25:33 +00:00
kycn c34f4a5022 Bug 1677190 - Introduce SessionStoreFunctions for GeckoView package and move the existing SessionStoreFunctions from toolkit to the browser package. r=geckoview-reviewers,farre,nika,owlish
This change utilizes components.conf to distinguish between the contract implementations of nsISessionStoreFunctions per platform.

Differential Revision: https://phabricator.services.mozilla.com/D206904
2024-04-30 11:17:55 +00:00
Nazım Can Altınova 5c9ae9edba Bug 1817163 - Add a profiler feature for memory tracking to enable the memory hooks r=profiler-reviewers,perftest-reviewers,android-reviewers,kshampur,aabh,gl
This feature is added as "recommended", and added to every presets. This will
allow us to disable it if we really want to.

If the "native allocations" feature is enabled, we still force the installation
of the memory hooks even if we don't have this feature to not break the native
allocations feature.

Differential Revision: https://phabricator.services.mozilla.com/D206789
2024-04-30 10:35:47 +00:00
Paul Zuehlcke 8a943de46e Bug 1893434 - Test, r=manuel,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D208764
2024-04-30 09:30:33 +00:00
Paul Zuehlcke 2f63c2072a Bug 1893434 - Import user activation signals from permission manager into BTP user activation store. r=bvandersloot,manuel,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D208763
2024-04-30 09:30:33 +00:00
Emilio Cobos Álvarez c32e26fdbb Bug 1893621 - Fix css zoom interaction with offset* APIs. r=TYLin
I missed these APIs needed special handling.

Differential Revision: https://phabricator.services.mozilla.com/D208740
2024-04-30 09:15:39 +00:00
iorgamgabriel e2062d5827 Bug 1890838 - Global Settings Entry Point For Translation Global Settings r=android-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D208154
2024-04-30 09:09:34 +00:00
Julien Cristau 90d53ed531 Bug 1893417 - pass the system-symbols task id to upload_symbols in system-symbols-upload r=gsvelto
This will allow system-symbols-upload to cope with the system-symbols task
generating multiple archives.

Differential Revision: https://phabricator.services.mozilla.com/D208745
2024-04-30 09:09:14 +00:00
Julien Cristau aa0806ee72 Bug 1893417 - add support for passing multiple archives or a task id to upload_symbols r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D208744
2024-04-30 09:09:14 +00:00
Sylvestre Ledru 67fed99311 Bug 1894178 - doc/ios: fix a typo
Differential Revision: https://phabricator.services.mozilla.com/D208977
2024-04-30 09:00:51 +00:00
Kelly Cochrane 0b79a8e5a2 Bug 1894061 - Resolving 'can_load' extra key error for session restore telemetry causing error console spam r=Gijs,sessionstore-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D208937
2024-04-30 08:59:50 +00:00
Julian Descottes 0bc167a726 Bug 1893664 - [puppeteer] Mark Page.authenticate test as FAIL/PASS because use_redirect_for_retries changes value on late beta r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D208904
2024-04-30 08:46:09 +00:00
Emilio Cobos Álvarez 687211c219 Bug 1893918 - A not-yet-loaded browser window shouldn't stop being an early blank window. r=win-reviewers,rkraesig
Otherwise we start painting the window too early, which after
bug 1891063 causes the non-client area to be filled, but we don't paint
anything on top.

Differential Revision: https://phabricator.services.mozilla.com/D208898
2024-04-30 08:39:59 +00:00
Makoto Kato 7f1b3a12f3 Bug 1892884 - Run GeckoSessionTestRuleTest#contentCrashIgnored with fission. r=geckoview-reviewers,calu
This test can run with fission if not isolation process, so let's turn on it.

Differential Revision: https://phabricator.services.mozilla.com/D208310
2024-04-30 08:29:05 +00:00
Florian Quèze cc3e7c7176 Bug 1892641 - print BUILDSTATUS lines for gradle calls from gradle.py and android/mach_commands.py, r=glandium,geckoview-reviewers,kaya.
Differential Revision: https://phabricator.services.mozilla.com/D208532
2024-04-30 08:17:13 +00:00
Florian Quèze 9118178e3b Bug 1892641 - include timestamps in BUILDSTATUS lines from gradle, r=glandium.
Differential Revision: https://phabricator.services.mozilla.com/D208531
2024-04-30 08:17:13 +00:00
kycn b0f26d11ff Bug 1892641 - Add profile markers for gradle project evaluations and task executions to capture execution times in the build profiles. r=florian,glandium
Differential Revision: https://phabricator.services.mozilla.com/D208094
2024-04-30 08:17:13 +00:00
moz-wptsync-bot 96e3e43921 Bug 1893928 - [wpt-sync] Update web-platform-tests to 78709a81cc84279686438385b38572dd3ff44860, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 78709a81cc84279686438385b38572dd3ff44860
wpt-type: landing
2024-04-30 08:01:09 +00:00