Commit Graph

940932 Commits

Author SHA1 Message Date
Mugurell
bbe69c157f Bug 1908330 - part 2 - Hide the navbar when entering search from home screen r=android-reviewers,skhan
This applies to when the user is on the home screen and the navbar is shown.
Currently in most situations we hide the home screen toolbar (addressbar + navbar) too early
and so for a split second there is no toolbar on the screen until the one for search is shown.

Moved to use the result listener framework which in tests is much faster than relying on store
updates to know if search is visible or not (instant vs ~60ms on a Pixel 6) which allows with
greater reliability to transition between the toolbar from the home screen and the toolbar
from the search screen.

Differential Revision: https://phabricator.services.mozilla.com/D228180
2024-11-20 17:59:07 +00:00
Mugurell
cc7eafad52 Bug 1908330 - part 1 - Hide the navbar when entering search from browser r=android-reviewers,skhan
This applies to when we navigate to the homescreen which initializes it's navbar and then
immediately opens the search dialog.
Previously we would hide the entire bottom toolbar (addressbar + navbar) which could lead
to situations in which there is no toolbar shown on the screen until the one from search
is visible.

Differential Revision: https://phabricator.services.mozilla.com/D228179
2024-11-20 17:59:07 +00:00
Mugurell
29bc58ce4c Bug 1928112 - Add the find in page bar as possible anchor for the download complete panel r=android-reviewers,harrisono
Also solve a related layout race with the find in page bar first appearing with a 0 height
and saving it as an anchor but for later layout changes we would not reposition the download
panel since in the meantime the height was updated to a bigger value and we'd assume this
bigger value was already used to position the download panel.
Now we'll ignore remembering an anchor if it's not visible or has a 0 height which will
allow to react more reliably to layout changes.

Differential Revision: https://phabricator.services.mozilla.com/D228968
2024-11-20 17:55:41 +00:00
Mugurell
c5ba976039 Bug 1928112 - Ensure the right translationY if the anchor changes during the animation r=android-reviewers,tchoh
There is a race between responding to layout changes and animating the download complete panel.
With the navbar enabled when changing device orientation the bottom toolbar cycles through
no toolbar, just the address bar, addressbar + navbar.
If the animation to show the panel starts while the toolbar layout is still updated then it
will set a wrong translationY for placing the download complete panel above the toolbar.
If the animation ends after the layout has settled then we will not update the anchor and the
right translationY again since other code this has already been set.
To overcome all this when the animation ends we will set the current toolbar height as the
translationY value need to correctly place the download complete panel above the toolbar.

