Commit Graph

940832 Commits

Author SHA1 Message Date
Nico Grunbaum
16ef32872a Bug 1921154 - adapt test_peerConnection_basicScreenshare.html;r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D223819
2024-11-20 21:21:20 +00:00
Nico Grunbaum
4ec6788e13 Bug 1921154 - add AV1 VideoConduit unit test;r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D223818
2024-11-20 21:21:20 +00:00
Nico Grunbaum
1bcf522ae1 Bug 1921154 - add missing aom_encoder.h and aom_codec.h headers to system-headers.mozbuild;r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D223812
2024-11-20 21:21:19 +00:00
Nico Grunbaum
f210884c55 Bug 1921154 - add webrtc basic AV1 mochitest;r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D223810
2024-11-20 21:21:19 +00:00
Nico Grunbaum
a3fc33a947 Bug 1921154 - wire up the glue for AV1;r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D223809
2024-11-20 21:21:19 +00:00
Nico Grunbaum
e3b776407e Bug 1921154 - adapt jsep_track_unittest.cpp for AV1;r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D223808
2024-11-20 21:21:18 +00:00
Nico Grunbaum
eeca89ca9d Bug 1921154 - negotiation details for AV1;r=bwc,dbaker
Differential Revision: https://phabricator.services.mozilla.com/D228542
2024-11-20 21:21:18 +00:00
Nico Grunbaum
b2ada09cd6 Bug 1921154 - add AV1 to default codecs;r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D223807
2024-11-20 21:21:17 +00:00
Nico Grunbaum
d7140fc88b Bug 1921154 - add default AV1 codec info to JSEP;r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D223806
2024-11-20 21:21:17 +00:00
Nico Grunbaum
45cfd66c25 Bug 1921154 - add AV1 codec config glue;r=dbaker
Differential Revision: https://phabricator.services.mozilla.com/D223817
2024-11-20 21:21:17 +00:00
Nico Grunbaum
eb0a1c47c9 Bug 1921154 - add AV1 parameter handling in Rust wrapper;r=dbaker
Differential Revision: https://phabricator.services.mozilla.com/D223816
2024-11-20 21:21:16 +00:00
Nico Grunbaum
1574f7ffdc Bug 1921154 - add AV1 parameter handling;r=dbaker
Differential Revision: https://phabricator.services.mozilla.com/D223815
2024-11-20 21:21:16 +00:00
Nico Grunbaum
c4332b76ea Bug 1921154 - add AV1 sipcc sdp unit test;r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D223813
2024-11-20 21:21:15 +00:00
Nico Grunbaum
22cf2eee16 Bug 1921154 - add AV1 parameter parsing to sipcc;r=dbaker
Differential Revision: https://phabricator.services.mozilla.com/D223814
2024-11-20 21:21:15 +00:00
Nico Grunbaum
5f53032b1b Bug 1921154 - add AV1 pref info to about:webrtc;r=dbaker,webidl,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D223805
2024-11-20 21:21:15 +00:00
Nico Grunbaum
7a8960ff6b Bug 1921154 - add experimental pref to prefer AV1;r=dbaker
Differential Revision: https://phabricator.services.mozilla.com/D223804
2024-11-20 21:21:14 +00:00
Nico Grunbaum
b3ba0d4a00 Bug 1921154 - add AV1 pref;r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D223803
2024-11-20 21:21:14 +00:00
Nico Grunbaum
9bc73e1993 Bug 1921154 - build gen after libwebrt gn build changes;r=mjf,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D223801
2024-11-20 21:21:13 +00:00
Nico Grunbaum
81edfd1395 Bug 1921154 - libwebrtc trampoline headers for the libaom encoder;r=mjf,webrtc-reviewers,pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D223802
2024-11-20 21:21:13 +00:00
Nico Grunbaum
7448161a8a Bug 1921154 - libwebrtc build related changes for AV1;r=mjf,webrtc-reviewers
These are most of the changes needed to get a build with AV1.
The crypto/openssl changes are later altered in the stack adding an NSPR based implementation of the functionality that was missing.

Differential Revision: https://phabricator.services.mozilla.com/D228540
2024-11-20 21:21:12 +00:00
Valentin Gosu
de3db7fadc Bug 1931514 - Remove nsITimedChannel.timingEnabled r=necko-reviewers,kershaw
Timing should always be enabled.

Differential Revision: https://phabricator.services.mozilla.com/D229340
2024-11-20 20:53:51 +00:00
Valentin Gosu
ca1c1654a1 Bug 1931514 - Make sure mAsycOpenTime is not null r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D229339
2024-11-20 20:53:50 +00:00
Sandor Molnar
89a3a509a6 Backed out changeset 596599bbf990 (bug 1932400) for causing multiple crashes CLOSED TREE 2024-11-20 23:58:34 +02:00
Magnus Melin
a194d2d23f Bug 1927889 - Use Thunderbird-specifc Glean telemetry endpoint for Thunderbird. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D229132
2024-11-20 20:18:45 +00:00
Emilio Cobos Álvarez
8a7f92d0db Bug 1931747 - Make picture in picture deal with outer != inner sizes correctly. r=pip-reviewers,mconley
The previous patch makes the PiP window have rounded corners and shadows
on Windows (like on macOS).

