Commit Graph

21309 Commits

Author SHA1 Message Date
Tom Ritter
004aa220f2 Bug 1791814: Address two preferences showing up in telemetry r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D158989
2022-10-12 14:22:28 +00:00
Dana Keeler
ad795fde70 Bug 1520297 - enable intermediate preloading on Android r=jschanck
The current collection of preloaded intermediates is under 3MB. This should not
be a prohibitive amount for mobile users to download. Once downloaded, updates
to the collection are minimal and again should not be an issue.

Differential Revision: https://phabricator.services.mozilla.com/D159092
2022-10-11 21:53:59 +00:00
sotaro
f118dae980 Bug 1791693 - Enable RemoteTexture on WebGL with sync present until early beta r=jgilbert,gfx-reviewers
With the following prefs, RemoteTexture is enabled on WebGL with sync present. RemoteTexture  with sync present does not break spec.
- webgl.out-of-process.async-present = true
- webgl.out-of-process.async-present.force-sync = true

By using RemoteTexture,  gl::SharedSurface could be recycled. The recycling should improve WebGL performance.

RemoteTexture was originally implemented for async present. But with pref webgl.out-of-process.async-present.force-sync = true, it works as sync present.

Differential Revision: https://phabricator.services.mozilla.com/D157775
2022-10-11 04:20:38 +00:00
Tooru Fujisawa
6d6b4cf34d Bug 1789560 - Do not define unused float_t type in fdlibm. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D157540
2022-10-11 03:56:16 +00:00
Jonathan Kew
1384a41aaa Bug 1794277 - Enable the CSS @supports font-tech() and font-format() queries, and tech() in @font-face src descriptors. r=emilio
Depends on D158914

Differential Revision: https://phabricator.services.mozilla.com/D158915
2022-10-10 18:16:29 +00:00
Jonathan Kew
5393328011 Bug 1794091 - Enable CSS font-palette support for all channels by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D158914
2022-10-10 18:16:29 +00:00
Artur Iunusov
ada494c889 Bug 1170615 - content process invocations now includes current profile r=smaug
- enabling ProcessProfileName allows displaying the current profile name in Task Manager
- example: default:example.com

Differential Revision: https://phabricator.services.mozilla.com/D157890
2022-10-10 16:52:01 +00:00
Frederic Wang
4766c8a994 Bug 1793387 - disable lquote/rquote attributes on the <ms> element. r=emilio
This commit introduces a MathML preference for the legacy implementation
of the lquote/rquote attributes, and disable it by default. This feature
is not implemented in Chromium or WebKit, not part of MathML Core and
Firefox's implementation has issues (e.g. bugs 787215 and 1108608).

Differential Revision: https://phabricator.services.mozilla.com/D158479
2022-10-08 11:37:32 +00:00
Jonathan Kew
6cbd59c9a6 Bug 1791777 - patch 1 - Implement CSS parsing for the @font-palette-values rule. r=emilio
Not yet hooked up to any rendering functionality.

The intention is for both the @font-palette-values at-rule and the font-palette property
to be behind the same pref being introduced here.

Differential Revision: https://phabricator.services.mozilla.com/D157953
2022-10-07 23:00:43 +00:00
Noemi Erli
5b0216e320 Backed out 9 changesets (bug 1791778, bug 1791782, bug 1791780, bug 1791777) for causing build bustages in TestCOLRv1.cpp CLOSED TREE
Backed out changeset aeb44b79bf31 (bug 1791782)
Backed out changeset 292fd3a1b6dd (bug 1791782)
Backed out changeset 9947218170d0 (bug 1791780)
Backed out changeset 528b4c022a44 (bug 1791778)
Backed out changeset c734ff661a66 (bug 1791778)
Backed out changeset 6585dd386ee3 (bug 1791777)
Backed out changeset af4243189ef1 (bug 1791777)
Backed out changeset a47ae5f76514 (bug 1791777)
Backed out changeset 24ce615e77fd (bug 1791777)
2022-10-08 00:08:57 +03:00
Jonathan Kew
5cb74acb98 Bug 1791777 - patch 1 - Implement CSS parsing for the @font-palette-values rule. r=emilio
Not yet hooked up to any rendering functionality.