Differential Revision: https://phabricator.services.mozilla.com/D228967
2024-11-20 17:55:41 +00:00
Kelly Cochrane
25b72de5d9 Bug 1932236 - Add documentation for animating the browser content area in docs/performance/bestpractices.md r=mconley,emilio
Differential Revision: https://phabricator.services.mozilla.com/D229542
2024-11-20 17:51:29 +00:00
Updatebot
5b5ae75604 Bug 1932290 - Update android nightly application-services version bump to c576470f1d73aa0100f2ca70faa404fffa88d75e r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D229572
2024-11-20 17:44:06 +00:00
Mozilla Releng Treescript
d3c4a2c1e4 no bug - Bumping Mobile l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
ach -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
an -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ar -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ast -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
az -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
be -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
bg -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
bn -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
br -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
bs -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ca -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
cak -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
cs -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
cy -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
da -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
de -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
dsb -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
el -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
en-CA -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
en-GB -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
eo -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
es-AR -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
es-CL -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
es-ES -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
es-MX -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
et -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
eu -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
fa -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ff -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
fi -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
fr -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
fy-NL -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ga-IE -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
gd -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
gl -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
gn -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
gu-IN -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
he -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
hi-IN -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
hr -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
hsb -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
hu -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
hy-AM -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ia -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
id -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
is -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
it -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ja -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ka -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
kab -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
kk -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
km -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
kn -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ko -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
lij -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
lo -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
lt -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ltg -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
lv -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
meh -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
mix -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ml -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
mr -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ms -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
my -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
nb-NO -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ne-NP -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
nl -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
nn-NO -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
oc -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
pa-IN -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
pl -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
pt-BR -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
pt-PT -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
rm -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ro -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ru -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
sk -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
sl -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
son -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
sq -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
sr -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
sv-SE -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ta -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
te -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
th -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
tl -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
tr -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
trs -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
uk -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ur -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
uz -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
vi -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
wo -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
xh -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
zam -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
zh-CN -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
zh-TW -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
2024-11-20 18:59:30 +00:00
Mozilla Releng Treescript
03fbd69418 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
ach -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
af -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
an -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ar -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ast -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
az -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
be -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
bg -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
bn -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
bo -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
br -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
brx -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
bs -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ca -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ca-valencia -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
cak -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ckb -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
cs -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
cy -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
da -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
de -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
dsb -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
el -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
en-CA -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
en-GB -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
eo -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
es-AR -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
es-CL -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
es-ES -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
es-MX -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
et -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
eu -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
fa -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ff -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
fi -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
fr -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
fur -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
fy-NL -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ga-IE -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
gd -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
gl -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
gn -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
gu-IN -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
he -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
hi-IN -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
hr -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
hsb -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
hu -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
hy-AM -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
hye -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ia -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
id -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
is -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
it -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ja -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ja-JP-mac -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ka -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
kab -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
kk -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
km -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
kn -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ko -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
lij -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
lo -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
lt -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ltg -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
lv -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
meh -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
mk -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
mr -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ms -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
my -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
nb-NO -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ne-NP -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
nl -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
nn-NO -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
oc -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
pa-IN -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
pl -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
pt-BR -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
pt-PT -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
rm -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ro -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ru -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
sat -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
sc -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
scn -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
sco -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
si -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
sk -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
skr -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
sl -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
son -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
sq -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
sr -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
sv-SE -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
szl -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ta -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
te -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
tg -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
th -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
tl -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
tr -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
trs -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
uk -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
ur -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
uz -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
vi -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
wo -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
xh -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
zh-CN -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
zh-TW -> 36db0f3cc1885bb8cdb424964067ac80f2f294ec
2024-11-20 18:59:23 +00:00
Sandor Molnar
a673c3f637 Backed out changeset 9da3a0e8291f (bug 1930893) for causing crashes @ mozilla::dom::RemoteWorkerController::Release CLOSED TREE 2024-11-20 20:43:03 +02:00
Cosmin Sabou
a98472cdeb Backed out changeset 55c366ee4422 (bug 1876178) for causing documentation failures. CLOSED TREE 2024-11-20 20:33:29 +02:00
Cosmin Sabou
c310fcedba Backed out changeset ffc3435411be (bug 1923653) for causing mass test failures. 2024-11-20 20:32:20 +02:00
KS
4a85fa6154 Bug 1928416 - Run jetstream2 benchmark on apple silicon + android. r=perftest-reviewers,fbilt
Currently lacking ARM coverage for the jetstream2 test, so this patch
enables it on the apple silicon and android A55 device.

Differential Revision: https://phabricator.services.mozilla.com/D228239
2024-11-20 17:34:31 +00:00
Nikki Sharpley
6025b34a2d Bug 1926788 - Update sidebar extensions and tools icons to match toolbar icons colors r=sidebar-reviewers,desktop-theme-reviewers,kcochrane,dao,hjones,reusable-components-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D228238
2024-11-20 17:32:31 +00:00
Eden Chuang
375183e50e Bug 1930893 - Ensure PRemoteWorkerNonLifeCycleOpController IPC channel be closed after Worker starting shutdown. r=dom-worker-reviewers,asuth
When a Worker starts shutdown, RemoteWorkerNonLifeCycleOpControllerChild will call SendTerminated() to the parent side to nullify the RemoteWorkerController::mNonLifeCycleOpController to forbidden message sending from RemoteWorkerController.

However, SendTermainted() does not close the IPC channel, this causes the channel still can send/receive messages from IPC internal mechanism.

