935976 Commits

Author SHA1 Message Date
Dão Gottwald
a4fa43c81a Bug 1924496 - Replace tab-loading.png, tab-connecting.png, and their 2x / inverted variants with loading.svg. r=settings-reviewers,tabbrowser-reviewers,omc-reviewers,aminomancer,mak
Differential Revision: https://phabricator.services.mozilla.com/D225500
2024-10-17 16:39:52 +00:00
Nikki Sharpley
c9d7c70eeb Bug 1921819 - Prevent navigator toolbox from translating on MacOs fullscreen r=sidebar-reviewers,desktop-theme-reviewers,Gijs,dao
As per discussion with UX and @Gijs: https://mozilla.slack.com/archives/C07H21R792A/p1728502631161479

Differential Revision: https://phabricator.services.mozilla.com/D225719
2024-10-17 16:36:54 +00:00
Temidayo
1fee28c884 Bug 1923738 - Add preference for Iterator Sequencing proposal; r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D225471
2024-10-17 16:35:34 +00:00
Mike Conley
654a76012c Bug 1908727 - Add probes for the initial state and configuration for BackupService. r=backup-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D221531
2024-10-17 16:29:47 +00:00
Butkovits Atila
e24f7f3229 Backed out changeset fe441360b591 (bug 1915216) for causing leaks at ThreadSafeWeakReference. CLOSED TREE 2024-10-17 19:11:29 +03:00
Temidayo
bc9ab62087 Bug 1923148 - Add placeholder for Iterator.zipKeyed; r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D225301
2024-10-17 15:35:04 +00:00
Andreas Pehrson
74c761b232 Bug 1834233 - Allow 1us rounding error and multiple duplication periods in VideoFrameConverterTest.Duplication. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D224712
2024-10-17 15:33:47 +00:00
Andreas Pehrson
0aa9fe90fb Bug 1833550 - Allow 1us rounding error and improve determinism in VideoFrameConverterTest.IgnoreOldFrames. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D224711
2024-10-17 15:33:47 +00:00
Andreas Pehrson
7f2acbbbff Bug 1833550 - Allow 1us rounding error and multiple duplication periods in VideoFrameConverterTest.SameFrameTimerRacingWithPacing. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D224710
2024-10-17 15:33:46 +00:00
Andreas Pehrson
da15f84eeb Bug 1828980 - Allow 1us rounding error, multiple duplication periods and improve determinism in VideoFrameConverterTest.BlackOnDisableDuplicated. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D224709
2024-10-17 15:33:46 +00:00
Andreas Pehrson
5c31ed9432 Bug 1833551 - Allow 1us rounding error and multiple duplication periods in VideoFrameConverterTest.BlackOnDisableCreated. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D224708
2024-10-17 15:33:46 +00:00
Andreas Pehrson
b7cb4e8ef9 Bug 1743291 - Don't let time go backwards when activating or enabling VideoFrameConverter. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D224707
2024-10-17 15:33:45 +00:00
Andreas Pehrson
3e4aec496a Bug 1920942 - Allow 1us rounding error in VideoFrameConverterTest.TimestampPropagation. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D224706
2024-10-17 15:33:45 +00:00
Andreas Pehrson
42bcfdb05a Bug 1920942 - Disable VideoFrameConverter frame dropping for testing. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D224705
2024-10-17 15:33:44 +00:00
Andreas Pehrson
270929ab1a Bug 1920942 - In TestVideoFrameConverter turn IsFrameBlack into a matcher. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D224704
2024-10-17 15:33:44 +00:00
Andreas Pehrson
89666cf5e8 Bug 1920942 - Make TestVideoFrameConverter run faster with shorter duplication intervals. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D224703
2024-10-17 15:33:44 +00:00
Andreas Pehrson
1928415801 Bug 1920942 - Improve VideoFrameConverterTest.NoConversionsWhileInactive. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D224702
2024-10-17 15:33:43 +00:00
Andreas Pehrson
d40aacf267 Bug 1920942 - Update VideoFrameConverter logging. r=webrtc-reviewers,ng
This adds logging to Pacer<T>, which is currently only used by
VideoFrameConverter. It also updates VideoFrameConverter's own logging through a
dedicated macro, and puts both classes' on the MediaPipeline log module.