The intention is for both the @font-palette-values at-rule and the font-palette property
to be behind the same pref being introduced here.

Differential Revision: https://phabricator.services.mozilla.com/D157953
2022-10-07 18:58:50 +00:00
Cristian Tuns
18e597b504 Backed out 9 changesets (bug 1791777, bug 1791780, bug 1791778, bug 1791782) for causing build bustages on TestCOLRv1.cpp CLOSED TREE
Backed out changeset f145a34cfbc1 (bug 1791782)
Backed out changeset 2f12216fbeda (bug 1791782)
Backed out changeset 61bd2a4496bf (bug 1791780)
Backed out changeset 4e4eb99a7fd9 (bug 1791778)
Backed out changeset 32d171a28810 (bug 1791778)
Backed out changeset e317795cd27a (bug 1791777)
Backed out changeset 5e32d5a01917 (bug 1791777)
Backed out changeset cf87497dbead (bug 1791777)
Backed out changeset 586c735b005e (bug 1791777)
2022-10-07 13:46:43 -04:00
Jonathan Kew
782b403c72 Bug 1791777 - patch 1 - Implement CSS parsing for the @font-palette-values rule. r=emilio
Not yet hooked up to any rendering functionality.

The intention is for both the @font-palette-values at-rule and the font-palette property
to be behind the same pref being introduced here.

Differential Revision: https://phabricator.services.mozilla.com/D157953
2022-10-07 16:53:33 +00:00
Norisz Fay
30ef428f43 Backed out 9 changesets (bug 1791780, bug 1791782, bug 1791778, bug 1791777) for causing multiple mochitest failures CLOSED TREE
Backed out changeset 6de1ade5a9b6 (bug 1791782)
Backed out changeset ce96452a38a1 (bug 1791782)
Backed out changeset 7cc8e027f5a7 (bug 1791780)
Backed out changeset 8e023280032c (bug 1791778)
Backed out changeset 26d65d76d02a (bug 1791778)
Backed out changeset a98dd552df64 (bug 1791777)
Backed out changeset 766386309ee5 (bug 1791777)
Backed out changeset 7de66a218ba4 (bug 1791777)
Backed out changeset 1d17c257444e (bug 1791777)
2022-10-07 17:36:38 +03:00
Byron Campen [:bwc]
92654417d7 Bug 1793776: Add media.peerconnection.sdp.disable_stereo_fmtp r=jib
Setting this pref to true will result in stereo=0 in the fmtp for opus.

Differential Revision: https://phabricator.services.mozilla.com/D158697
2022-10-07 13:07:18 +00:00
Edgar Chen
b143209d43 Bug 1736340 - Do not treat the click on scrollbar as a user interaction with the web content; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D157862
2022-10-07 12:44:19 +00:00
Jonathan Kew
961d91154b Bug 1791777 - patch 1 - Implement CSS parsing for the @font-palette-values rule. r=emilio
Not yet hooked up to any rendering functionality.

The intention is for both the @font-palette-values at-rule and the font-palette property
to be behind the same pref being introduced here.

Differential Revision: https://phabricator.services.mozilla.com/D157953
2022-10-07 12:16:51 +00:00
Marian-Vasile Laza
6eae94959e Backed out changeset b83d1dcde338 (bug 1736340) for causing mochitest failures on test_useractivation_scrollbar.html. CLOSED TREE 2022-10-06 23:38:35 +03:00
Edgar Chen
eb7756bcd1 Bug 1736340 - Do not treat the click on scrollbar as a user interaction with the web content; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D157862
2022-10-06 19:35:53 +00:00
Dimi
6ce872d7b4 Bug 1792995 - P3. Enable using fathom to identify cc-name field. r=sgalich
This patch change the behavior of the following two cases:
1. Before this patch, if a form contains a cc-name field and a cc-exp
   field that are both identified by regex-based heuristic, we consider
   it a valid cc section in Nighty build.

   After this patch, the above case only consider a valud cc section when the cc-name field is
   identified by fathom. This applys to all builds.