This patch force to close the IPC channel when Shutdown/Terminated send.

Differential Revision: https://phabricator.services.mozilla.com/D229459
2024-11-20 17:24:51 +00:00
Nika Layzell
306b6e94a2 Bug 1932221 - Share AgentClusterId between system JS modules and chrome workers, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D229536
2024-11-20 17:10:35 +00:00
Nathan Barrett
27e8c3e077 Bug 1927916 - Add telemetry for Sections UI r=home-newtab-reviewers,thecount
Differential Revision: https://phabricator.services.mozilla.com/D228709
2024-11-20 17:10:21 +00:00
Luca Greco
d3514a124a Bug 1928258 - Extend expire version for extensions.startupCache write_byteLength/read_errors mirrored scalars to 140. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D229407
2024-11-20 17:08:25 +00:00
Maxx Crawford
2d04eb853d Bug 1930974 - Adjust top sites container to override parent wrapper r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D229575
2024-11-20 17:06:54 +00:00
Luca Greco
9d658b4797 Bug 1931889 - Add test case for blocklist and quarantined domains messagebars being both shown. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D229489
2024-11-20 17:03:16 +00:00
Luca Greco
ad3d38d0c7 Bug 1931889 - Add a new string for the extensions button tooltip on addons disabled through the add-ons blocklist. r=willdurand,fluent-reviewers
Depends on D229617

Differential Revision: https://phabricator.services.mozilla.com/D229393
2024-11-20 17:03:16 +00:00
Luca Greco
a484f1103e Bug 1917848 - Change extensions button message bars margin botton to use design tokens space css variable. r=desktop-theme-reviewers,hjones
This tweak does also increase the space between messagebars (and between messagebars and list of extension) a little bit
compared to the 2px value used originally.

Depends on D228677

Differential Revision: https://phabricator.services.mozilla.com/D229617
2024-11-20 17:03:16 +00:00
Luca Greco
92430da106 Bug 1917848 - Show blocklist attention dot and blocklist messagebar message on new hard/soft blocked extensions (Extensions Button frontend changes). r=fluent-reviewers,willdurand,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D228677
2024-11-20 17:03:15 +00:00
Luca Greco
767e1171fd Bug 1917848 - Show blocklist attention dot and blocklist messagebar message on new hard/soft blocked extensions (AOM/XPIProvider backend changes). r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D228676
2024-11-20 17:03:15 +00:00
Greg Mierzwinski
93ced1b5d9 Bug 1932288 - Regenerate perfdocs to fix failure. r=perftest-reviewers,kshampur DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D229642
2024-11-20 17:00:54 +00:00
Stephanie Cunnane
967224b4bf Bug 1876178 - Improve default search engine changed telemetry. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D224553
2024-11-20 16:58:21 +00:00
Dão Gottwald
ac41c569da Bug 1923653 - tab group UI: enable "delete group". r=tabbrowser-reviewers,sthompson
Differential Revision: https://phabricator.services.mozilla.com/D229507
2024-11-20 16:51:30 +00:00
Rob Wu
1e00c1b9f0 Bug 1911835 - Add support for multiple USER_SCRIPT worlds r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D228975
2024-11-20 16:50:14 +00:00
Rob Wu
8e540249d9 Bug 1911835 - Add sandbox for USER_SCRIPT world r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D228974
2024-11-20 16:50:14 +00:00
Rob Wu
c6451a49d3 Bug 1911835 - Accept USER_SCRIPT as world value in internals r=zombie
This patch adds the USER_SCRIPT value as a supported value in the
internal WebExtensionContentScript constructor.

This patch does not introduce a distinct USER_SCRIPT sandbox yet; that
will be done in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D228973
2024-11-20 16:50:14 +00:00
Rob Wu
2ce8ff0bb2 Bug 1911834 - Implement matches OR includeGlobs semantics for user scripts r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D228350
2024-11-20 16:50:13 +00:00
Rob Wu
f7d44cec32 Bug 1911833 - Add APIs to register user scripts r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D222494
2024-11-20 16:50:13 +00:00
Rob Wu
13387354d3 Bug 1911833 - Put userScripts permission behind pref r=zombie
Depends on D222492