Differential Revision: https://phabricator.services.mozilla.com/D224701
2024-10-17 15:33:43 +00:00
Andreas Pehrson
2f3bb9fb01 Bug 1920942 - Make Pacer's duplication interval mutable. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D224700
2024-10-17 15:33:42 +00:00
Andreas Pehrson
1b4a60584c Bug 1920942 - In TakeN(MediaEventSourceImpl&) do not spin the event loop. r=jmaher
Note this doesn't block the caller, which helps avoid hanging some tests, but
instead relies on the caller spinning the event loop. The latter typically
happens through WaitFor(RefPtr<MozPromise>).

Differential Revision: https://phabricator.services.mozilla.com/D224699
2024-10-17 15:33:42 +00:00
Andreas Pehrson
66d131b46a Bug 1920942 - Make WaitFor(MediaEventSourceImpl&) work with any number of event params. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D224698
2024-10-17 15:33:41 +00:00
Andreas Pehrson
6cdd1796a0 Bug 1920942 - In WaitFor.h make functions work with both exclusive and non-exclusive event sources. r=jmaher
This patch also cleans up includes and marks functions inline.

Differential Revision: https://phabricator.services.mozilla.com/D224697
2024-10-17 15:33:41 +00:00
keithamus
df38bf0076 Bug 1925252 - Guard dialog toggle events from remove/showmodal r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D225949
2024-10-17 15:28:51 +00:00
Andrew McCreight
0d8d0213c2 Bug 1849519 - Disable the consistency check assertion for mTrackingScripts. r=sefeng,dom-core
This is causing problems when loading real world sites in debug builds,
which is hurting automated bug finding, so disable this assertion.

mTrackingScripts look like it is only used to decide when to delay a
load sometimes, so I think it isn't a huge deal if this is inconsistent
sometimes.

Differential Revision: https://phabricator.services.mozilla.com/D224996
2024-10-17 15:26:12 +00:00
Edgar Chen
7f78ddb3a1 Bug 1903923 - Mark wpt /html/browsers/the-window-object/window-open-popup-behavior.html as expected failure on Fission; r=dom-core,sefeng
Differential Revision: https://phabricator.services.mozilla.com/D225921
2024-10-17 15:15:54 +00:00
Edgar Chen
21b85e93c3 Bug 1903923 - Clean up wpt meta data for /html/browsers/the-window-object/window-open-popup-behavior.html; r=dom-core,sefeng
Some conditions can be merged together.

Differential Revision: https://phabricator.services.mozilla.com/D225920
2024-10-17 15:15:54 +00:00
Greg Mierzwinski
114aecfb2a Bug 1924838 - [perfdocs] Check for skipped tests for mozperftest. r=perftest-reviewers,fbilt DONTBUILD
This patch fixes an issue where having `skip-if` defined in the test manifests would prevent perfdocs from finding the test even though it exists.

Differential Revision: https://phabricator.services.mozilla.com/D225696
2024-10-17 15:12:01 +00:00
Dave Townsend
e89a27b683 Bug 1915216: Add a method to asynchronously write the important data about the current profile to the INI file on disk. r=glandium,jhirsch,pehrsons,backup-reviewers,mconley
This adds an asynchronous method to lock the startup files using the same
lock that we use during normal startup.

The profile service then uses this lock to gate access to the profiles.ini
files adding a method to async flush the entire database or in the case
that the on-disk database has changed a way to mergwe in some properties
about the current profile into the on-disk version.