That uncovers some cases where PiP was using inner rather than outer
sizes incorrectly, mostly in test code. This wasn't a problem before my
patch because innerSize used to be the same as outerSize before my
patch.

I _could_ restore the previous behavior (by using hidechrome="true" or
so), but I think this is nicer, and the code works with outer sizes
regardless (i.e., if we want to restore the old behavior we don't need
to touch any of this code, just add hidechrome, so that outer and inner
sizes match).

Note that all the code in PictureInPicture.sys.mjs already deals with
outer sizes (correctly so).

Differential Revision: https://phabricator.services.mozilla.com/D229523
2024-11-20 20:01:54 +00:00
Dana Keeler
231d17ddc9 Bug 1931437 - a mechanism to selectively skip certificate transparency enforcement r=jschanck,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D229224
2024-11-20 19:57:39 +00:00
Dana Keeler
1f55a0b2e4 Bug 1931437 - reorganize CertVerifier::VerifyCertificateTransparencyPolicy for clarity and future changes r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D229545
2024-11-20 19:57:39 +00:00
Matt Harding
26ee44cfaf Bug 1865148 - Use AbortControllers for destroying and timing out r=pbz
Previously, some tests were failing because the interval function was not immediately
cleaned up when didDestroy() was called, which kept some references around and prevented
objects from being garbage collected.

I solved this by recognising that there are two ways that a promiseObserve can exit without
success: when the timeout expires, and when the CookieBannerChild is destroyed. These need
to be handled differently, so I gave each case a different AbortController.

Differential Revision: https://phabricator.services.mozilla.com/D227095
2024-11-20 19:53:24 +00:00
Matt Harding
cb83f2204d Bug 1865148 - Fix CookieBannerChild.sys.mjs killing its cleanup timout prematurely r=pbz
When the `cleanup()` function inside `#promiseObserve()` gets called with the result of the banner search,
it cancels the `observerCleanUpTimer`, which can then no longer clean up the *Button* observer.

I fixed this, and also other potential async timing issues, by stopping the cleanup function from cancelling
the timeout, and having the timeout set a persistent "givenUp" flag instead of trying to directly cancel the
promiseObserver.

Differential Revision: https://phabricator.services.mozilla.com/D221582
2024-11-20 19:53:23 +00:00
Matt Harding
52a9e8de89 Bug 1913613 - Fix CookieBannerChild.sys.mjs mixing up timeout IDs from different implementations r=pbz
There are two implementations of (set|clear)(Timeout|Interval) at play here: a Javascript implementation
from toolkit/modules/Timer.sys.mjs used by browser components, and a C++ implementation from
dom/base/TimeoutManager.cpp that is exposed to web pages.

CookieBannerChild.sys.mjs was creating timers with the C++ implementation, taking those IDs, and then
trying to clear them in the Javascript implementation. The two implementations have individual ID namespaces
so this resulted in unrelated timeouts being inadvertantly cancelled and the intended one continuing on.

Differential Revision: https://phabricator.services.mozilla.com/D221261
2024-11-20 19:53:23 +00:00
Matt Harding
e3fda5d7ee Bug 1913613 - Prevent setTimeout IDs being reused while already in use r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D219405
2024-11-20 19:53:22 +00:00
Matt Harding
007fc4f9e3 Bug 1913613 - Fix wrapping behaviour of setTimeout IDs and consolidate types to int32 r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D219404
2024-11-20 19:53:22 +00:00
David Shin
da4c62d200 Bug 1931933: Use CSSMinMax instead of std::clamp in nsTextControlFrame::GetNaturalBaselineBOffset. r=layout-reviewers,emilio
There is no guarantee that the block size is positive, since the size can overflow.

Differential Revision: https://phabricator.services.mozilla.com/D229678
2024-11-20 19:49:42 +00:00
David Shin
2287a05acd Bug 1928695: Parent selector referring to implicit scope rule does not add specificity. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D229685
2024-11-20 19:49:29 +00:00
Mark Striemer
268cb033d2 Bug 1928129 - Position tab attention dot based on tab-inline-padding r=desktop-theme-reviewers,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D229679
2024-11-20 19:38:36 +00:00
Joseph Iya
89feec6e4f Bug 1931382 - Replace move icon with official Acorn icon r=matt-tighe,android-reviewers
Replace `mozac_ic_move_24.xml`, a temporary placeholder with the
official Acorn icon.

Differential Revision: https://phabricator.services.mozilla.com/D229667
2024-11-20 19:34:38 +00:00
Joseph Kurape
0abc669a83 Bug 1850639 - Remove redundant SQLCipher cleanup code r=skhamis,bdk,android-reviewers,matt-tighe
Remove legacy SQLCipher database cleanup logic, no longer needed after
migration path deletion.

