Commit graph

859504 commits

Author SHA1 Message Date
Narcis Beleuzu
4b3f6f7f43 Backed out changeset 5a4a0b5fd195 (bug 1777492) for crashtest failure on data:text/html . CLOSED TREE 2023-10-17 07:01:25 +03:00
Gregory Pappas
b624d52de5 Bug 1777492 - Merge geckoview-prefs.js and mobile.js r=geckoview-reviewers,Standard8,owlish
Differential Revision: https://phabricator.services.mozilla.com/D185400
2023-10-17 01:53:54 +00:00
Karl Tomlinson
ce169c07d1 Bug 1859200 add MediaTrack methods to queue a graph control message to execute a provided lambda expression r=pehrsons
and use them in MediaTrack.

Having the public API on the MediaTrack ensures that the caller has a track
to keep the graph alive.

The only behavior change is that "MediaTrack::DispatchToMainThreadStableState
ControlMessage" is now traced even if in shutdown.

Strong MediaTrack references are now held for refcounted-inside-lambda
static analysis.

Differential Revision: https://phabricator.services.mozilla.com/D191062
2023-10-17 01:40:42 +00:00
Emilio Cobos Álvarez
e17c4ef075 Bug 1857743 - Consolidate inactive color handling across platforms. r=desktop-theme-reviewers,dao
When using the accent color in the titlebar we apply InactiveCaption
color, but then we also apply this opacity which causes the text to be
super dark.

Use color-mix() rather than opacity on the lwtheme case, so that it
works on Linux and macOS when themes are used too.

Adapt browser-custom-colors.css to do this for the system theme on
Windows and macOS so that there's no behavior change.

For high contrast and Linux, InactiveCaption should have us covered.

Depends on D190952

Differential Revision: https://phabricator.services.mozilla.com/D190953
2023-10-17 00:37:36 +00:00
sotaro
b69100e39e Bug 1857385 - Enable uploading yuv video to NV12 ID3D11Texture2D at WebRenderImageHost on Windows until release r=gfx-reviewers,jrmuizel
Since  Bug 1856516 fix, no recent regression reported. Then it seems OK to enable it until release.

Differential Revision: https://phabricator.services.mozilla.com/D190906
2023-10-17 00:30:45 +00:00
John Schanck
5bae90496f Bug 1857982 - propagate reason from abort controller. r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D190498
2023-10-17 00:21:26 +00:00
negin
baeb15b327 Bug 1855031 - [Feature] Easy Set Up as Default Experience on Mac, Windows, Linux r=omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D190354
2023-10-17 00:19:45 +00:00
Karl Tomlinson
8a25ccdeef Bug 1859200 permit AppendMessage() with other ControlMessageInterface objects r=pehrsons
A similar assertion will be added to new methods for other
ControlMessageInterface objects in a subsequent patch.

MediaTrackGraphImpl::OpenAudioInput() and
AudioListener::SendListenerEngineEvent() are two of a number of cases that
construct a ControlMessage with a null track.

Differential Revision: https://phabricator.services.mozilla.com/D191061
2023-10-17 00:02:50 +00:00
Timothy Nikkel
ce078b9839 Bug 1859281. Optimize a couple IsRootContentDocument calls. r=dholbert
Although small, these show up in TodoMVC-React-Complex-DOM.

Differential Revision: https://phabricator.services.mozilla.com/D191075
2023-10-16 22:52:54 +00:00
Narcis Beleuzu
de90685f96 Backed out changeset fa12efd7ca24 (bug 1857743) for multiple bc failures. CLOSED TREE 2023-10-17 03:16:36 +03:00
Karl Tomlinson
9c87e2650f Bug 1859200 introduce MediaTrack::ControlMessageInterface r=pehrsons
Having this in MediaTrackGraph.h will enable some templated ControlMessage
methods on MediaTrack without needing to put their definitions in
MediaTrackGraphImpl.h.

Reference-count logging is on the abstract class because that will be the base
of a templated class in a subsequent comment and the logging doesn't like the
same name on classes of different sizes.

Differential Revision: https://phabricator.services.mozilla.com/D191060
2023-10-16 22:42:29 +00:00
Ray Kraesig
c8d62f7b85 Bug 1858739 - update tokio to 1.29.1 r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190838
2023-10-16 22:26:00 +00:00
Ray Kraesig
a3a60fed58 Bug 1858739 - update flate2 crate to 1.0.26 r=glandium,supply-chain-reviewers
Includes an upgrade to the miniz_oxide crate (not otherwise used) from
0.6.2 to 0.7.1.

