Commit graph

5615 commits

Author SHA1 Message Date
Florian Quèze
f910267fcf Bug 1842682 - Remove unused ChromeUtils.requestIOActivity and IOActivityMonitor, r=necko-reviewers,valentin.
Differential Revision: https://phabricator.services.mozilla.com/D210680
2024-05-17 14:03:21 +00:00
Tamas Szentpeteri
db7f7b5ddf Backed out 3 changesets (bug 1894703) for causing failures related to DOCSHELL logging. CLOSED TREE
Backed out changeset f9a8141501a7 (bug 1894703)
Backed out changeset e8eb7ab47374 (bug 1894703)
Backed out changeset a84074f814da (bug 1894703)
2024-05-16 21:12:06 +03:00
Julien Wajsberg
1aac081054 Bug 1894703 - Add the new preference to the static preference list r=padenot
This makes the new preference searchable in about:config, which is
very useful on Android.

This also moves the existing preference logging.config.clear_on_startup
to StaticPrefList.yaml.

Differential Revision: https://phabricator.services.mozilla.com/D210352
2024-05-16 15:51:08 +00:00
Sean
6e64f17fb2 Bug 1895005 - Remove network.http.originextension pref r=gregp,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D209851
2024-05-15 20:43:20 +00:00
Irene Ni
2a58ce3bb3 Bug 1880656 - Add font weight and font type controls in Reader menu. r=reader-mode-reviewers,fluent-reviewers,desktop-theme-reviewers,flod,cmkm,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D208929
2024-05-15 01:56:07 +00:00
Jon Coppeard
0cf7156d6d Bug 1895661 - Part 2: Add browser prefs for GC zeal r=sfink
There was existing code to read the prefs, but the prefs themselves had been removed.

I renamed the prefs in line with all the other JS GC options, so starting
javascript.options.mem.gc_.

Differential Revision: https://phabricator.services.mozilla.com/D210059
2024-05-13 16:31:20 +00:00
Andreas Pehrson
4cd1a7db68 Bug 1895787 - Disable platform processing on macOS. r=webrtc-reviewers,dbaker
Currently it leaves a residual echo with some input/output device pairs.

Differential Revision: https://phabricator.services.mozilla.com/D209865
2024-05-08 20:48:26 +00:00
Valentin Gosu
ceaf2a07d3 Bug 1895226 - Add HTTPS record support to Network connectivity service r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D209529
2024-05-08 07:49:31 +00:00
Andreas Pehrson
78bc1a58bc Bug 1404972 - Add a pref for platform audio processing. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D205950
2024-05-06 19:54:01 +00:00
Andreas Pehrson
cfcf8cb3f9 Bug 1404972 - Rename audio input prefs to be more consistent. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D205940
2024-05-06 19:53:57 +00:00
Stanca Serban
614498681a Backed out 35 changesets (bug 1404972) for causing cppunit assertion failures in mozilla/Result.h. CLOSED TREE
Backed out changeset 703bcdb5aed1 (bug 1404972)
Backed out changeset 43134f8cd283 (bug 1404972)
Backed out changeset abcec791bf5f (bug 1404972)
Backed out changeset 02b7f8ee802c (bug 1404972)
Backed out changeset dacf1411a3d9 (bug 1404972)
Backed out changeset 15136efd0662 (bug 1404972)
Backed out changeset f1cd90f5d1b6 (bug 1404972)
Backed out changeset 3143c92d0e2e (bug 1404972)
Backed out changeset 257f310d5c8e (bug 1404972)
Backed out changeset ab73b50399ef (bug 1404972)
Backed out changeset a63110e6bf55 (bug 1404972)
Backed out changeset 346a34408207 (bug 1404972)
Backed out changeset bc211f44281f (bug 1404972)
Backed out changeset 9be7b1767e46 (bug 1404972)
Backed out changeset 48832f645357 (bug 1404972)
Backed out changeset 57e38c2622bf (bug 1404972)
Backed out changeset 20a15e46829b (bug 1404972)
Backed out changeset 4a148ddfc1cd (bug 1404972)
Backed out changeset 9de637c307ad (bug 1404972)
Backed out changeset 6f3aebf42327 (bug 1404972)
Backed out changeset de46ffac7541 (bug 1404972)
Backed out changeset 2e038afae950 (bug 1404972)
Backed out changeset 63765ab9e647 (bug 1404972)
Backed out changeset 152a456a7af1 (bug 1404972)
Backed out changeset 0824e75bd26c (bug 1404972)
Backed out changeset c6462cae6c8b (bug 1404972)
Backed out changeset bd41873e1f03 (bug 1404972)
Backed out changeset 9595c4451fc1 (bug 1404972)
Backed out changeset 23d0f7682a5f (bug 1404972)
Backed out changeset 08c9467086bf (bug 1404972)
Backed out changeset ea7779289030 (bug 1404972)
Backed out changeset 8cf8b6f1a41e (bug 1404972)
Backed out changeset c3538c05fb0c (bug 1404972)
Backed out changeset 0128d95e64ef (bug 1404972)
Backed out changeset ed2fdc7b602d (bug 1404972)
2024-05-06 19:21:08 +03:00
Andreas Pehrson
8ed7c0db33 Bug 1404972 - Add a pref for platform audio processing. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D205950
2024-05-06 13:50:21 +00:00
Andreas Pehrson
deacd06092 Bug 1404972 - Rename audio input prefs to be more consistent. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D205940
2024-05-06 13:50:17 +00:00
Emilio Cobos Álvarez
5f05578314 Bug 1036966 - Make accessibility.tabfocus default to 7 on macOS too. r=morgan,settings-reviewers,mac-reviewers,mstange
Stop supporting following the system preference, but keep macOS users
able to switch to just text controls (accessibility.tabfocus=1) in the
settings.