2. Before this patch, a form contains only a cc-name field without
   autocomplete attribute is never considered a valid cc section.

   After this patch, a form contains only a cc-name field is considered
   a valid cc section when fathom is confident

Differential Revision: https://phabricator.services.mozilla.com/D158648
2022-10-06 17:07:18 +00:00
Dimi
ec568ffd8c Bug 1792995 - P2. Add a 'fathom' prefix to formautofill fathom related preferences r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D158647
2022-10-06 17:07:17 +00:00
Dimi
b7842d66a8 Bug 1792995 - P1. Add a preference to determine what types of credit card fields are checked by fathom. r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D158646
2022-10-06 17:07:17 +00:00
Kershaw Chang
df9e202b62 Bug 1768250 - Don't always do 0RTT for HTTP/2, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D148513
2022-10-06 12:56:02 +00:00
Kershaw Chang
62cd9065c3 Bug 1720601 - Allow token cache to store more than one token per key, r=necko-reviewers,dragana
1. Allow to store more than one token per key.
2. Allow to use the token only once. The token will be removed after reading it.
3. Add a gtest.

Differential Revision: https://phabricator.services.mozilla.com/D153605
2022-10-06 12:56:01 +00:00
Dragana Damjanovic
769e4a1a04 Bug 1772200 - Add a pref to enable the QUIC version negotiation. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D148096
2022-10-06 12:02:31 +00:00
Csoregi Natalia
a679f9bf10 Backed out 2 changesets (bug 1793776) for causing gtest failures. CLOSED TREE
Backed out changeset 550d731db269 (bug 1793776)
Backed out changeset 6bde87499ce2 (bug 1793776)
2022-10-06 05:54:56 +03:00
Dan Robertson
0e8347096e Bug 1785105 - Fire scrollend events. r=hiro,emilio
Fire scrollend events to the document and elements if
apz.scrollend.event.enabled is set. If the guarding preference is not set,
fire a chrome-only event to preserve the pre-existing behavior.

Differential Revision: https://phabricator.services.mozilla.com/D157652
2022-10-06 01:07:16 +00:00
Byron Campen [:bwc]
b6bdd0f2b8 Bug 1793776: Add media.peerconnection.sdp.disable_stereo_fmtp r=jib
Setting this pref to true will result in stereo=0 in the fmtp for opus.

Differential Revision: https://phabricator.services.mozilla.com/D158697
2022-10-06 00:50:47 +00:00
Chun-Min Chang
a0c9d1d355 Bug 1774300 - Add a blank VideoColorSpace interface r=padenot,jgilbert,emilio
This patch creates a blank class for the VideoColorSpace interface. The
files are generated by running `./mach build-backend && ./mach
webidl-example VideoColorSpace` with necessary changes to make it
buildable.

The VideoColorSpace is a sub-interface of the VideoFrame interface,
which is the essential building block for W3C WebCodecs API.

The implementations are plain blank now. They will be filled out in the
following patches.

Additionally, this patch creates a `dom.media.webcodecs.enabled` pref
for W3C Webcodecs API. All the WebCodecs APIs will be hidden without
setting it to `true`.

Differential Revision: https://phabricator.services.mozilla.com/D144771
2022-10-06 00:37:19 +00:00
Kelsey Gilbert
e9bba6ef54 Bug 1793679 - Pref on webgl.out-of-process on Android (thus everywhere). r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D158600
2022-10-04 23:04:53 +00:00
Butkovits Atila
dd8f948670 Backed out 19 changesets (bug 1793497, bug 1774300) for causing lint failure. CLOSED TREE
Backed out changeset f5460317d244 (bug 1793497)
Backed out changeset 5af8771526a1 (bug 1774300)
Backed out changeset 3ab7aead37b5 (bug 1774300)
Backed out changeset 5f837d7e621b (bug 1774300)
Backed out changeset 56bfa6480cb5 (bug 1774300)
Backed out changeset db37fffc8519 (bug 1774300)
Backed out changeset d5d263cedbc9 (bug 1774300)
Backed out changeset 52fdd5a613f4 (bug 1774300)
Backed out changeset 6ce76e0d6fd2 (bug 1774300)
Backed out changeset c5f67f22597e (bug 1774300)
Backed out changeset 4a7dca31703e (bug 1774300)
Backed out changeset e56596b91a86 (bug 1774300)
Backed out changeset 825ae6e7be9b (bug 1774300)
Backed out changeset 19f750d86a73 (bug 1774300)
Backed out changeset 50995e55c546 (bug 1774300)
Backed out changeset 33b150b4c911 (bug 1774300)
Backed out changeset 2bc06d0e8808 (bug 1774300)
Backed out changeset ba9bc5c631b0 (bug 1774300)
Backed out changeset 4a145bdd6b86 (bug 1774300)
2022-10-05 01:05:57 +03:00
Chun-Min Chang
a765b52ced Bug 1774300 - Add a blank VideoColorSpace interface r=padenot,jgilbert,emilio
This patch creates a blank class for the VideoColorSpace interface. The
files are generated by running `./mach build-backend && ./mach
webidl-example VideoColorSpace` with necessary changes to make it
buildable.