Differential Revision: https://phabricator.services.mozilla.com/D222662
2024-10-17 15:09:41 +00:00
RebecaTudor
83e3126ca5 Bug 1923352 - Set as default prompt can be controlled with experiments r=android-reviewers,amejiamarmol,twhite
The issue was that we weren't getting the values given through experiment.
With this patch, the Set as default native prompt can be controlled through
the experiments.

Differential Revision: https://phabricator.services.mozilla.com/D225815
2024-10-17 14:58:43 +00:00
Alexandru Marc
7753a4a25e Backed out changeset 2154b98caca7 (bug 1924925) for causing build bustages. CLOSED TREE 2024-10-17 18:02:22 +03:00
Alexandru Marc
27d6b82c57 Backed out changeset 614f990bec46 (bug 1790690) for causing mass failures. 2024-10-17 18:01:25 +03:00
Paul Adenot
4b10aabeeb Bug 1924925 - Handle tiny flac files properly. r=media-playback-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D225984
2024-10-17 14:22:09 +00:00
Mike Conley
76ab7b4b2e Bug 1925058 - Clean up prefs for spocs and sponsored top sites measurements for the new unified endpoint. r=thecount,home-newtab-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225884
2024-10-17 14:15:14 +00:00
Julien Cristau
ec6d8022e2 Bug 1925232 - remove dead generic_worker_hg_commands from gecko_taskgraph. r=taskgraph-reviewers,jmaher
This was used by toolchain and spidermonkey tasks prior to bug 1569900
and bug 1469697; since then they use run-task to check out the repo
instead.

Differential Revision: https://phabricator.services.mozilla.com/D225981
2024-10-17 14:12:24 +00:00
Yannis Juglaret
072d3d69de Bug 1839299 - Use a finer-grained strategy to protect RtlLookupFunctionEntry against deadlocks. r=win-reviewers,rkraesig
On 64-bit Windows (x86_64, aarch64), stack walking relies on
RtlLookupFunctionEntry to navigate from one frame to the next. This
function acquires up to two ntdll internal locks when it is called.

The profiler and the background hang monitor both need to walk the
stacks of suspended threads. This can lead to deadlock situations,
which so far we have avoided with stack walk suppressions. We guard some
critical paths to mark them as suppressing stack walk, and we forbid
stack walking when any thread is currently on such path.

While stack walk suppression has helped remove most deadlock situations,
some can remain because it is hard to detect and manually annotate all
the paths that could lead to a deadlock situation. Another drawback is
that stack walk suppression disables stack walking for much larger
portions of code than required. For example, we disable stack walking
for LdrLoadDll, so we cannot collect stacks while we are loading a DLL.
Yet, the lock that could lead to a deadlock situation is only held
during a very small portion of the whole time spent in LdrLoadDll.

This patch addresses these two issues by implementing a finer-grained
strategy to avoid deadlock situations. We acquire the pointers to the
internel ntdll locks through a single-stepped execution of
RtlLookupFunctionEntry. This allows us to try to acquire the locks
non-blockingly so that we can guarantee safe stack walking with no
deadlock.

If we fail to collect pointers to the locks, we fall back to using stack
walk suppressions like before. This way we get the best of both worlds:
if we are confident that the situation is under control, we will use the
new strategy and get better profiler accuracy and no deadlock; in case
of doubt, we can still use the profiler thanks to stack walk
suppressions.

Differential Revision: https://phabricator.services.mozilla.com/D223498
2024-10-17 13:47:04 +00:00
Brad Werth
982be67fae Bug 1905383: Make WebGPU encoders not cycle check their subresources. r=webgpu-reviewers,teoxoy
The encoder classes already have strong references to the resources they
rely upon. That is enough to prevent those resources from being
released before the encoder. That's all we need! Including the resources
in cycle checking is just making it possible for the resource and the
encoder to be unlinked in the same cycle, in arbitrary order. That's
dangerous because it's the same outcome as if the encoder didn't have a
strong reference to the resource at all.