Differential Revision: https://phabricator.services.mozilla.com/D190837
2023-10-16 22:25:59 +00:00
Ray Kraesig
8552f8eb46 Bug 1858739 - update socket2 crate to 0.4.9 r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190834
2023-10-16 22:25:58 +00:00
Ray Kraesig
67f01bb291 Bug 1858739 - update object crate to 0.32.0 r=glandium,mstange,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190833
2023-10-16 22:25:58 +00:00
KS
2ac48ba196 Bug 1835071 - Use custom start/stop for running chrome trace to profile benchmarks in CI. r=perftest-reviewers,sparky
This patch uses the custom browsertime exposed start/stop command
for using the chrome Trace. Previously the logic in browsertime
was intended for profiling pageloads, and would end prematurely before
the benchmark was completed. A similar custom start/stop approach was
done previously for the gecko profiler, and now the same thing is needed
here.

Differential Revision: https://phabricator.services.mozilla.com/D188128
2023-10-16 21:21:22 +00:00
Narcis Beleuzu
ddb82d1891 Backed out changeset 444db85796e2 (bug 1853418) for bc failure on browser_closePanelOnClick.js . CLOSED TREE 2023-10-17 01:00:51 +03:00
dylan
3897ff544b Bug 1853744 - Stripped the last dot in NormalizeIPv4 and ValidateIPv4Number no longer changes length if last character is dot. r=valentin,necko-reviewers,edgul
Differential Revision: https://phabricator.services.mozilla.com/D189975
2023-10-16 20:34:53 +00:00
Narcis Beleuzu
ca9c76ff42 Backed out changeset 8a85807aac36 (bug 1857982) for wpt failure on enrollment.https.html . CLOSED TREE 2023-10-16 23:52:15 +03:00
Narcis Beleuzu
70ac30a0b5 Bug 1855280 - Fix bc failure on browser_all_files_referenced.js 2023-10-16 23:49:36 +03:00
Emilio Cobos Álvarez
1ea6ab832c Bug 1858468 - Don't compute custom properties twice inside links. r=dshin
This matches the behavior of other browsers (in fact, I filed [1] about
it long time ago).

This avoids a bunch of overhead in some speedometer subtests. Makes me a
bit sad because I still think our approach is slightly more correct per
spec, but not worth the performance cost.

[1]: https://github.com/w3c/csswg-drafts/issues/2263

Differential Revision: https://phabricator.services.mozilla.com/D190705
2023-10-16 19:55:36 +00:00
William Durand
6da195e1ff Bug 1859265 - Update cached metadata before updating add-ons. r=rpl,amejiamarmol,geckoview-reviewers
We currently do not refresh the cached metadata in the add-ons
repository because the update timer isn't enabled on Android.

This patch calls the add-ons repository update logic to refresh
the cached metadata when an add-on is checked for updates. This
is similar to what we're doing when we perform a (full) background
update check on Desktop.

Differential Revision: https://phabricator.services.mozilla.com/D191081
2023-10-16 18:41:53 +00:00
Andreas Pehrson
54d433ca37 Bug 1859231 - In WebrtcMediaDataEncoder switch to generic, non-deprecated, end_of_picture. r=webrtc-reviewers,mjf
CodecSpecificInfoVP9::end_of_picture is "only" deprecated, but never read by
libwebrtc.

The new base-class-based CodecSpecificInfo::end_of_picture is true by default,
so this is not a functional change. This patch aims to maintain the explicitness
of setting end_of_picture, and to silence the deprecation warning.

Differential Revision: https://phabricator.services.mozilla.com/D191058
2023-10-16 18:38:30 +00:00
Mozilla Releng Treescript
9e420b3ce2 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
fr -> 10247f877325c5d3e2e6421c9fc6f832aecb14c3
fur -> 81fe64e956bf23f74da866bcdd4465407a6e91db
gn -> ea5321945f68d7fb674802ad2793cd49deee54f7
he -> d7ec09a12940e974bf6611377752f2985331adac
hsb -> 2b9fc1dc146113f573fd6d6311de23b044c6d092
hu -> 6a7128933727b0c11038544c74ce9f5d8ac8d0b3
ia -> c9aae1b862b4b239c56cb12fdbc885da88fa25b0
it -> 9650cb3d6b2dcb127f9a7af9142306d37a5dc3c2
ko -> 962df49c492ee3a57137736546545a910267f95e
nn-NO -> b04979cfb0d8be4dc6be3bc8d9fb33aaefab7dab
pt-BR -> 4ae9f56d370edd85133699018ac0ceec858175f3
sk -> fe258f24a71e6584396d3ffcd6a9b7501a78b95f
zh-TW -> c3cbc202fb4b5ed2d6436dcab28f4c9aca2e1e87
2023-10-16 19:03:37 +00:00
Narcis Beleuzu
d9036d4cd7 Backed out 3 changesets (bug 1850914) for lint failures on test/params/ . CLOSED TREE
Backed out changeset 193078fd7666 (bug 1850914)
Backed out changeset fb5aa25d1c68 (bug 1850914)
Backed out changeset f98c7051fd98 (bug 1850914)
2023-10-16 21:58:41 +03:00
John Schanck
e6cc43e2ea Bug 1857982 - propagate reason from abort controller. r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D190498
2023-10-16 18:34:22 +00:00
Olivia Hall
dff4357484 Bug 1857002 - Move getLanguageList from browser to toolkit r=gregtatum,settings-reviewers,mconley
This function is helpful for GeckoView and Translations on Android.
Moving it to toolkit for shared use.