Differential Revision: https://phabricator.services.mozilla.com/D229244
2024-11-20 19:33:12 +00:00
Stephanie Cunnane
15fd0cc1ff Bug 1876178 - Improve default search engine changed telemetry. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D224553
2024-11-20 19:08:19 +00:00
Dale Harvey
afa3413108 Bug 1794092 - Disable urlbarinterventions when actions are enabled. r=urlbar-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D229547
2024-11-20 18:52:25 +00:00
Patrycja Rosa
543224ca69 Bug 1928364 - Make SYS_fork non-fatal due to its usage in musl's fork() r=gerard-majax
Differential Revision: https://phabricator.services.mozilla.com/D227478
2024-11-20 18:38:53 +00:00
Heitor Neiva
e05df1385c Bug 1919654 - Add partials-zucchini task r=releng-reviewers,taskgraph-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D223219
2024-11-20 18:32:25 +00:00
Heitor Neiva
203fa53e0c Bug 1919654 - Add toolchain for zucchini tool r=releng-reviewers,firefox-build-system-reviewers,bhearsum,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D223218
2024-11-20 18:32:25 +00:00
alwu
ac888f50ae Bug 1931053 - remove unecessary ESLint comments from test files. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D228904
2024-11-20 18:30:03 +00:00
Peter Van der Beken
e0699e6576 Bug 1932400 - Call base proxy handler's trace function from DOMProxyHandler::trace. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D229633
2024-11-20 18:19:07 +00:00
Aaditya Dhingra
3b6ec67082 Bug 1930143 - Set accessibility delegate to inform talkback that "Menu" is a button. r=android-reviewers,007
Differential Revision: https://phabricator.services.mozilla.com/D229369
2024-11-20 18:18:29 +00:00
hanna alemu
51818826c8 Bug 1825381 - Create experimental set to default prompt-style spotlight and enable showing via Nimbus r=mviar,omc-reviewers,firefox-desktop-core-reviewers ,mossop,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D225699
2024-11-20 18:04:46 +00:00
Ryan Hunt
93427e5f87 Bug 1930538 - wasm: Add printing routines for instructions. r=bvisness
Some misc changes:
  - ValTypeVector& is moved into OpIter so it doesn't need to be
    passed to readLocalGet, etc. This is to help prepare for printing
    init expressions which don't have locals.
  - Some OpKind variants did not match the name of the readXYZ method
    on OpIter.
  - Some OpIter methods need to return slightly different types.

The instruction opcode names have not been thoroughly audited, some
of them may be wrong.

Eventually I'd like to evolve this into a spec compliant binary to
text printer for use in devtools.

Differential Revision: https://phabricator.services.mozilla.com/D228612
2024-11-20 18:04:18 +00:00
Mugurell
b1d3c052e7 Bug 1908330 - part 5 - Remove BottomToolbarContainerIntegration from HomeFragment r=android-reviewers,harrisono
The `BottomToolbarContainerIntegration` through it's internal `ToolbarBehaviorController`
controls whether the toolbar should be dynamic or not depending on the state of the
current browser tab.
Since on the home screen there in no active browser tab and the toolbar from the home screen is
always fixed in place and not dynamic there is no need for `BottomToolbarContainerIntegration`.

Differential Revision: https://phabricator.services.mozilla.com/D228183
2024-11-20 17:59:09 +00:00
Mugurell
c065bc57d4 Bug 1908330 - part 4 - Stop controlling the toolbar visibility from BottomToolbarContainerIntegration r=android-reviewers,harrisono
This was initially meant to only control the scrolling behavior of the toolbar.
The later added functionality to also control the toolbar functionality depending
on if search is active or not is suboptimal with the toolbar visibility updates being
too slow:
- when search is active this should hide the toolbar
This was too slow to happen leading to two toolbar shown on screen, issue for which
another patch was needed as part of bug 1895573.
- when search is closed this should show the toolbar
This is too slow and leads to having no toolbar on the screen immediately after search
is closed.
We get the visibility update after a few tens of milliseconds so on the homescreen the
toolbar will be shown but a flicker can still be seen and the visibility change happens
too late - in the case of a search started from browser we'd try showing the homescreen
toolbar after the user gets back to the browser.

Differential Revision: https://phabricator.services.mozilla.com/D228182
2024-11-20 17:59:08 +00:00
Mugurell
98249611d2 Bug 1908330 - part 3 - Show the navbar after the searching ends r=android-reviewers,skhan
Since when entering search we hide the navbar but keep the addressbar visible when
exiting search we need to show back the navbar - if applicable.

Using the result listener framework is much faster than relying on store updates to
know if search is visible or not (instant vs ~60ms on a Pixel 6) allows to transition
from the search toolbar to the home screen toolbar in just one visual frame.

Differential Revision: https://phabricator.services.mozilla.com/D228181
2024-11-20 17:59:08 +00:00