Change the meaning of the "Use the tab key to move focus between form
controls and links" checkbox in the Firefox settings, which was
introduced in bug 1628476 to override the system setting.

The intention, I think was that this checkbox being off resulted in
"follow the system" behavior, but that didn't quite happen due to a bug
in the preferences code (this[1] won't unset the pref, because of
this[2], which means we'll just return 0).

This patch changes it so that the checkbox instead always ignores the
system setting. There will no longer be a Firefox setting (neither in
the UI nor on about:config) that means "follow system setting".

This allows us to somewhat simplify the approach compared to the
previous patch in D196110, and keep the accessibility.tabfocus working
as the source of truth without a migration.

In the future, we can think of migrating accessibility.tabfocus to a
boolean pref, which would allow us to do the cleanups to the preferences
code that D196110 did.

[1]: https://searchfox.org/mozilla-central/rev/f1532761de0b60337e42c6c3f525288a523dabef/browser/components/preferences/main.js#2252
[2]: https://searchfox.org/mozilla-central/rev/f1532761de0b60337e42c6c3f525288a523dabef/toolkit/content/preferencesBindings.js#450,483

Differential Revision: https://phabricator.services.mozilla.com/D208602
2024-05-03 23:10:47 +00:00
Tomislav Jovanovic
9fd11ac2ef Bug 1889402 - Grant origin permissions during install for mv3 r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D208426
2024-05-03 16:05:15 +00:00
Tamas Szentpeteri
38377227b8 Backed out changeset 644738c3ccfe (bug 1036966) for causing mochitest failures in test_tabindex.html. CLOSED TREE 2024-05-03 04:18:36 +03:00
Emilio Cobos Álvarez
06e782e1bf Bug 1036966 - Make accessibility.tabfocus default to 7 on macOS too. r=morgan,settings-reviewers,mac-reviewers,mstange
Stop supporting following the system preference, but keep macOS users
able to switch to just text controls (accessibility.tabfocus=1) in the
settings.

Change the meaning of the "Use the tab key to move focus between form
controls and links" checkbox in the Firefox settings, which was
introduced in bug 1628476 to override the system setting.

The intention, I think was that this checkbox being off resulted in
"follow the system" behavior, but that didn't quite happen due to a bug
in the preferences code (this[1] won't unset the pref, because of
this[2], which means we'll just return 0).

This patch changes it so that the checkbox instead always ignores the
system setting. There will no longer be a Firefox setting (neither in
the UI nor on about:config) that means "follow system setting".

This allows us to somewhat simplify the approach compared to the
previous patch in D196110, and keep the accessibility.tabfocus working
as the source of truth without a migration.

In the future, we can think of migrating accessibility.tabfocus to a
boolean pref, which would allow us to do the cleanups to the preferences
code that D196110 did.

[1]: https://searchfox.org/mozilla-central/rev/f1532761de0b60337e42c6c3f525288a523dabef/browser/components/preferences/main.js#2252
[2]: https://searchfox.org/mozilla-central/rev/f1532761de0b60337e42c6c3f525288a523dabef/toolkit/content/preferencesBindings.js#450,483

Differential Revision: https://phabricator.services.mozilla.com/D208602
2024-05-02 22:19:53 +00:00
Tom Schuster
b566e47150 Bug 1888695 - Add a pref for the iframe XFO/CSP Open In New Window button. r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D206911
2024-05-02 10:55:56 +00:00
Emilio Cobos Álvarez
a306ea0c5a Bug 1893949 - Don't use a semi-transparent autofill background. r=issammani
This was needed because we didn't use to override the color of the
textfield, so it needed to work with whatever color was there already.

Now that we enforce the color however, there's no point on it being
semi-transparent.

Add a darker version of the color so that it also works on dark mode
(<input style="color-scheme: dark"> or so).

Now that it's opaque, there's no need for Theme.cpp to blend with the
field background.

Differential Revision: https://phabricator.services.mozilla.com/D209021
2024-04-30 23:34:27 +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
Norisz Fay
b4bb722de5 Backed out changeset dc425d760d09 (bug 1817163) for causing dt failures on browser_interaction-between-interfaces.js CLOSED TREE 2024-04-29 18:54:49 +03:00
Nazım Can Altınova
0edb2844bd 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-29 14:57:37 +00:00
William Durand
dcf4447762 Bug 1893116 - Remove built-in abuse report UI. r=rpl,geckoview-reviewers,desktop-theme-reviewers,emilio,amejiamarmol
This patch removes both the backend and UI code related to the built-in
abuse reporting feature. I kept the ability to disable abuse reporting
with the `extensions.abuseReport.enabled` pref. Other prefs related to
the old abuse reporting feature have been removed.

Some tests have been deleted because they aren't relevant anymore.

On the web API side, both the property and method have been removed
since only AMO consumes these APIs and AMO already supports the absence
of these APIs. That is also why GeckoView has been slightly updated.

We do not collect Telemetry with the new AMO (abuse report) form so
all the Telemetry bits have been removed as well.

Differential Revision: https://phabricator.services.mozilla.com/D208457
2024-04-29 13:56:26 +00:00
Irene Ni
a0a87ee0e4 Bug 1880654 - Created slider reusable component for Reader menu. r=reader-mode-reviewers,fluent-reviewers,desktop-theme-reviewers,reusable-components-reviewers,accessibility-frontend-reviewers,flod,hjones,ayeddi,cmkm,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D206746
2024-04-26 19:10:45 +00:00
Irene Ni
dd5d018a83 Bug 1880658 - Added text alignment controls in Reader menu. r=reader-mode-reviewers,fluent-reviewers,desktop-theme-reviewers,flod,Itiel,cmkm
Differential Revision: https://phabricator.services.mozilla.com/D206246
2024-04-26 19:10:45 +00:00
Calixte
7d5596384f Bug 1867513 - Enable highlighting in a PDF in beta 126 r=marco
Differential Revision: https://phabricator.services.mozilla.com/D208547
2024-04-24 20:45:07 +00:00
Byron Campen
93d0f5cac4 Bug 1884140: Allow the use of DTLS 1.3 on release/beta. r=mjf
Depends on D208147

Differential Revision: https://phabricator.services.mozilla.com/D208148
2024-04-24 15:29:00 +00:00
Denis Palmeiro
de9d7d820e Bug 1892242: Increase maximum nursery size to 64MB. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D207872
2024-04-22 13:42:08 +00:00
Narcis Beleuzu
51ec86ec8c Backed out changeset eed297665148 (bug 1891145) for bc failure on browser_preferences_usage.js 2024-04-19 02:00:54 +03:00
Daisuke Akatsuka
beb925b7ea Bug 1891145: Implement history flooding protection r=places-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D207324
2024-04-18 21:04:03 +00:00
Stanca Serban
89b79022bf Backed out changeset 350af7271fad (bug 1892242) for causing SM bustages in testGCOutOfMemory.cpp. 2024-04-18 23:46:29 +03:00
Denis Palmeiro
09374462e4 Bug 1892242: Increase maximum nursery size to 64MB. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D207872
2024-04-18 18:24:56 +00:00
Nipun Shukla
78d468b22c Bug 1889232 - Removed firefox-bridge and firefox-private-bridge protocol creation r=mhughes,Gijs,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206419
2024-04-18 15:18:04 +00:00
Sandor Molnar
07907ed334 Backed out changeset f85447f6f56d (bug 1891145) for causing mochitest failures @ browser_visituri_restriction.js CLOSED TREE 2024-04-18 08:23:25 +03:00
Daisuke Akatsuka
1f1d914de0 Bug 1891145: Implement history flooding protection r=places-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D207324
2024-04-18 01:55:19 +00:00
Iulian Moraru
9f43c4f202 Backed out changeset 977027e73ec0 (bug 1889232) for causing windows mass failures. 2024-04-18 01:13:29 +03:00
Nipun Shukla
e177223cf6 Bug 1889232 - Removed firefox-bridge and firefox-private-bridge protocol creation r=mhughes,Gijs,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206419
2024-04-17 19:13:22 +00:00
pstanciu
469de1ccbd Backed out changeset b50e38a82a4b (bug 1891145) for causing bustages in History.h CLOSED TREE 2024-04-17 15:11:42 +03:00
Daisuke Akatsuka
2da9b49fd1 Bug 1891145: Implement history flooding protection r=places-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D207324
2024-04-17 10:40:44 +00:00
Tarek Ziadé
126b86b417 Bug 1887826 - Implement the Transformers.js based Pipeline for alt-text r=gregtatum,translations-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D206015
2024-04-17 08:31:24 +00:00
Jon Coppeard
77af3c2f55 Bug 1821671 - Part 2: Add pref for setting the maximum number of marking threads to use r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D207288
2024-04-16 14:33:15 +00:00
Jonathan Kew
421d1818e1 Bug 1891545 - Migrate gfx.downloadable_fonts.disable_cache to StaticPrefList. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D207553
2024-04-16 13:42:20 +00:00
Randell Jesup
22df14537c Bug 1871963: Implement zstd content-encoding support r=necko-reviewers,valentin,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D205109
2024-04-09 15:26:46 +00:00
Tamas Szentpeteri
1f27a4022f Backed out 3 changesets (bug 1871963) for causing dt failures on browser_net_copy_as_powershell.js. CLOSED TREE
Backed out changeset 94e286542c9d (bug 1871963)
Backed out changeset dc2ad0369b86 (bug 1871963)
Backed out changeset 9fb8ccb2f305 (bug 1871963)
2024-04-09 17:24:37 +03:00
Randell Jesup
b1ad40b8ee Bug 1871963: Implement zstd content-encoding support r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D205109
2024-04-09 12:31:56 +00:00
Gijs Kruitbosch
e790dbc058 Bug 1887712 - remove the unused prompts.modalType.httpAuth pref, r=pbz,necko-reviewers,credential-management-reviewers,sgalich,issammani,valentin
Differential Revision: https://phabricator.services.mozilla.com/D206684
2024-04-08 13:46:38 +00:00
Mark Banner
a3614754e4 Bug 1889752 - Enable the new search configuration globally on nightly builds. r=mcheang
This moves the enabling to all.js, so that it is enabled for Thunderbird as well - now that Thunderbird is set up with their own version of the configuration.

Differential Revision: https://phabricator.services.mozilla.com/D206695
2024-04-06 09:08:14 +00:00
Andrew Creskey
d48f527b62 Bug 1816539 - Consider increasing the number of sockets available for speculative connect (currently 6) r=necko-reviewers,valentin
We know that we frequently hit this limit and so, based on observed performance improvements in sub-resource connection times, we are increasing it to 20.
Note that this is very conservative as on desktop we see no sign of overall socket pool exhaustion.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1819556

Android changes will follow as we currently have a much smaller overall socket pool on that platform.

Differential Revision: https://phabricator.services.mozilla.com/D206406
2024-04-04 12:26:30 +00:00
Tom Ritter
c8e3989334 Bug 1882422: JSActor and Component Structure to get some data back from JS-land in C++-land r=Gijs
- Create a new XPCOM component UserCharacteristicsPageService backed by
  a JS implementation.  It will be accessed as a Service, so there is
  only ever one of them
- Inside UserCharacteristicsPageService use a HiddenFrame to open a
  page invisible to the user. (In this patch it's a random https://
  site, in the next patch it will become an about: page)
- Create a Parent/Child JSWindowActor so that the hidden webpage (which
  will eventually be in the privilegedabout content process) can
  communicate back to the parent.
- Use Topics/Observers so the Actor can be registered when we need it
  and then unregistered when we're done. The registering occurs in a
  RFPHelper which a separate thing already running and listening for
  stuff.
- Inside nsUserCharacteristics.cpp::CanvasStuff() we ask our service
  to load the webpage, then will await a promise indicating the page has
  been loaded. That promise is the return value of
  UserCharacteristicsPageService::createContentPage()  and is resolved after
  UserCharacteristicsPageService::pageLoaded calls backgroundResolve().
  That, in turn, happens after UserCharacteristicsParent gets the
  message from UserCharacteristicsChild that the DOMContentLoaded
  event has occurred.

The HiddenFrame stuff is influenced by PageDataService.sys.mjs -
that's where the HiddenBrowserManager stuff came from.

In the next patch we'll actually do something when that promise is
resolved.

Differential Revision: https://phabricator.services.mozilla.com/D202893
2024-04-03 23:43:16 +00:00
Irene Ni
f701879f1c Bug 1876432 - Added support for custom themes as its own menu in Reader View. r=reader-mode-reviewers,fluent-reviewers,desktop-theme-reviewers,hjones,accessibility-frontend-reviewers,bolsson,devtools-reviewers,sfoster,cmkm,jules,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D204519
2024-04-02 00:08:46 +00:00