The VideoColorSpace is a sub-interface of the VideoFrame interface,
which is the essential building block for W3C WebCodecs API.

The implementations are plain blank now. They will be filled out in the
following patches.

Additionally, this patch creates a `dom.media.webcodecs.enabled` pref
for W3C Webcodecs API. All the WebCodecs APIs will be hidden without
setting it to `true`.

Differential Revision: https://phabricator.services.mozilla.com/D144771
2022-10-04 21:38:22 +00:00
Nika Layzell
bb7c4da3c1 Bug 1792858 - Part 2: Use the static prefs list for network.IDN_show_punycode, r=necko-reviewers,kershaw
This pref is a simple boolean, so can easily be migrated to the static prefs
list, removing one use of the complex locking in nsIDNService. The other parts
will be removed in a later part.

Depends on D158520

Differential Revision: https://phabricator.services.mozilla.com/D158521
2022-10-04 15:28:40 +00:00
Nika Layzell
298e72ba8f Bug 1792858 - Part 1: Remove the IDN allowlist code from nsIDNService, r=necko-reviewers,kershaw
This pref was disabled in 2015, and hasn't been re-enabled since. Removing it
will allow simplifying this service significantly, and remove some
thread-safety hazards which would appear if the pref is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D158520
2022-10-04 15:28:40 +00:00
sotaro
ae8d7756c6 Bug 1793388 - Disable wait at RenderCompositorANGLE::WaitForGPU() on Windows nightly r=gfx-reviewers,lsalzman
Wait at RenderCompositorANGLE::WaitForGPU() blocks render thread. It is not good.

Since Bug 1589718 fix, AsyncImagePipelineManager::NotifyPipelinesUpdated() works without wait at RenderCompositorANGLE::WaitForGPU(). Directly bounded texture buffers are released by using aLastCompletedFrameId.

Differential Revision: https://phabricator.services.mozilla.com/D158478
2022-10-04 06:26:26 +00:00
Jonathan Kew
69fc2380be Bug 1791558 - Enable COLRv1 font rendering by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D158169
2022-10-03 14:35:26 +00:00
Ashly Hale
182567c9fe Bug 1789729 - Implement webgl.max-size-per-texture-mib r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D156903
2022-10-03 13:27:12 +00:00
Oriol Brufau
fbeff4caf4 Bug 1792886 - Enable contain-intrinsic-size by default. r=emilio
Intent to ship: https://groups.google.com/a/mozilla.org/g/dev-platform/c/QtMpDO5ZHk8

Differential Revision: https://phabricator.services.mozilla.com/D158368
2022-10-01 13:46:04 +00:00
Mark Banner
5805b921dc Bug 1792861 - Fix ESLint no-unused-vars issues on global scopes in modules/. r=valentin
Depends on D158346