Differential Revision: https://phabricator.services.mozilla.com/D225914
2024-10-17 13:43:49 +00:00
dylan
d9f06b0904 Bug 1790690 - Pass aResponseHead as a rvalue reference r=necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D202782
2024-10-17 13:33:58 +00:00
Hubert Boma Manilla
c62c89617e Bug 1924829 - [devtools] Fix intermittent for browser_dbg-keyboard-navigation.js r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D225759
2024-10-17 13:31:58 +00:00
Adi
fecccd7c3f Backed out 3 changesets (bug 1921810) for causing build bustages in AntiTrackingUtils.cpp. CLOSED TREE
Backed out changeset 823808ae582a (bug 1921810)
Backed out changeset 71de8c527b8b (bug 1921810)
Backed out changeset c7417d8d7fde (bug 1921810)
2024-10-17 16:44:30 +03:00
Dão Gottwald
aab88b9f42 Bug 1925251 - Remove support for --lwt-tab-loading-fill-inactive. r=tabbrowser-reviewers,mak
--lwt-tab-loading-fill-inactive is only set by built-in colorway themes, which have been migrated to AMO where they can't set that variable. Built-in copies are slated for removal (bug 1815898).

Differential Revision: https://phabricator.services.mozilla.com/D225948
2024-10-17 13:27:07 +00:00
Dão Gottwald
843d33ee0d Bug 1925258 - Enable transition between connecting and loading throbber states. r=emilio,desktop-theme-reviewers,tabbrowser-reviewers,dwalker
Differential Revision: https://phabricator.services.mozilla.com/D225960
2024-10-17 13:25:48 +00:00
Lee Salzman
3edf5db8d7 Bug 1910138 - Fix remote canvas Direct2D pref check. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D225974
2024-10-17 13:23:29 +00:00
Yazan Al Macki
da3371f48f Bug 1765311 - Modify favicon fetching to account for urls containing a port. r=places-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D225600
2024-10-17 13:21:27 +00:00
Leander Schwarz
31a8c03140 Bug 1922609 - Extend aboutprivatebrowsing.click_* telemetry probes until FF Nightly 139. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D225937
2024-10-17 13:08:24 +00:00
Tim Huang
a2184c086b Bug 1921810 - Part 3: Add a test. r=bvandersloot,anti-tracking-reviewers
Depends on D224206

Differential Revision: https://phabricator.services.mozilla.com/D224207
2024-10-17 12:54:21 +00:00
Tim Huang
3e41df3c19 Bug 1921810 - Part 2: Exposing UsingStorageAccess flag on WindowContext. r=nika
Depends on D224205

Differential Revision: https://phabricator.services.mozilla.com/D224206
2024-10-17 12:54:20 +00:00
Tim Huang
4dce215f7b Bug 1921810 - Part 1: Considering the content blocking allowlist when calculating the StoragePermission for a channel. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D224205
2024-10-17 12:54:20 +00:00
André Bargull
db611ec954 Bug 1925195 - Part 4: Inline Date.prototype.get{Hours,Minutes,Seconds}. r=jandem
The local time components aren't stored in separate slots, but instead in a
single slot which stores the number of seconds since the start of the year.

Differential Revision: https://phabricator.services.mozilla.com/D225927
2024-10-17 12:37:02 +00:00
André Bargull
da4450bc1e Bug 1925195 - Part 3: Inline Date.prototype.get{FullYear,Month,Date,Day}. r=jandem
These functions return the cached local date-time values, so we just need
the `DateFillLocalTimeSlots` CacheIR op from part 2, followed by reading the
corresponding slot.

Differential Revision: https://phabricator.services.mozilla.com/D225926
2024-10-17 12:37:01 +00:00
André Bargull
0bc2b90871 Bug 1925195 - Part 2: Add support to call DateObject::fillLocalTimeSlots from JIT code. r=jandem
Used in the next parts.

Differential Revision: https://phabricator.services.mozilla.com/D225925
2024-10-17 12:37:01 +00:00