Differential Revision: https://phabricator.services.mozilla.com/D190118
2023-10-16 18:32:51 +00:00
Mike Conley
abe65ca4e2 Bug 1855280 - Remove the ability to switch to the old migration wizard. r=kpatenio,omc-reviewers,settings-reviewers,credential-management-reviewers,negin,aminomancer,mtigley
This removes the pref to re-enable the legacy wizard, and all of the things that used
to read from it.

It also disables the ability to use the legacy wizard from about:welcome with the
aboutWelcomeBehavior feature.

It also removes the closeMigrationWizard utility from BrowserTestUtils, since that
effectively became a thin-wrapper around BrowserTestUtils.removeTab.

Finally, this patch also removes some documentation about the legacy migration wizard,
and tests that specifically check the legacy dialog behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D190716
2023-10-16 18:24:42 +00:00
Henrik Skupin
4172a0eb00 Bug 1858688 - [wpt] Fix expectations for "pointerevents/pointerevent_attributes_hoverable_rightbutton.html". r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D191053
2023-10-16 18:03:09 +00:00
Julien Cristau
2037c5a45f Bug 1850914 - update test taskgraph parameters. r=releng-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D187178
2023-10-16 18:00:58 +00:00
Julien Cristau
25c06d09ef Bug 1850914 - exclude taskgraph test params from yamllint. r=ahal,releng-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D190956
2023-10-16 18:00:58 +00:00
Julien Cristau
258a9fbffb Bug 1850914 - add script to update test parameters.yml. r=releng-reviewers,ahal,gabriel
If called with no arguments it'll update all files (except try.yml and
mr-onpush-geckoview.yml).  It can also be called with a set of filenames
as arguments and will update just those files.

For on-push and cron tasks, we look up the taskcluster index for the
latest corresponding decision task.  For release promotion actions, we
query the public shipit API to find the latest matching task.

Differential Revision: https://phabricator.services.mozilla.com/D187137
2023-10-16 18:00:57 +00:00
Emilio Cobos Álvarez
43d2522130 Bug 1857743 - Specify selected tab color properly. r=desktop-theme-reviewers,dao
Right now on the system theme on Windows, the selected tab color comes
from here.

  https://searchfox.org/mozilla-central/rev/6e5b9a5a1edab13a1b2e2e90944b6e06b4d8149c/toolkit/themes/windows/global/tabbox.css#30

Which is unexpected. On the firefox view icon is just inherited (which
is wrong and causes contrast issues with some backgrounds).

Depends on D190955

Differential Revision: https://phabricator.services.mozilla.com/D190971
2023-10-16 17:57:18 +00:00
Emilio Cobos Álvarez
717d7ff763 Bug 1857743 - Consolidate inactive color handling across platforms. r=desktop-theme-reviewers,dao
When using the accent color in the titlebar we apply InactiveCaption
color, but then we also apply this opacity which causes the text to be
super dark.

Use color-mix() rather than opacity on the lwtheme case, so that it
works on Linux and macOS when themes are used too.

Adapt browser-custom-colors.css to do this for the system theme on
Windows and macOS so that there's no behavior change.

For high contrast and Linux, InactiveCaption should have us covered.

Depends on D190952