Differential Revision: https://phabricator.services.mozilla.com/D158347
2022-10-01 09:03:12 +00:00
Cristian Tuns
7c1f7192db Backed out changeset 4c043a955561 (bug 1791547) for causing bug 1792394 CLOSED TREE 2022-09-30 20:01:02 -04:00
Masayuki Nakano
656bb3ee88 Bug 1792387 - part 1: Make HTMLEditor join/split node direction switchable by a pref r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D158097
2022-09-30 22:20:19 +00:00
Noemi Erli
19f4fa1c92 Backed out changeset 0d56477048ae (bug 1792886) for causing multiple failures CLOSED TREE 2022-09-30 19:05:46 +03:00
Oriol Brufau
3a1c8fb8a2 Bug 1792886 - Enable contain-intrinsic-size by default. r=emilio
Intent to ship: https://groups.google.com/a/mozilla.org/g/dev-platform/c/QtMpDO5ZHk8

Differential Revision: https://phabricator.services.mozilla.com/D158368
2022-09-30 14:52:05 +00:00
Matthew Gregan
b4f84c3e2b Bug 1792785 - Enable AudioIPC v2 ("macos" branch) in Nightly builds on Linux. r=cubeb-reviewers,padenot
Depends on D158285

Differential Revision: https://phabricator.services.mozilla.com/D158314
2022-09-29 20:07:38 +00:00
Masayuki Nakano
723de0691e Bug 1774317 - part 2: Make TSFTextStore support GUID_PROP_URL r=m_kato
`GUID_PROP_URL` is defined here:
https://learn.microsoft.com/en-us/windows/win32/tsf/predefined-properties

> Contains a BSTR value representing the URL of the text control source, where
> applicable.

The URL may contain sensitive information, e.g., user name, password, query
string.  However, they are already leaked via MSAA/UIA.
https://searchfox.org/mozilla-central/rev/b1e5f2c7c96be36974262551978d54f457db2cae/accessible/generic/DocAccessible.cpp#350

Therefore, this patch just has prefs to completely prevent to expose the URL
for users who don't like this feature.

Differential Revision: https://phabricator.services.mozilla.com/D157894
2022-09-29 14:06:02 +00:00
Sandor Molnar
c6f1e9ee28 Backed out 2 changesets (bug 1774317) for causing top-crash (bug 1792767) CLOSED TREE
Backed out changeset 418dec4ac3f9 (bug 1774317)
Backed out changeset 329666086b40 (bug 1774317)
2022-09-29 04:48:26 +03:00
Andrew McCreight
2da84b8ac4 Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika
There are only 3 places where nsMemory.h is still needed (image/RasterImage.cpp,
gfx/thebes/gfxFT2FontList.cpp, and nsMemory.cpp). Remove the rest.

Differential Revision: https://phabricator.services.mozilla.com/D158213
2022-09-28 15:17:46 +00:00
Masayuki Nakano
58fa8fca99 Bug 1774317 - part 2: Make TSFTextStore support GUID_PROP_URL r=m_kato
`GUID_PROP_URL` is defined here:
https://learn.microsoft.com/en-us/windows/win32/tsf/predefined-properties

> Contains a BSTR value representing the URL of the text control source, where
> applicable.

The URL may contain sensitive information, e.g., user name, password, query
string.  However, they are already leaked via MSAA/UIA.
https://searchfox.org/mozilla-central/rev/b1e5f2c7c96be36974262551978d54f457db2cae/accessible/generic/DocAccessible.cpp#350

Therefore, this patch just has prefs to completely prevent to expose the URL
for users who don't like this feature.

Differential Revision: https://phabricator.services.mozilla.com/D157894
2022-09-28 11:46:59 +00:00
Andrew McCreight
688fc7f03b Bug 1792357, part 2 - Non-scriptable classes don't need to be marked [builtinclass]. r=xpcom-reviewers,necko-reviewers,valentin,nika
They can never be implemented by JS.

I'll enforce this later once some XPConnect interfaces have been removed.

[noscript] also doesn't do anything, so I removed it from nsIUDPSocketSyncListener while
I was there.

Differential Revision: https://phabricator.services.mozilla.com/D158135
2022-09-27 18:31:50 +00:00
Dennis Jackson
4547148195 Bug 1791179 - Fix mistaken conditional in StaticPrefs. r=dragana.
Differential Revision: https://phabricator.services.mozilla.com/D157559
2022-09-22 09:50:33 +00:00