Differential Revision: https://phabricator.services.mozilla.com/D222493
2024-11-20 16:50:12 +00:00
Rob Wu
15cb125878 Bug 1911833 - Add MV3 userScripts namespace, separate from MV2 r=zombie
- Add "userScripts" permission for MV3.

- Add "userScripts" namespace for MV3, and add schema and logic to make
  sure that this namespace is limited to MV3 only.

- Add tests to verify that the "userScripts" namespace of MV2 and MV3
  are completely isolated.

- The functionality in this patch is limited to verifying that the API
  bindings and permission requirement works; the rest of the
  implementation will follow in the next patches.

Depends on D223016

Differential Revision: https://phabricator.services.mozilla.com/D222492
2024-11-20 16:50:12 +00:00
Rob Wu
e7fedba54d Bug 1911833 - Skip userScripts in GenerateWebIDLBindings.py r=rpl
Although the bindings generator skips MV2-only APIs at some point
(https://searchfox.org/mozilla-central/rev/1bc0601cc5b3d4c3919d220acbe248221ebce035/toolkit/components/extensions/webidl-api/GenerateWebIDLBindings.py#337-338),
that only happens after loading all schemas. Because user_scripts.json
contains multiple userScripts.register definitions (one for MV2 and one
for MV3), GenerateWebIDLBindings.py raised the following error before
this patch:

> TypeError: Unxpected multiple schema data for API property "userScripts.register" in schema group toolkit

This patch fixes the issue by ignoring the schemas that define the
userScripts API, and now the following test passes again:

```
./mach test toolkit/components/extensions/webidl-api/test/test_all_schemas_smoketest.py
```

Differential Revision: https://phabricator.services.mozilla.com/D227969
2024-11-20 16:50:12 +00:00
Andrew McCreight
221b1aac47 Bug 1931877, part 3 - Add a "nothing" comment for all empty do loops in Assertions.h. r=glandium
My initial version of my patch for part 1 didn't have a "nothing" comment
because I copied the empty loop from somewhere that didn't have it. If
the comment is appropriate, let's make things consistent while I'm
touching this file anyways.

Differential Revision: https://phabricator.services.mozilla.com/D229500
2024-11-20 16:37:50 +00:00
Andrew McCreight
67817a936e Bug 1931877, part 2 - Replace 2 arg MOZ_DIAGNOSTIC_ASSERT(false) with MOZ_DIAGNOSTIC_CRASH. r=necko-reviewers,win-reviewers,glandium,rkraesig,valentin
Differential Revision: https://phabricator.services.mozilla.com/D229361
2024-11-20 16:37:50 +00:00
Andrew McCreight
e239bce2c0 Bug 1931877, part 1 - Define MOZ_DIAGNOSTIC_CRASH. r=glandium
Also use it in MOZ_ALWAYS_TRUE and fix up the comment.

Differential Revision: https://phabricator.services.mozilla.com/D229360
2024-11-20 16:37:49 +00:00
Aaditya Dhingra
103af1a274 Bug 1930153 - Set accessibility delegate to inform talkback that "New Tab" is a button. r=android-reviewers,007
Differential Revision: https://phabricator.services.mozilla.com/D229223
2024-11-20 16:35:17 +00:00
Paul Adenot
4bfef933b7 Bug 1925446 - Add a pref to disable the software fallback logic when decoding in hardware with ffmpeg on Linux. r=media-playback-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D229638
2024-11-20 16:23:04 +00:00
Eric Chen
6697e944f6 Bug 1917651 - Add a shutdown blocker to ensure update ping will be sent before Firefox exits r=bytesized,firefox-desktop-core-reviewers ,mossop
Differential Revision: https://phabricator.services.mozilla.com/D227396
2024-11-20 16:20:04 +00:00
Manuel Bucher
d27f1ce239 Bug 1931316 - Update nsTSubstring::SetCapacity documentation to not mention outdated special case of calling AppendLiteral on empty string r=xpcom-reviewers,emilio DONTBUILD
Behavior changed in Bug 1487606 with test covering the case:
gTest "Strings.append_literal_with_capacity"

Differential Revision: https://phabricator.services.mozilla.com/D229635
2024-11-20 16:19:01 +00:00
Aaditya Dhingra
8ac42837da Bug 1930170 - Update custom tab menu button when changing orientation. r=android-reviewers,petru
Differential Revision: https://phabricator.services.mozilla.com/D228764
2024-11-20 16:16:51 +00:00
Norisz Fay
63b44dbec9 Backed out changeset 95c3415cf3f5 (bug 1794092) for causing bc failures on browser_appendSpanCount.js CLOSED TREE 2024-11-20 18:46:17 +02:00
Ryan VanderMeulen
b850128ed6 Bug 1930744 - Clean up UnusedPrivateMember suppressions in HistoryFragment. r=android-reviewers,rsainani
Differential Revision: https://phabricator.services.mozilla.com/D229631
2024-11-20 16:11:07 +00:00
Ryan VanderMeulen
bcd1cac1d4 Bug 1932353 - Remove UnusedPrivateMember suppression from Focus GleanMetricsService. r=android-reviewers,rsainani
Differential Revision: https://phabricator.services.mozilla.com/D229630
2024-11-20 16:11:06 +00:00
Kagami Sascha Rosylight
8623165f66 Bug 1932268 - Update WPT metadata r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D229618
2024-11-20 16:11:03 +00:00
Andrew Sutherland
40b6bf22b1 Bug 1931391 - Simplify ServiceWorkerRegistration.showNotification steps. r=saschanaz
Changes in Bug 1131324 made it possible for
ServiceWorkerRegistration.showNotification to be invoked from Dedicated
and Shared Workers where previously it could only be invoked from
Service Workers.  The fuzzer discovered this new possibility for which
we did not have test coverage for and revealed that the code would call
a WorkerPrivate method that required the global be a ServiceWorker which
causes a diagnostic assert or a release assert depending on the build
type.

It turns out the check in question was enforcing a constraint not
required by the spec that only the active worker associated with the
registration can cause a notification to be shown associated with the
registration.  All that is required is that the registration have some
active worker.

When addressing this it also turned out that since the initial
implementation of the notifications API there has been an unneccessary
check that the principal associated with the global is same-origin to
the scope.  This check additionally required a sync runnable to be
dispatched to the main thread.  This check was unnecessary and has been
removed.  All ServiceWorkerRegistrations exposed to a global are
inherently same-origin to the global and the check as implemented was
not aware of the effective storage principal and was just using the
(node) principal.  (And any checks concerned about dealing with a rogue
content process would need to take place in the parent process, not the
potentially rogue content process.)

For testing, the recently updated test
`test_notification_serviceworker_show.html` has been forked to provide
dedicated worker coverage.  If the test is run without the fix in this
patch applied, the expected assertion trips.

Differential Revision: https://phabricator.services.mozilla.com/D229561
2024-11-20 16:05:33 +00:00
Cristina Horotan
dd2cbde031 Backed out changeset a4bbf81aefbb (bug 1914596) on request for causing Bug 1927838 2024-11-20 18:02:12 +02:00
AndiAJ
b61d7f9790 Bug 1932367 - Fix failing openCustomTabInFirefoxTest r=aaronmt
Failures caused by [[ https://phabricator.services.mozilla.com/D229395 | this ]] change.
To fix the UI test I had to "Open in Firefox" button description.

The UI test successfully passed 10x on Firebase 

Differential Revision: https://phabricator.services.mozilla.com/D229634
2024-11-20 15:51:42 +00:00
AR
ce1dc2946b Bug 1465026 - Font properties are rounded in the inspector. r=jdescottes,devtools-reviewers The toFixed function in font utils now throws an error when the input is not a number
Differential Revision: https://phabricator.services.mozilla.com/D228546
2024-11-20 15:51:28 +00:00