Differential Revision: https://phabricator.services.mozilla.com/D190953
2023-10-16 17:56:09 +00:00
Yury Delendik
111c066293 Bug 1858982 - Fix slow call_ref when the callee performs tail calls. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D190942
2023-10-16 17:36:54 +00:00
Robin Steuber
e80e659cd5 Bug 1854697 - Clarify that Update Server docs are meant for testing r=nrishel
Differential Revision: https://phabricator.services.mozilla.com/D190968
2023-10-16 17:28:39 +00:00
Emilio Cobos Álvarez
4f9476fe27 Bug 1857743 - Move system-accent-color-in-tabs pref to the front-end. r=desktop-theme-reviewers,win-reviewers,dao,rkraesig
Differential Revision: https://phabricator.services.mozilla.com/D190952
2023-10-16 17:16:21 +00:00
Emilio Cobos Álvarez
1783790bfe Bug 1857743 - Fix inactive color computation for windows-accent-in-titlebar. r=win-reviewers,rkraesig
This is more like what other browsers do, and makes more sense, it
actually blends the text-color with that opacity, which is what the
front-end uses.

Differential Revision: https://phabricator.services.mozilla.com/D190955
2023-10-16 17:15:50 +00:00
Marc Seibert
4df6917d72 Bug 1853418 - Prepare Urlbar Tests.r=dao
Differential Revision: https://phabricator.services.mozilla.com/D190554
2023-10-16 16:42:29 +00:00
Shane Hughes
2978fdf4bd Bug 1858769 - Fix intermittent failure on pb newtab promo test. r=omc-reviewers,negin
Differential Revision: https://phabricator.services.mozilla.com/D190864
2023-10-16 16:20:04 +00:00
Kelly Cochrane
d7be52313a Bug 1854603 - Truncate domains to one line for list items in Firefox View r=desktop-theme-reviewers,fxview-reviewers,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D190822
2023-10-16 16:12:26 +00:00
Narcis Beleuzu
4f09874c2d Merge central to autoland. CLOSED TREE 2023-10-16 20:32:37 +03:00
Sandor Molnar
0032520b4c Merge autoland to mozilla-central. a=merge 2023-10-16 18:49:50 +03:00
Brad Werth
9403801d41 Bug 1838693 Part 5: Update tests and test expectations. r=webgpu-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D190825
2023-10-16 15:32:01 +00:00
Brad Werth
038e9956c8 Bug 1838693 Part 4: Ensure that each Device is sent DeviceLost only once. r=webgpu-reviewers,nical
This tracks DeviceIds that have been sent DeviceLost in a hashmap that
is pruned when the Device is dropped. This reduces IPC traffic with the
expected use case of many calls returning after a device loss.

Differential Revision: https://phabricator.services.mozilla.com/D190962
2023-10-16 15:32:01 +00:00
Brad Werth
872b8a500d Bug 1838693 Part 3: Make GPUDevice::Destroy() trigger wgpu device_destroy, then device_drop. r=webgpu-reviewers,nical
This treats destroy as a 2-step process: wait on the destroy, then drop.

Differential Revision: https://phabricator.services.mozilla.com/D190238
2023-10-16 15:32:00 +00:00
Brad Werth
20f995376c Bug 1838693 Part 2: Rationalize GPUDevice lost promise handling. r=webgpu-reviewers,nical
This ensures that both internal and external triggers of "lose the
device" resolve the lost promise using the same code path.

Differential Revision: https://phabricator.services.mozilla.com/D190129
2023-10-16 15:32:00 +00:00
Brad Werth
52d53561f0 Bug 1838693 Part 1: Stub in 'lose the device' and trigger it on device lost errors. r=webgpu-reviewers,nical
This creates a WebGPUParent::LoseDevice entry point, which informs the
WebGPUChild that the device has been lost. The child side is largely a
stub, as a later part will rationalize the handling of the device.lost
promise in the child.

This also expands ErrorBufferType with a DeviceLost value. The
LoseDevice function is triggered for any error where webgpu_bindings
HasErrorBufferType error_type returns ErrorBufferType::DeviceLost.

Differential Revision: https://phabricator.services.mozilla.com/D188388
2023-10-16 15:31:59 +00:00
Andrew Osmond
3e3244b42a Bug 1858732 - Allow WebGPU to be enabled on DOM workers via a pref, disabled by default. r=webidl,webgpu-reviewers,saschanaz,nical
Differential Revision: https://phabricator.services.mozilla.com/D190830
2023-10-16 15:29:21 +00:00
Andrew Osmond
4a41fccf9d Bug 1859171 - Use AnimationFrameProvider mixin with DedicatedWorkerGlobalScope. r=webidl,emilio
This patch removes the duplicate definitions of requestAnimationFrame
and cancelAnimationFrame in DedicatedWorkerGlobalScope in favour of
using the AnimationFrameProvider mixin. We couldn't before when there
was a worker only pref limitation, but that was removed in another
patch.

This patch has no functional change.

Differential Revision: https://phabricator.services.mozilla.com/D191026
2023-10-16 15:28:28 +00:00