Граф коммитов

21474 Коммитов

Автор SHA1 Сообщение Дата
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
Valentin Gosu 325aad0ef3 Bug 1549678 - Add pref whether to retry failed proxies r=necko-reviewers,kershaw
This is a regression from:
Bug 1494364 - don't prune proxy if all non-direct proxies are disabled

This pref preserves existing behaviour (and regression) but allows users to opt out of this behaviour which might cause slow browsing when the proxies are not responsive.

We might implement a proper fix for this problem in Bug 1791655.

Differential Revision: https://phabricator.services.mozilla.com/D157825
2022-09-22 08:37:37 +00:00
Pier Angelo Vendrame aa21b01cfa Bug 1768907 - Part 1: Make browser.privatebrowsing.autostart a static pref. r=handyman,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D157843
2022-09-22 00:26:17 +00:00
Oriol Brufau 9ce845742c Bug 1791375 - Handle multiple fragments in ResizeObserver. r=emilio
As per CSSWG resolution: https://github.com/w3c/csswg-drafts/issues/3673

Some details are not clear, so implement it behind a pref, disabled by
default.

Differential Revision: https://phabricator.services.mozilla.com/D157641
2022-09-21 20:19:55 +00:00
Jon Coppeard f0a3f4d6cb Bug 1791547 - Enable balanced heap limits by default r=sfink
This is not enable for fuzzing builds or in the shell if the fuzzing safe
option is passed.

Differential Revision: https://phabricator.services.mozilla.com/D157723
2022-09-21 08:40:08 +00:00
Andreea Pavel 9f24806607 Backed out 2 changesets (bug 1768250, bug 1720601) for multiple failures CLOSED TREE
Backed out changeset d6caea480d4d (bug 1768250)
Backed out changeset 97eccf466bf3 (bug 1720601)
2022-09-20 16:50:29 +03:00
Kershaw Chang 91c4d92496 Bug 1768250 - Don't always do 0RTT for HTTP/2, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D148513
2022-09-20 12:58:06 +00:00
Kershaw Chang 137b76a861 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-09-20 12:58:06 +00:00
Dana Keeler 923d7b2029 Bug 1790451 - make nsIChannel.securityInfo concrete as nsITransportSecurityInfo r=kershaw,necko-reviewers,valentin,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D157136
2022-09-20 03:58:49 +00:00
Paul Zuehlcke 112f6ef0e4 Bug 1787911 - Add cookiebanners.service.mode.privateBrowsing to control PBM separately. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D157263
2022-09-19 20:46:34 +00:00
Tom Ritter 6b7dc5aff6 Bug 1782444: Re-enable pref sanitization in Nightly in report-only mode r=ckerschb
We enable the sanitizing, which will omit the value in the
content process and trigger event telemetry - but we won't
crash the process.

Differential Revision: https://phabricator.services.mozilla.com/D153318
2022-09-19 19:41:14 +00:00
Nicolas Silva 3add2d1c3e Bug 1789612 - Backed out changeset 105858693e9a for causing tsvgx regression. r=gfx-reviewers,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D157478
2022-09-19 09:40:23 +00:00
criss 49eaaa607e Backed out 2 changesets (bug 1667090, bug 1788605) for causing Xpcshell failures on test_css-properties-db.js. CLOSED TREE
Backed out changeset cee98ae67ea4 (bug 1788605)
Backed out changeset 404e0b4bcd0f (bug 1667090)
2022-09-15 12:13:28 +03:00
Frederic Wang fe1762c548 Bug 1667090 - Implement CSS font-size: math and math-depth properties. r=emilio
The font-size math keyword is implemented. It behaves as a font-size: 1em
with the extra fixup due to math-level change (and other legacy MathML
attributes). After that change, the CSS for math-level / font-size: math
is behaving as per the specification, so the math-depth is turned in
nightly.

The adjusting function for font-size: math is modified so that it's
executed only if both font-size: math (otherwise the spec says no scale
should apply) and math-depth (otherwise the scale is 1 and function exists
early anyway) are set on the element. Also checking if the current node
has a scriptsizemultiplier rule applied to use MathML3's scaling is
incorrect. Instead this is changed to check if a non-default
scriptsizemultiplier is set.

Differential Revision: https://phabricator.services.mozilla.com/D91744
2022-09-15 08:14:49 +00:00
Jeff Muizelaar 62cf082657 Bug 1703522. Allow IOSurface capture by default. r=pehrsons
This cuts the time spent in CaptureFrame for a buffer size of 3072x1920
from ~80ms to ~22ms for me.  It makes it so that we use the IOSurfaces
provided to the CGDisplayStreamCreate handler instead of calling
CGDisplayCreateImage.

It was enable by default in Chromium in 2018 via
09cd5826e7

Differential Revision: https://phabricator.services.mozilla.com/D157273
2022-09-14 14:42:51 +00:00
Dale Harvey 0e56c746fc Bug 1790681 - Enable separatePrivateDefault by default. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D157314
2022-09-14 13:06:31 +00:00
Timothy Nikkel c19ed95074 Bug 1790580. Let touchpad swipe-to-navigate ride the trains to release on Linux. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D157200
2022-09-14 10:05:16 +00:00
Timothy Nikkel db7e563aeb Bug 1790579. Use new swipe to nav UI on Linux. r=hiro,desktop-theme-reviewers,dao
It's working well on Windows, let's bring it to Linux as well.

Differential Revision: https://phabricator.services.mozilla.com/D157198
2022-09-14 09:22:42 +00:00
Jon Coppeard 21ae79cb7b Bug 1790336 - Part 2: Increase balanced heap growth factor r=sfink
Increasing this parameter gives us parity on our benchmarks in the testing I've
done so far.

Differential Revision: https://phabricator.services.mozilla.com/D157095
2022-09-14 08:50:32 +00:00
Jonathan Sudiaman 14caa6c047 Bug 1790675 - Fix ESLint rule warnings for no-unused-vars in modules/libjar/test/unit/test_empty_jar_telemetry.js r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D157241
2022-09-14 07:45:42 +00:00
Benjamin VanderSloot 54d793d724 Bug 1782085, part 3 - Add tests for partial FedCM API, r=timhuang
There is a lot here, and yet it isn't the best test coverage. My testing strategy is to use these as sanity/regression checks until we have enough implemented to use sync'd WPTs.

The tests are all plain mochitests that use example.com as the RP and example.net as the IDP. They set a cookie in the IDP, tell the manifest endpoint what test is coming, then requesting a credential. The manifest endpoint can use the test name provided to point the browser to a particular set of test endpoints (server_X_accounts.sjs and server_X_idtoken.sjs).

This also includes a new preference that is needed to test the API. It bypasses the 120s timeout for all returned promise rejects in the spec. Otherwise testing this would take forever.

Differential Revision: https://phabricator.services.mozilla.com/D155720
2022-09-14 02:02:45 +00:00
Benjamin VanderSloot e24d18cd12 Bug 1782080 - Generalize preference gates of the Credential Management API, r=dveditz,emilio
I'm looking to implement the FedCM browser API, which hooks into the Credentail Management API.
Just cleaning up a few preference-gates in webidl and adding new preferences to use as gates.

Differential Revision: https://phabricator.services.mozilla.com/D153586
2022-09-14 02:02:43 +00:00
Sandor Molnar fd4d14e46a Backed out 14 changesets (bug 1782080, bug 1782083, bug 1782085, bug 1782081) for causing bp-hybrid bustage. CLOSED TREE
Backed out changeset 2b4331989f86 (bug 1782085)
Backed out changeset 582f58cd75cc (bug 1782085)
Backed out changeset c1de76ba8d99 (bug 1782085)
Backed out changeset 547eaff150f2 (bug 1782085)
Backed out changeset e56983c42821 (bug 1782085)
Backed out changeset c4682175eeaa (bug 1782085)
Backed out changeset 6b28de5c2f9d (bug 1782085)
Backed out changeset cb6218ad0b48 (bug 1782085)
Backed out changeset 48b8f947094e (bug 1782085)
Backed out changeset 754f27150336 (bug 1782085)
Backed out changeset c733035b2995 (bug 1782085)
Backed out changeset 1006a551ba12 (bug 1782083)
Backed out changeset 099f10b82184 (bug 1782081)
Backed out changeset 1cf5eecc663b (bug 1782080)
2022-09-13 23:51:09 +03:00
Benjamin VanderSloot 96a0f39e69 Bug 1782085, part 3 - Add tests for partial FedCM API, r=timhuang
There is a lot here, and yet it isn't the best test coverage. My testing strategy is to use these as sanity/regression checks until we have enough implemented to use sync'd WPTs.

The tests are all plain mochitests that use example.com as the RP and example.net as the IDP. They set a cookie in the IDP, tell the manifest endpoint what test is coming, then requesting a credential. The manifest endpoint can use the test name provided to point the browser to a particular set of test endpoints (server_X_accounts.sjs and server_X_idtoken.sjs).

This also includes a new preference that is needed to test the API. It bypasses the 120s timeout for all returned promise rejects in the spec. Otherwise testing this would take forever.

Differential Revision: https://phabricator.services.mozilla.com/D155720
2022-09-13 19:23:22 +00:00
Benjamin VanderSloot 7ff0de780c Bug 1782080 - Generalize preference gates of the Credential Management API, r=dveditz,emilio
I'm looking to implement the FedCM browser API, which hooks into the Credentail Management API.
Just cleaning up a few preference-gates in webidl and adding new preferences to use as gates.

Differential Revision: https://phabricator.services.mozilla.com/D153586
2022-09-13 19:23:20 +00:00
Kelsey Gilbert a32dfd5297 Bug 1785925 - Add LUT and Colorspace support to GLBlitHelper. r=lsalzman,media-playback-reviewers,alwu
This code was originally developed in bug 1771374, but here we omit the
DCLayerTree changes for later.

Differential Revision: https://phabricator.services.mozilla.com/D155027
2022-09-13 17:40:43 +00:00
Sandor Molnar 9769b513e3 Backed out 14 changesets (bug 1782080, bug 1782083, bug 1782085, bug 1782081) for causing mochitest failures in dom/credentialmanagement/identity/tests/mochitest/test_simple.html CLOSED TREE
Backed out changeset 5dcf789244b4 (bug 1782085)
Backed out changeset 94fd7957e5c6 (bug 1782085)
Backed out changeset c866a927fde9 (bug 1782085)
Backed out changeset f42e5c1d5951 (bug 1782085)
Backed out changeset 18b7c1b4df6e (bug 1782085)
Backed out changeset afaec46db6ad (bug 1782085)
Backed out changeset 0007f87c5071 (bug 1782085)
Backed out changeset 44de7d606696 (bug 1782085)
Backed out changeset fb951a70ab79 (bug 1782085)
Backed out changeset 9fee8927e2f1 (bug 1782085)
Backed out changeset 8172b0757002 (bug 1782085)
Backed out changeset fe15584d654b (bug 1782083)
Backed out changeset 7b26508f5693 (bug 1782081)
Backed out changeset c7e8da431aa6 (bug 1782080)
2022-09-13 20:03:16 +03:00
Benjamin VanderSloot 216f325bd2 Bug 1782085, part 3 - Add tests for partial FedCM API, r=timhuang
There is a lot here, and yet it isn't the best test coverage. My testing strategy is to use these as sanity/regression checks until we have enough implemented to use sync'd WPTs.

The tests are all plain mochitests that use example.com as the RP and example.net as the IDP. They set a cookie in the IDP, tell the manifest endpoint what test is coming, then requesting a credential. The manifest endpoint can use the test name provided to point the browser to a particular set of test endpoints (server_X_accounts.sjs and server_X_idtoken.sjs).

This also includes a new preference that is needed to test the API. It bypasses the 120s timeout for all returned promise rejects in the spec. Otherwise testing this would take forever.

Differential Revision: https://phabricator.services.mozilla.com/D155720
2022-09-13 14:48:00 +00:00
Benjamin VanderSloot 2e88060e73 Bug 1782080 - Generalize preference gates of the Credential Management API, r=dveditz,emilio
I'm looking to implement the FedCM browser API, which hooks into the Credentail Management API.
Just cleaning up a few preference-gates in webidl and adding new preferences to use as gates.

Differential Revision: https://phabricator.services.mozilla.com/D153586
2022-09-13 14:47:58 +00:00
Nika Layzell 3d9a6d0374 Bug 1789902 - Part 2: Use XPCOM static components instead of Services in Rust, r=xpcom-reviewers,necko-reviewers,barret,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156891
2022-09-13 13:47:13 +00:00
Paul Zuehlcke cc99189a8d Bug 1785872 - Global CookieBannerRules. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D156692
2022-09-13 03:08:23 +00:00
Noemi Erli fb74c2eb1b Backed out changeset 8e7d6c663a21 (bug 1782444) for causing browser chrome failures CLOSED TREE 2022-09-12 23:37:38 +03:00
Tom Ritter 32e7b5c46e Bug 1782444: Re-enable pref sanitization in Nightly in report-only mode r=ckerschb
We enable the sanitizing, which will omit the value in the
content process and trigger event telemetry - but we won't
crash the process.

Differential Revision: https://phabricator.services.mozilla.com/D153318
2022-09-12 19:11:15 +00:00
Tom Ritter c5f6e6bed7 Bug 1790202: Skip pref saniziation test on ccov builds r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D157051
2022-09-12 18:08:12 +00:00
Calixte e9c47ed935 Bug 1784272 - Enable editing in the PDF viewer r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D157086
2022-09-12 08:56:33 +00:00
Rob Wu a181c16953 Bug 1789751 - Remove localhost from MV3 CSP r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D156758
2022-09-10 23:49:49 +00:00
Rob Wu 9e70d31e32 Bug 1766881 - Drop object-src requirement from extension CSP r=mixedpuppy
object-src used to be required because it controls plugins, and we did
not want to load unsafe sources as plugins. With NPAPI plugin support
having been dropped a long time ago, this reason no longer exist.
The requirement for "secure" object-src CSP directive meant that
extensions had to specify a boilerplate object-src if they wanted to
modify script-src.

This patch removes the object-src requirement from extension CSP,
which simplifies the usage and learning curve of CSP usage in
extensions.

With this change, extensions can now load "unsafe" (remote) content
via `<embed>` and `<object>` tags. This relaxation does not reduce
the security because this was already possible with `<iframe>` tags.

Differential Revision: https://phabricator.services.mozilla.com/D156747
2022-09-10 23:49:48 +00:00
Hiroyuki Ikezoe 0272cc2c21 Bug 1789962 - Enable overscroll on Windows in nightly. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D156926
2022-09-09 21:57:06 +00:00
Greg Tatum 34d49c8bb3 Bug 1790078 - Enable the text recognition modal pref; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D156974
2022-09-09 18:33:37 +00:00
Tom Ritter 4087cb4f67 Bug 1782544: Add tests for sanitized preferences event telemetry r=KrisWright
Because the number of telemetry events we get back can vary we can't
use the existing Telemetry Test functions, and need to introduce a
new one.  It does duplicate some code, but because the functions differ
in a few ways it's not straightforward or clean to refactor it in a shared
way.

Differential Revision: https://phabricator.services.mozilla.com/D155622
2022-09-09 14:58:55 +00:00
Tom Ritter 46f46fe026 Bug 1782544: Add event telemetry for blocklisted pref access r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D155621
2022-09-09 14:58:54 +00:00
William Durand db8c495fba Bug 1789796 - Enable Manifest V3 on Nightly and early Beta. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D156799
2022-09-09 06:56:38 +00:00
Dão Gottwald f0e33014a0 Bug 1788822 - Simplify color-scheme content override pref to only be [dark, light, auto]. r=emilio,fluent-reviewers,extension-reviewers,robwu,flod
Differential Revision: https://phabricator.services.mozilla.com/D156710
2022-09-08 17:55:07 +00:00
Kershaw Chang cc6c147f88 Bug 1760580 - P1: Make nsIRequest support to store canceled reason, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156070
2022-09-08 09:11:18 +00:00
Emilio Cobos Álvarez a11c622dc7 Bug 1786147 - Remove layout.css.webkit-line-clamp.enabled, and add a new pref to apply line-clamp to all BFCs. r=dholbert
It's always true, so remove it.

Add another pref to allow -webkit-line-clamp to work on all blocks
rather than just legacy -webkit-boxes, which seems something we should
try to look into, eventually.

Depends on D155181

Differential Revision: https://phabricator.services.mozilla.com/D155182
2022-09-07 23:57:18 +00:00
Frederic Wang bf1dfd8446 Bug 1789083 - Remove doMathvariantStyling fallback from MathMLTextRunFactory. r=emilio
In order to perform basic mathvariant transforms (italic, bold, and
bold-italic) on systems that don't provide the proper characters from
the Mathematical Alphanumeric Symbols block, a fallback using font
italic/bold style was implemented in Gecko. Nowadays, several fonts
provide glyphs for these characters and are pre-installed on Desktop:

- Cambria Math (pre-installed on Windows Vista and higher)
- STIX General (pre-installed from OS X Lion to macOS Monterey)
- STIX Two Math (pre-installed on macOS Ventura and higher)
- DejaVu (pre-installed on the most popular Linux distributions)

This commit put the fallback under a preference that is disabled by
default on Desktop. It is still required on Android because the
default fonts are not enough.

Differential Revision: https://phabricator.services.mozilla.com/D156396
2022-09-07 12:24:55 +00:00
Butkovits Atila d45268508b Backed out 4 changesets (bug 1787159) for causing failures at test_ext_webRequest_eventPage_StreamFilter.js. CLOSED TREE
Backed out changeset 333d1c3b1139 (bug 1787159)
Backed out changeset 0f9e3836fef5 (bug 1787159)
Backed out changeset ad0cc19207ce (bug 1787159)
Backed out changeset 3ff8337743bd (bug 1787159)
2022-09-07 16:44:13 +03:00
Paul Adenot ae58c58305 Bug 1787159 - It can be necessary to sniff more data in some cases. r=necko-reviewers,valentin
Sometimes, media needs more than 512 bytes to determine the content type.

Differential Revision: https://phabricator.services.mozilla.com/D155587
2022-09-07 11:24:25 +00:00
Martin Stransky ddf51b273c Bug 1709009 [Linux] Use media decoders for WebRTC r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D149975
2022-09-07 09:54:48 +00:00
nchevobbe ff932142b9 Bug 1788578 - Add preference for enabling SitePermsAddonProvider. r=gsvelto.
This pref will be used to enable the new site permission addon flow that
is being worked on in Bug 1778959.

Differential Revision: https://phabricator.services.mozilla.com/D156158
2022-09-07 04:58:49 +00:00
Marian-Vasile Laza 7ec7dec6f1 Backed out changeset f1e6746037f7 (bug 1785925) for causing reftest failures on DCLayerTree.cpp. CLOSED TREE 2022-09-06 23:35:51 +03:00
Kelsey Gilbert 24a9bc97bb Bug 1785925 - Add LUT and Colorspace support to GLBlitHelper. r=lsalzman,media-playback-reviewers,alwu
This code was originally developed in bug 1771374, but here we omit the
DCLayerTree changes for later.

Differential Revision: https://phabricator.services.mozilla.com/D155027
2022-09-06 18:36:34 +00:00
Jonathan Kew d002b86978 Bug 1779202 - Disable use of CGLayer-backed cairo quartz surfaces to work around scaling bug affecting XObject images in pdf.js output. r=dholbert
This avoids the apparent Core Graphics bug whereby the PDF output it generates will mis-render
when subsequently processed again by Core Graphics (although it renders OK in Adobe products).
Unfortunately, this will regress bug 1772225, so that pdf.js documents will be rasterized when
printed or in Save to PDF output on macOS.

(Setting the pref gfx.cairo_quartz_cg_layer.enabled to true will restore "good" (vector-based)
output, but embedded XObject bitmap images may be mis-scaled.)

Differential Revision: https://phabricator.services.mozilla.com/D156570
2022-09-06 18:25:20 +00:00
Emilio Cobos Álvarez c8f967f6ac Bug 1789248 - Remove @supports selector pref. r=firefox-style-system-reviewers,layout-reviewers,boris
We've shipped it for a while.

Differential Revision: https://phabricator.services.mozilla.com/D156469
2022-09-06 17:03:20 +00:00
Norisz Fay 813f391883 Backed out 4 changesets (bug 1787159) for causing AAC related build bustages CLOSED TREE
Backed out changeset 8bbff0f18e88 (bug 1787159)
Backed out changeset a78016cc2812 (bug 1787159)
Backed out changeset c095a999a3db (bug 1787159)
Backed out changeset 9ae487b3afeb (bug 1787159)
2022-09-06 17:18:34 +03:00
Paul Adenot 17ddff359f Bug 1787159 - It can be necessary to sniff more data in some cases. r=necko-reviewers,valentin
Sometimes, media needs more than 512 bytes to determine the content type.

Differential Revision: https://phabricator.services.mozilla.com/D155587
2022-09-06 13:30:09 +00:00
Sandor Molnar 572b2bd7ba Backed out 4 changesets (bug 1787159) for causing mochitest failures in dom/media/webaudio/test/test_decodeMultichannel.html CLOSED TREE
Backed out changeset bf145275b8a9 (bug 1787159)
Backed out changeset 99c8eac7322c (bug 1787159)
Backed out changeset fe795b47f5ea (bug 1787159)
Backed out changeset 1e7451eb44d9 (bug 1787159)
2022-09-06 15:51:54 +03:00
Paul Adenot e5c42be5a6 Bug 1787159 - It can be necessary to sniff more data in some cases. r=necko-reviewers,valentin
Sometimes, media needs more than 512 bytes to determine the content type.

Differential Revision: https://phabricator.services.mozilla.com/D155587
2022-09-06 11:45:10 +00:00
Frederic Wang e6f0b0f7cb Bug 1583037 - Do not layout MathML as an error message when a layout error occurs. r=emilio
See https://groups.google.com/g/mozilla.dev.platform/c/hMf_Z1JSApQ

Differential Revision: https://phabricator.services.mozilla.com/D46725
2022-09-06 09:51:52 +00:00
Frederic Wang 39dd537031 Bug 1588733 - Make maction/semantics elements behave as an mrow with the first child. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/BWUvjERSXUM

Differential Revision: https://phabricator.services.mozilla.com/D49285
2022-09-06 04:32:15 +00:00
Dimi 18e3e3f923 Bug 1787162 - Treat form with cc-name and cc-exp field as a valid credit card form r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D155580
2022-09-05 09:15:40 +00:00
Olli Pettay a6912c2eb2 Bug 1788125, skip rAF and rAF initiated painting when the relevant window global is suspended, r=emilio
This simple approach seems to match quite well what other browsers do. And tryserver results weren't horrible.
I noticed only one test failing because of the change, and it is using synchronous XHR + timers.
Now it is using rAF + sync XHR.

Differential Revision: https://phabricator.services.mozilla.com/D156238
2022-09-03 13:49:29 +00:00
Csoregi Natalia 39a48ce1b2 Backed out changeset f67b16cac9e0 (bug 1788125) for causing geckoview failures. CLOSED TREE 2022-09-03 14:44:14 +03:00
Olli Pettay a208677627 Bug 1788125, skip rAF and rAF initiated painting when the relevant window global is suspended, r=emilio
This simple approach seems to match quite well what other browsers do. And tryserver results weren't horrible.
I noticed only one test failing because of the change, and it is using synchronous XHR + timers.
Now it is using rAF + sync XHR.

Differential Revision: https://phabricator.services.mozilla.com/D156238
2022-09-03 10:19:00 +00:00
alwu febce2c500 Bug 1785738 - part7 : remove the pref 'media.wmf.media-engine.video-output.enabled'. r=azebrowski
This pref is for testing purpose, as we already finished implementing
both audio and video playback, so we don't need that anymore.

Differential Revision: https://phabricator.services.mozilla.com/D155032
2022-09-03 00:54:00 +00:00
Cristian Tuns 3d56a1da28 Backed out changeset b14b975aa6d7 (bug 1785925) for causing build bustages on GLBlitHelper.cpp CLOSED TREE 2022-09-02 20:12:33 -04:00
Kelsey Gilbert 75cccdd5cb Bug 1785925 - Add LUT and Colorspace support to GLBlitHelper. r=lsalzman,media-playback-reviewers,alwu
This code was originally developed in bug 1771374, but here we omit the
DCLayerTree changes for later.

Differential Revision: https://phabricator.services.mozilla.com/D155027
2022-09-02 22:15:58 +00:00
Luca Greco 30c7a556bf Bug 1788108 - Enable event pages support for manifest_version 2 extensions. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D156171
2022-09-02 19:58:25 +00:00
Emilio Cobos Álvarez e3d2060438 Bug 1740989 - Implement focus fixup rule. r=smaug
This implements the proposal in the linked spec issue, and makes
it nightly-only pending resolution + edits.

Differential Revision: https://phabricator.services.mozilla.com/D155970
2022-09-01 11:28:47 +00:00
Iulian Moraru c4572532eb Backed out changeset d8f983951128 (bug 1740989) for causing mochitest-chrome failures on test_modal_prompts.html. CLOSED TREE 2022-09-01 01:03:29 +03:00
Emilio Cobos Álvarez c5ffe23435 Bug 1740989 - Implement focus fixup rule. r=smaug
This implements the proposal in the linked spec issue, and makes
it nightly-only pending resolution + edits.

Differential Revision: https://phabricator.services.mozilla.com/D155970
2022-08-31 17:10:17 +00:00
Nicolas Silva 403b0c1b58 Bug 1787706 - Increase the blob tile size to 512. r=jrmuizel
It improves rasterization and upload times by a lot in almost all of the test cases I can find. The only drawback is that our invalidation granulatiry is the tile so invalidation gets coarser as we increase the tile size.

512 is a bit special because it is the limit above which a different texture upload path is taken, so there will be more risk of performance side effects if/when we decide to make tiles even larger.

Differential Revision: https://phabricator.services.mozilla.com/D155822
2022-08-31 11:24:31 +00:00
Paul Zuehlcke 71655f76a1 Bug 1785870 - Add a test pref for importing cookie banner handling rules. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D155896
2022-08-31 09:44:27 +00:00
Butkovits Atila 3189560325 Backed out changeset c8b33bd2b4bf (bug 1787706) for causing reftest failures at webkit-text-stroke-property-004.html. CLOSED TREE 2022-08-30 20:59:08 +03:00
David Shin feca6731ff Bug 1785305: Set Resize Observer's last reported size to -1x-1 initially. r=emilio
It used to be 0x0, but changed per the CSSWG resolution:
https://github.com/w3c/csswg-drafts/issues/3664
Sits behind pref `dom.resize_observer.last_reported_size_invalid`.

Differential Revision: https://phabricator.services.mozilla.com/D155710
2022-08-30 17:05:56 +00:00
Sean Feng a2f0103b42 Bug 1750034 - Permanently change the lazy-loading root margin defaults to 600px in all directions r=emilio
Depends on D155879

Differential Revision: https://phabricator.services.mozilla.com/D155880
2022-08-30 16:00:12 +00:00
Nicolas Silva 82bc33be19 Bug 1787706 - Increase the blob tile size to 512. r=jrmuizel
It improves rasterization and upload times by a lot in almost all of the test cases I can find. The only drawback is that our invalidation granulatiry is the tile so invalidation gets coarser as we increase the tile size.

512 is a bit special because it is the limit above which a different texture upload path is taken, so there will be more risk of performance side effects if/when we decide to make tiles even larger.

Differential Revision: https://phabricator.services.mozilla.com/D155822
2022-08-30 14:05:39 +00:00
Marian-Vasile Laza 240089d98f Backed out changeset 7223a50e6cbf (bug 1787706) for causing reftest failures on 1524353.html and marker-path-021.svg. CLOSED TREE 2022-08-30 14:10:56 +03:00
Nicolas Silva 32429a665b Bug 1787706 - Increase the blob tile size to 512. r=jrmuizel
It improves rasterization and upload times by a lot in almost all of the test cases I can find. The only drawback is that our invalidation granulatiry is the tile so invalidation gets coarser as we increase the tile size.

512 is a bit special because it is the limit above which a different texture upload path is taken, so there will be more risk of performance side effects if/when we decide to make tiles even larger.

Differential Revision: https://phabricator.services.mozilla.com/D155822
2022-08-30 09:44:43 +00:00
Sandor Molnar 9230fb65c3 Backed out changeset 2f9e4f4b4131 (bug 1787706) for causing reftest/wpt failures. CLOSED TREE 2022-08-29 20:07:46 +03:00
Nicolas Silva 0a7b583271 Bug 1787706 - Increase the blob tile size to 512. r=jrmuizel
It improves rasterization and upload times by a lot in almost all of the test cases I can find. The only drawback is that our invalidation granulatiry is the tile so invalidation gets coarser as we increase the tile size.

512 is a bit special because it is the limit above which a different texture upload path is taken, so there will be more risk of performance side effects if/when we decide to make tiles even larger.

Differential Revision: https://phabricator.services.mozilla.com/D155822
2022-08-29 15:11:36 +00:00
Henrik Skupin 5677d6f202 Bug 1697047 - Extend asyncshutdown crash timeout for CCOV builds to 3 minutes. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D155811
2022-08-29 13:52:44 +00:00
Dimi 53ab8ee4a9 Bug 1783129 - P1. Use a higher confidence threshold when determining whether a form with only a credit card number field as a valid cc section r=sgalich
In nightly and early beta, we still use 0.5 as the threshold so we can collect more data.
In release, use 0.95 as the threshold

Differential Revision: https://phabricator.services.mozilla.com/D155486
2022-08-29 06:44:32 +00:00
Frederic Wang ecf2b4d3d6 Bug 1784014 - Remove MathML preference mfrac_bevelled_attribute. r=emilio
- remove flag and corresponding warning/counter.
- remove attribute from parsers, but keep the atom since it's
  used by TreeSanitizer.
- remove tests for mfrac@bevelled, there is a WPT test to check it's
  not supported.
- layout/mathml/tests/test_bug975681.html is removed, its tests are
  currently (wrongly) all disabled when the flag is off and equivalent
  tests for attributes other than bevelled exist in WPT.

Differential Revision: https://phabricator.services.mozilla.com/D154199
2022-08-27 07:22:22 +00:00
Eitan Isaacson b3dca0593e Bug 1786584 - Enable CtW in Android Beta/Release. r=Jamie,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D155403
2022-08-26 16:27:01 +00:00
Frederic Wang 065a295a1b Bug 1784009 - Remove MathML preference mfrac_linethickness_names. r=emilio
- Remove preference, warning and counter.
- Remove tests checking support for it, or replacing with
  equivalent 50% and 300% values.

Differential Revision: https://phabricator.services.mozilla.com/D154198
2022-08-26 14:21:47 +00:00
Mark Banner 9ed9c3503d Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for modules. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D155172
2022-08-26 13:39:37 +00:00
Frederic Wang 501296082e Bug 1784003 - Remove MathML preference deprecated_alignment_attributes. r=emilio
- Remove code for align/denumalign/numalign attributes.
- Remove tests checking support for them.
- Remove warning message and counter.
- numalign/denomalign atoms are not removed, since they
  are still used by nsTreeSanitizer.

Differential Revision: https://phabricator.services.mozilla.com/D154197
2022-08-26 12:31:16 +00:00
Frederic Wang 79e3532d7f Bug 1783998 - Remove MathML preference script_shift_attributes. r=emilio
- Remove script_shift_attributes preference and related test, warning
  message and parsing.
- Do not remove subscriptshift/supscripshift atoms, since they are
  still needed for nsTreeSanitizer.

Differential Revision: https://phabricator.services.mozilla.com/D154195
2022-08-25 09:03:58 +00:00
Mathew Hodson 422ff2ebd3 Bug 1782651 - Disable mozCurrentTransform by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D153431
2022-08-25 02:47:49 +00:00
Jonathan Kew 9a9e4251de Bug 1786804 - Put the @font-face src tech() function behind a pref, enabled only on Nightly for now. r=emilio
There are a couple of current issues/discussions that may lead to a change in the set of supported keywords, so we may want to hold back a little on actually shipping this.

- In https://github.com/w3c/IFT/pull/113, the WebFonts WG proposes several new incremental-* keywords (and maybe implies dropping the currently-defined incremental?)

- In https://github.com/w3c/csswg-drafts/issues/7633, I just proposed renaming the feature-* keywords to features-* (plural) for better readability; I'd like to see a decision on that before we ship this to release.

Differential Revision: https://phabricator.services.mozilla.com/D155458
2022-08-24 11:27:42 +00:00
Kagami Sascha Rosylight 32a02a7021 Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.

Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-24 10:58:46 +00:00
Jens Stutte 194e14d685 Bug 1777198 - Enable dom.abort_script_on_child_shutdown in nightly. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D151825
2022-08-24 09:37:30 +00:00
Tim Huang f27065f013 Bug 1783045 - Part 4: Add tests for the banner auto clicking. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D155199
2022-08-23 22:11:54 +00:00
Tim Huang ae650f36c0 Bug 1783045 - Part 3: Implementing CookieBanner JSWindowActor to handle the cookie banner. r=pbz
The patch implements a CookieBanner JSWindowActor. The CookieBanner
actor will be created when the DOMContentLoaded event files, and try to
detect the cookie banner and click the button to handle it.

Differential Revision: https://phabricator.services.mozilla.com/D154806
2022-08-23 22:11:53 +00:00
David Parks dbd4628744 Bug 1774453: Disable hiding cursor while typing on Windows r=cpeterson
There are compat issues with the approach.  There are future plans to restore the functionality but only when typing into a text area.

Differential Revision: https://phabricator.services.mozilla.com/D155275
2022-08-23 19:05:18 +00:00
Butkovits Atila 9cc48263b4 Backed out 4 changesets (bug 1783045) for causing xpcshell failures complaining about CookieBanner. CLOSED TREE
Backed out changeset 858bd17dff03 (bug 1783045)
Backed out changeset 73d747392a6c (bug 1783045)
Backed out changeset 07cc853ae0ec (bug 1783045)
Backed out changeset d23dc4db85cc (bug 1783045)
2022-08-23 14:53:24 +03:00
Tim Huang 4c3e242721 Bug 1783045 - Part 4: Add tests for the banner auto clicking. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D155199
2022-08-23 11:02:18 +00:00
Tim Huang 14f1efd0fa Bug 1783045 - Part 3: Implementing CookieBanner JSWindowActor to handle the cookie banner. r=pbz
The patch implements a CookieBanner JSWindowActor. The CookieBanner
actor will be created when the DOMContentLoaded event files, and try to
detect the cookie banner and click the button to handle it.

Differential Revision: https://phabricator.services.mozilla.com/D154806
2022-08-23 11:02:18 +00:00
Luca Greco 9efa813720 Bug 1760608 - Restrict MV2 pageAction/browserAction setPopup to same extension urls on GeckoView. r=mixedpuppy,geckoview-reviewers,owlish
This patch extends restricts setPopup to extension url to MV2 extensions running on GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D154549
2022-08-23 10:35:58 +00:00
Sergey Galich 8c44b387c3 Bug 1786329 - Remove signon.showAutoCompleteOrigins pref r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D155255
2022-08-23 01:02:24 +00:00
Marian-Vasile Laza e32b8c70e9 Backed out 2 changesets (bug 1784590) for causing mochitest failures on test_privateBrowsing.html. CLOSED TREE
Backed out changeset cd284ba05fbb (bug 1784590)
Backed out changeset 2f714355a8c8 (bug 1784590)
2022-08-23 01:26:37 +03:00
Kagami Sascha Rosylight ee9aec5cb9 Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.

Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-22 20:48:33 +00:00
Boris Chiou d19f353924 Bug 1694741 - Part 9: Enable the preference on Nightly. r=emilio
Both Blink and WebKit shipped this feature already, so it should be fine to
enable this on Nightly for testing.

Differential Revision: https://phabricator.services.mozilla.com/D152587
2022-08-22 20:18:41 +00:00
Boris Chiou b0e1f7a8ac Bug 1694741 - Part 1: Support width and height attributes in HTMLSourceElement's webidl. r=emilio
This also introduce a pref which protect these two attributes:
dom.picture_source_dimension_attributes.enabled.

These two dimension attributes will be mapped to the style of <img> elements
if the <source> element's parent is <picture>. This will be implemented
in the later patch. For now, we just implement the DOM interface.

Differential Revision: https://phabricator.services.mozilla.com/D152585
2022-08-22 20:18:37 +00:00
Marian-Vasile Laza b92a6b8396 Backed out 2 changesets (bug 1784590) for causing mochitest failures on test_privateBrowsing.html.
Backed out changeset 36d36e75930f (bug 1784590)
Backed out changeset 35dbbd6dbb70 (bug 1784590)
2022-08-22 22:50:41 +03:00
Kagami Sascha Rosylight bfc04ec1a4 Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.

Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-22 18:48:12 +00:00
Emilio Cobos Álvarez 9df7e6bca8 Bug 1782596 - Propagate preferred color-scheme to non-top frames. r=jwatt
The ColorSchemeMode::Preferred change doesn't make a difference (that
is, always use the preferred one), since when we only propagate from
top's embedder the embedder is chrome, which always has the preferred
color-scheme.

Differential Revision: https://phabricator.services.mozilla.com/D154931
2022-08-22 14:23:09 +00:00
Paul Zuehlcke 4a5b412e66 Bug 1785083 - Extend CookieBannerListService to sync rules from remote settings collection. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D154992
2022-08-19 18:56:16 +00:00
Butkovits Atila 9610bacc35 Backed out changeset 24d6d6816f34 (bug 1746524) as requested by Andrew. CLOSED TREE 2022-08-18 20:00:48 +03:00
Calixte 0a96678803 Bug 1785810 - Enabled PDF in nightly and early beta r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D154980
2022-08-18 14:24:00 +00:00
Andrew Osmond 5a36e3dd85 Bug 1785366 - Blocklist backdrop filter on some Ivy/Sandybridge Intel Windows drivers. r=jrmuizel,emilio
Backdrop filter crashes newer Intel drivers on Windows. This patch adds
support to the blocklist infrastructure for backdrop filter, and hooks
this up with the CSS property table.

Differential Revision: https://phabricator.services.mozilla.com/D154950
2022-08-18 12:29:20 +00:00
Emilio Cobos Álvarez 6d0f2b63a9 Bug 1682444 - Add basic support for nan / infinity in calc(). r=boris
Fix some tests to:

 * Not assume `double` precision.
 * Account for recent working group resolution with regards to NaN: https://github.com/w3c/csswg-drafts/issues/7067#issuecomment-1111211295

Not sure I caught all, but normalizing to 0 was already our existing
behavior. This feature needs more work before it can be enabled more
generally, so make it nightly-only, for now.

Also, it's unclear per spec what the serialization for infinity*1s or so
should be. Right now we serialize to <very-big-number>s, which seems
reasonable, but some tests (but not others!) expect different behavior.

I left those untouched for now.

Differential Revision: https://phabricator.services.mozilla.com/D154883
2022-08-18 08:54:30 +00:00
Emilio Cobos Álvarez 9cb731ca93 Bug 1774589 - Implement atan2(), and enable calc() trigonometric functions by default on nightly. r=boris
We now have test coverage, so let's do this.

The remaining failures are just about infinity/nan, which is a
completely different feature.

Differential Revision: https://phabricator.services.mozilla.com/D154831
2022-08-18 08:49:30 +00:00
Marian-Vasile Laza d774d6ecb3 Backed out changeset 49c7536f01db (bug 1785366) for causing xpcshell failures on test_css-properties-db.js. CLOSED TREE 2022-08-18 07:41:44 +03:00
Andrew Osmond 96648c7055 Bug 1785366 - Blocklist backdrop filter on some Ivy/Sandybridge Intel Windows drivers. r=jrmuizel,emilio
Backdrop filter crashes newer Intel drivers on Windows. This patch adds
support to the blocklist infrastructure for backdrop filter, and hooks
this up with the CSS property table.

Differential Revision: https://phabricator.services.mozilla.com/D154950
2022-08-18 03:21:27 +00:00
Marian-Vasile Laza 77fe747849 Backed out 5 changesets (bug 1682444, bug 1774589) for causing wpt failures on acos-asin-atan-atan2-serialize.html. CLOSED TREE
Backed out changeset 1d850765046a (bug 1774589)
Backed out changeset 08ec785b9923 (bug 1682444)
Backed out changeset bf0c0ff13cc1 (bug 1682444)
Backed out changeset bcf5fcb47b4a (bug 1774589)
Backed out changeset 03b2061c924b (bug 1774589)
2022-08-18 04:28:11 +03:00
Greg Tatum a90d82f617 Bug 1784489 - Pref on text recognition for nightly and early beta; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D154532
2022-08-18 00:33:35 +00:00
Boris Chiou ac0a5cdfb4 Bug 1785329 - Enable animation-composition on Nightly. r=hiro
It seems that making animation shorthand supports animation-composition may be
very tricky, so it's unlikely to include animation-composition into the
shorthand for now, per spec issue:
https://github.com/w3c/csswg-drafts/issues/6946.

WebKit also supports the longhand only on STP (Safari Technology Preview), so
it should be fine to enable the longhand property only on Firefox Nightly,
for experiemental testing.

Differential Revision: https://phabricator.services.mozilla.com/D154934
2022-08-17 23:39:55 +00:00
Timothy Nikkel 2aefbf2cde Bug 1758196. Let swipe to navigate on Windows ride the trains. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D154861
2022-08-17 22:42:37 +00:00
Emilio Cobos Álvarez 5e73feeb12 Bug 1682444 - Add basic support for nan / infinity in calc(). r=boris
Fix some tests to:

 * Not assume `double` precision.
 * Account for recent working group resolution with regards to NaN: https://github.com/w3c/csswg-drafts/issues/7067#issuecomment-1111211295

Not sure I caught all, but normalizing to 0 was already our existing
behavior. This feature needs more work before it can be enabled more
generally, so make it nightly-only, for now.

Also, it's unclear per spec what the serialization for infinity*1s or so
should be. Right now we serialize to <very-big-number>s, which seems
reasonable, but some tests (but not others!) expect different behavior.

I left those untouched for now.

Differential Revision: https://phabricator.services.mozilla.com/D154883
2022-08-17 21:12:08 +00:00
Emilio Cobos Álvarez 3372ba4c5d Bug 1774589 - Implement atan2(), and enable calc() trigonometric functions by default on nightly. r=boris
We now have test coverage, so let's do this.

The remaining failures are just about infinity/nan, which is a
completely different feature.

Differential Revision: https://phabricator.services.mozilla.com/D154831
2022-08-17 20:56:38 +00:00
Marian-Vasile Laza aaa3eeea77 Backed out changeset 592feee00d7b (bug 1784489) for causing bc failures on browser_contextmenu.js. CLOSED TREE 2022-08-17 23:32:54 +03:00
Greg Tatum 7955da4416 Bug 1784489 - Pref on text recognition for nightly and early beta; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D154532
2022-08-17 13:12:12 +00:00
Jonathan Kew b9285f930f Bug 1740530 - patch 5 - Implement support for COLRv1 glyphs represented as acyclic graphs of paint records. r=gfx-reviewers,lsalzman
Depends on D153870

Differential Revision: https://phabricator.services.mozilla.com/D152041
2022-08-17 10:59:35 +00:00
Razvan Cojocaru 88058d9bfe Bug 1781209 - Swipe navigation does not work when kinetic scroll is disabled. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D154239
2022-08-16 20:54:43 +00:00
Iulian Moraru 084a4c188b Backed out changeset 592feee00d7b (bug 1784489) for causing multiple failures. CLOSED TREE 2022-08-16 21:29:24 +03:00
Iulian Moraru 04e55eb8e5 Backed out 10 changesets (bug 1740530) for causing reftest failures on colrv1.
Backed out changeset 6f6a55195489 (bug 1740530)
Backed out changeset adc2b1544c4c (bug 1740530)
Backed out changeset cf530e9fea50 (bug 1740530)
Backed out changeset 10b6bafbbd9a (bug 1740530)
Backed out changeset 1c9205a0193f (bug 1740530)
Backed out changeset 06f7b45d044a (bug 1740530)
Backed out changeset 02d6294b7a6d (bug 1740530)
Backed out changeset 673f9010ea75 (bug 1740530)
Backed out changeset 429601610f26 (bug 1740530)
Backed out changeset e6523049b675 (bug 1740530)
2022-08-16 21:28:46 +03:00
Andreas Farre 4b493b6a30 Bug 1595491 - Part 1: Make <embed> and <object> behave more like <iframe>. r=smaug,emilio
By making image loading in <embed> and <object> behave more like when
an <iframe> loads an image, we can make sure that the synthetic
document generated is process switched if the image is cross
origin. This is done by making image loading in nsObjectLoadingContent
follow the document loading path.

We also make sure that we pass the image size back to the embedder
element to not get stuck with the intrinsic size.

To avoid named targeting being able to target these synthetic
documents, as well as showing up in `Window.frames` and being counted
in `Window.length`, we keep a filtered list of non-synthetic browsing
contexts for that use-case.

This feature is controlled by two prefs:

* browser.opaqueResponseBlocking.syntheticBrowsingContext

  This triggers the creation of synthetic documents for images loaded
  in <object> or embed.

* browser.opaqueResponseBlocking.syntheticBrowsingContext.filter

  This turns on the filtering of synthetic browsing contexts in named
  targeting, `Window.length` and `Window.frames`.

Differential Revision: https://phabricator.services.mozilla.com/D148117
2022-08-16 16:42:58 +00:00
Greg Tatum 866f5bf48b Bug 1784489 - Pref on text recognition for nightly and early beta; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D154532
2022-08-16 15:15:42 +00:00
Jonathan Kew 0ee0c4c341 Bug 1740530 - patch 5 - Implement support for COLRv1 glyphs represented as acyclic graphs of paint records. r=gfx-reviewers,lsalzman
Depends on D153870

Differential Revision: https://phabricator.services.mozilla.com/D152041
2022-08-16 12:48:33 +00:00
Tim Huang bbb1959d03 Bug 1784900 - Enable Service Worker Partitioning. r=anti-tracking-reviewers,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D154689
2022-08-16 12:20:59 +00:00
Paul Zuehlcke 017ccb0be2 Bug 1783019 - Implement cookie banner handling components. r=timhuang,necko-reviewers,valentin
This patch adds the following components:
 - nsICookieBannerService: Main service singleton managing the rules and initiating other components.
   It's exposed via Services.cookieBanners and can be configured via the cookiebanners.* prefs.
   To enable it set "cookiebanners.service.mode" to 1 or 2 and restart the browser.
 - nsCookieInjector: Looks up rules and injects cookies for matching top level loads.
 - nsICookieBannerListService: Imports and updates the cookie banner rules.
 - nsICookieBannerRule: Rules for a given domain.
 - nsICookieRule: Part of nsICookieBannerRule. Holds cookie specific rules.

Depends on D153641

Differential Revision: https://phabricator.services.mozilla.com/D153642
2022-08-16 12:07:13 +00:00
Noemi Erli dd80638572 Backed out 10 changesets (bug 1740530) for causing build bustage in COLRFonts.cpp CLOSED TREE
Backed out changeset afbcf312dbaf (bug 1740530)
Backed out changeset dfcb59684ed2 (bug 1740530)
Backed out changeset cc1a41e1bf44 (bug 1740530)
Backed out changeset 4c3cb20a5203 (bug 1740530)
Backed out changeset 275eb6c4900b (bug 1740530)
Backed out changeset 768df8b3c770 (bug 1740530)
Backed out changeset 4db61d87c172 (bug 1740530)
Backed out changeset a95e62dc9288 (bug 1740530)
Backed out changeset fdc71479fcd9 (bug 1740530)
Backed out changeset 8b26219a4294 (bug 1740530)
2022-08-16 14:31:39 +03:00
Jonathan Kew 85d0caa7ab Bug 1740530 - patch 5 - Implement support for COLRv1 glyphs represented as acyclic graphs of paint records. r=gfx-reviewers,lsalzman
Depends on D153870

Differential Revision: https://phabricator.services.mozilla.com/D152041
2022-08-16 10:39:52 +00:00
Emilio Cobos Álvarez 7a044adc89 Bug 1784943 - Enable bug 1483798 in all channels. r=boris
As per spec
(https://drafts.csswg.org/cssom/#extensions-to-the-window-interface).

This has been 9 months on nightly without regressions reported.

Differential Revision: https://phabricator.services.mozilla.com/D154685
2022-08-16 06:18:26 +00:00
Andrew Osmond 5b2fd01232 Bug 1783309 - Convert OffscreenCanvas domain allowlist pref to DataMutexString. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D153831
2022-08-16 01:00:23 +00:00
Andrew Osmond 8d1323b0e8 Bug 1782722 - Make WebGL override unmasked renderer/vendor pref accesses thread safe. r=gfx-reviewers,lsalzman,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D153469
2022-08-16 01:00:22 +00:00
Andrew Osmond e8f9ed23ec Bug 1783299 - Add support for threadsafe mirrored StaticPref strings. r=KrisWright
Prior to this patch, one would need to manually instantiate a copy of a
string from a preference on the main thread in order to access it in a
threadsafe manner on another thread.

This patch adds support for a `DataMutexString` threadsafe type for
mirror: always type StaticPrefs, and works similarly to the existing
atomic types.

Differential Revision: https://phabricator.services.mozilla.com/D153829
2022-08-16 01:00:21 +00:00
Dan Robertson 00d8c08f59 Bug 1770515 - Let dominant axis locking ride the trains on mac. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D154254
2022-08-15 13:58:39 +00:00
Frederic Wang 3c65c69660 Bug 1783995 - Remove MathML preference deprecated_menclose_notation_radical. r=emilio
- Remove the preference and corresponding tests.
- nsMathMLmencloseFrame continues to implement the radical notation for
  now, since it's still used by nsMathMLmsqrtFrame. Ideally, we should
  refactor our code so that msqrt/mroot share the same implementation.

Differential Revision: https://phabricator.services.mozilla.com/D154194
2022-08-15 08:55:50 +00:00
Valentin Gosu 00ed953e23 Bug 1705676 - Purge HTTP disk cache using backgroundtasks (out-of-process) r=nalexander,necko-reviewers,dragana
Purge HTTP disk cache using backgroundtasks

Motivation:

In the History settings preferences panel you may choose to
`Clear History when Firefox closes` - which sets the
`privacy.sanitize.sanitizeOnShutdown` pref.
If the `Cache` checkbox is also checked it sets the
`privacy.clearOnShutdown.cache` pref to true.

When both of these prefs are true `CacheObserver::ClearCacheOnShutdown()`
will return true, which will cause Firefox to clear the HTTP disk cache
during shutdown. This will block shutdown for howeverlong this takes. If the
user has a slow disk, or the user is on Windows and something is blocking the
deletion of those files, this will trigger a shutdown hang making Firefox
crash. This leads to a bad user experience as trying to start Firefox again
during this time will show the "Firefox is already running message".
Eventually a crash dump is produced. Bug 1356853 and bug 1682899 are caused
by this specific issue.

In order to avoid these crashes and a bad user experience we have
a few options:

1. Completely disable the disk cache when a user checks this box.
  This option will degrade the user's browsing experience.
2. Don't delete the folder at shutdown
  Whether we do this by removing the checkbox or simply not respecting
  the pref value, users who already have this setting would be surprised
  if the cache folder stops being deleted.
3. Use a thread pool to delete the files
  While it's likely to speed up the deletion at least a little bit,
  this would introduce additional complexity while not completely
  fixing the issue. A slow disk will still block shutdown.
4. Delete the cache at shutdown using a separate process
  This is likely the best option. It has the advantage of not blocking
  shutdown while at the same time maintaining similar properties to the
  existing functionality:
  - The cache folder is deleted at shutdown.
  - Has the same behaviour if Firefox gets killed or crashes for different issues.
  - Behaves similarly if the OS is forcefully shutdown during or before we begin to purge.
  - Additionaly, because we rename the folder prior to dispatching the background task, if the purging isn't completed we
    - don't rebuild the cache from an incomplete folder on next restart
    - are able to resume the purging after Firefox startup

A particularly special case is the Windows shutdown.
If the user shuts down windows that will try to close Firefox. If the shutdown
takes too long, the user will see the "Close anyway" button and may click
it thus preventing the cache purge to complete.
When using a background task we have a similar situation, but the button won't
even appear. So after the next Firefox restart we will check if the cache
needs to be purged.

Largely, the new behaviour will be:
- At shutdown we conditionally dispatch a background task to delete the folder
- If creating the process fails (for some reason) we fallback to the old way
  of synchronously deleting the folder.
- The task will then try to delete the folder in the background
- If for some reason it fails, we will dispatch a new background task shortly
  after Firefox restarts to clean up the old folders.

Differential Revision: https://phabricator.services.mozilla.com/D126339
2022-08-15 07:07:45 +00:00
Robert Mader cf107073bf Bug 1784453 - Use correct compiler macro for ARM builds,
`_ARM64_` appears to be a Windows-only thing.

Fixes D154506

Differential Revision: https://phabricator.services.mozilla.com/D154589
2022-08-13 17:17:53 +00:00
Sandor Molnar 8aada8ee04 Backed out 2 changesets (bug 1595491) for causing build bustages in docshell/base/BrowsingContext.cpp CLOSED TREE
Backed out changeset 3687b7153c44 (bug 1595491)
Backed out changeset 91d87de145e3 (bug 1595491)
2022-08-12 19:50:20 +03:00
Yulia Startsev ddbc6378de Bug 1784477 - Remove Dynamic Import option; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D154529
2022-08-12 16:18:44 +00:00
Andreas Farre ec3d91462e Bug 1595491 - Part 1: Make <embed> and <object> behave more like <iframe>. r=smaug,emilio
By making image loading in <embed> and <object> behave more like when
an <iframe> loads an image, we can make sure that the synthetic
document generated is process switched if the image is cross
origin. This is done by making image loading in nsObjectLoadingContent
follow the document loading path.

We also make sure that we pass the image size back to the embedder
element to not get stuck with the intrinsic size.

To avoid named targeting being able to target these synthetic
documents, as well as showing up in `Window.frames` and being counted
in `Window.length`, we keep a filtered list of non-synthetic browsing
contexts for that use-case.

This feature is controlled by two prefs:

* browser.opaqueResponseBlocking.syntheticBrowsingContext

  This triggers the creation of synthetic documents for images loaded
  in <object> or embed.

* browser.opaqueResponseBlocking.syntheticBrowsingContext.filter

  This turns on the filtering of synthetic browsing contexts in named
  targeting, `Window.length` and `Window.frames`.

Differential Revision: https://phabricator.services.mozilla.com/D148117
2022-08-12 15:48:26 +00:00
Robert Mader e990df3d9c Bug 1784453 - Prefer GLES by default on Linux-ARM, r=gfx-reviewers,nical
On most ARM devices the integrated GPUs and their drivers are
usually better optimized for GLES than desktop GL. Thus lets
prefer GLES on ARM builds, potentially reducing bug and improving
performance.

In case of v3d this is also needed to turn on HW-WR by default
as we disable it due to the first default GL context not supporting
GL >= 3.0.

Notes:
 - Unfortunately we can't straightly use `StaticPrefs` in `glxtest`
 - We need to ask for a 2.x context as GLES defaults to 1.x. Asking
   for 2.x should, however, should give us a 3.x/4.x one if supported.

Differential Revision: https://phabricator.services.mozilla.com/D154506
2022-08-12 14:04:35 +00:00
Tom Schuster d37dd913aa Bug 1779184 - Logging. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D153361
2022-08-12 10:33:25 +00:00
Emilio Cobos Álvarez ff538cab0e Bug 1784349 - Don't use -moz-bool-pref for flexbox -moz-box emulation. r=dholbert,perftest-reviewers,sparky
Use a bool pref media query which allows dynamic changes to get
reflected instantly.

Differential Revision: https://phabricator.services.mozilla.com/D154449
2022-08-11 23:22:52 +00:00
Calixte 3cf759f201 Bug 1784272 - Enable editing in the PDF viewer r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D154393
2022-08-11 17:29:37 +00:00
Janvi Bajoria 82a08acc5c Bug 1779127 - PIP fullscreen button r=kpatenio,niklas,desktop-theme-reviewers,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152252
2022-08-11 17:08:17 +00:00
Frederic Wang df0d17b174 Bug 1783841 - Remove MathML preferences deprecated_style_attributes and mathsize_names. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D154087
2022-08-11 10:20:41 +00:00
Andrew McCreight 68fb70b8e6 Bug 1746524 - Enable browser.tabs.documentchannel.parent-controlled pref. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D150421
2022-08-10 20:50:57 +00:00
Brad Werth e45f347e15 Bug 1772024 Part 2: Fix clause for Apple Silicon for video specialize pref. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D154290
2022-08-10 20:31:16 +00:00
Emilio Cobos Álvarez e23e2a0212 Bug 1783934 - Add a chrome-only -moz-box-layout: legacy | flex, and use that to implement flexbox emulation. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D154153
2022-08-10 19:46:37 +00:00
Norisz Fay df7a75af14 Backed out changeset 44255b7d9b1c (bug 1746524) for causing xpcshell failures on test_ext_userScripts_register.js CLOSED TREE 2022-08-10 21:06:23 +03:00
Marian-Vasile Laza 8274331cda Backed out changeset 449fe2d946ea (bug 1783934) for causing mochitest failures on test_animation-type-longhand.html. CLOSED TREE 2022-08-10 19:48:38 +03:00
Emilio Cobos Álvarez f4206bdde5 Bug 1783934 - Add a chrome-only -moz-box-layout: legacy | flex, and use that to implement flexbox emulation. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D154153
2022-08-10 15:47:41 +00:00
Emilio Cobos Álvarez 9f8d56e747 Bug 1783940 - Remove -moz-* display values enabled-in-content prefs. r=dholbert
We have unshipped these since forever, no point in keeping the pref
around. Move the relevant tests to chrome ref/mochitests.

Differential Revision: https://phabricator.services.mozilla.com/D154152
2022-08-10 15:43:51 +00:00
Tooru Fujisawa 2260a5120e Bug 1595259 - Part 3: Update fdlibm to 369ea0520a3061c07400d7cd32172efb6af39815. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D154079
2022-08-10 07:00:31 +00:00
Tooru Fujisawa b70dbe55b7 Bug 1595259 - Part 2: Update patches. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D154078
2022-08-10 07:00:31 +00:00
Tooru Fujisawa 925004d845 Bug 1595259 - Part 1: Use python3 in modules/fdlibm/update.sh. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D154077
2022-08-10 07:00:30 +00:00
Sandor Molnar 2fd0743a13 Backed out changeset 28c712b01ff9 (bug 1783940) for causing mochitest plain failures in layout/generic/test/test_dynamic_reflow_root_disallowal.html 2022-08-10 02:26:47 +03:00
Emilio Cobos Álvarez 8efdb3cc26 Bug 1783940 - Remove -moz-* display values enabled-in-content prefs. r=dholbert
We have unshipped these since forever, no point in keeping the pref
around. Move the relevant tests to chrome ref/mochitests.

Differential Revision: https://phabricator.services.mozilla.com/D154152
2022-08-09 21:59:45 +00:00
Sandor Molnar 519b18befe Backed out 3 changesets (bug 1595259) for causing build bustages. CLOSED TREE
Backed out changeset b9f69ae62997 (bug 1595259)
Backed out changeset 313d7588e499 (bug 1595259)
Backed out changeset 3de1cc55fdbb (bug 1595259)
2022-08-09 20:51:28 +03:00
Andrew McCreight 9b40d5974a Bug 1746524 - Enable browser.tabs.documentchannel.parent-controlled pref. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D150421
2022-08-09 17:13:02 +00:00
Tooru Fujisawa b010a15625 Bug 1595259 - Part 3: Update fdlibm to 369ea0520a3061c07400d7cd32172efb6af39815. r=mgaudet
Depends on D154078

Differential Revision: https://phabricator.services.mozilla.com/D154079
2022-08-09 16:09:57 +00:00
Tooru Fujisawa a0ad1d3f81 Bug 1595259 - Part 2: Update patches. r=mgaudet
Depends on D154077

Differential Revision: https://phabricator.services.mozilla.com/D154078
2022-08-09 16:09:56 +00:00
Tooru Fujisawa c4405ed5dc Bug 1595259 - Part 1: Use python3 in modules/fdlibm/update.sh. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D154077
2022-08-09 16:09:56 +00:00
Iulian Moraru e0ce4ec1ed Backed out changeset bcc86b98d4f9 (bug 1783841) for causing reftest mathml related failures. CLOSED TREE 2022-08-09 19:23:24 +03:00
Frederic Wang db39310640 Bug 1783841 - Remove MathML preferences deprecated_style_attributes and mathsize_names. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D154087
2022-08-09 14:12:48 +00:00
Razvan Cojocaru 31923e13de Bug 1753814 - Add an option to configure the maximum amount of pinch zoom that is available. r=dlrobertson
Differential Revision: https://phabricator.services.mozilla.com/D153888
2022-08-09 12:47:59 +00:00
Andrew Osmond 24dd519dd4 Bug 1779009 - Ship OffscreenCanvas to release. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D152918
2022-08-08 13:01:53 +00:00
Tom Schuster 34c8b152df Bug 1779184 - Start rewrite of Sanitizer API for elements. r=emilio
There are still a lot of TODOs, but I want to make some incremental progress on this.

Differential Revision: https://phabricator.services.mozilla.com/D152271
2022-08-08 09:23:55 +00:00
Masayuki Nakano c15a8dbac2 Bug 1782852 - part 3: Revert the pref value to enable legacy editor commands in late beta and release r=smaug
This is my silly mistake. I set reverted value to the prefs and the expectation
of WPTs. We need to enable them in late beta and release and disable them in
early beta and nightly.

Differential Revision: https://phabricator.services.mozilla.com/D153885
2022-08-07 00:21:32 +00:00
Shane Caraveo 3978bd8144 Bug 1783078 require web_accessible_resources for any extension loads from a content script r=robwu,ckerschb
Enforce requiring web accessible resources in MV3 and use a pref to turn on later for MV2.

Differential Revision: https://phabricator.services.mozilla.com/D153677
2022-08-05 04:36:30 +00:00
Masayuki Nakano 5b6dc29ff6 Bug 1782852 - part 2: Disable Gecko specific commands which are disabled only in the Nightly channel in early beta too r=smaug
This is a trial to get reports of breakage of web apps in the wild from (early)
beta users. Currently we don't have any bug reports from Nightly users of
disabling `contentReadOnly` and `insertBROnReturn` commands, but according
to the telemetry in the Beta channel, there are some web apps using them
(perhaps, for feature detection or one of finger prints) because we get over
1k pings per day.

`contentReadOnly`:
https://telemetry.mozilla.org/new-pipeline/evo.html#!aggregates=True%2520percentage&cumulative=0&end_date=2022-07-25&include_spill=0&keys=!__none__!__none__&max_channel_version=beta%252F103&measure=USE_COUNTER2_DOCUMENTEXECCOMMANDCONTENTREADONLY_DOCUMENT&min_channel_version=beta%252F100&processType=*&product=Firefox&sanitize=0&sort_keys=submissions&start_date=2022-06-27&trim=0&use_submission_date=0

`insertBROnReturn`:
https://telemetry.mozilla.org/new-pipeline/evo.html#!aggregates=True%2520percentage&cumulative=0&end_date=2022-07-25&include_spill=0&keys=!__none__!__none__&max_channel_version=beta%252F103&measure=USE_COUNTER2_DOCUMENTQUERYCOMMANDSUPPORTEDORENABLEDINSERTBRONRETURN_DOCUMENT&min_channel_version=beta%252F100&processType=*&product=Firefox&sanitize=0&sort_keys=submissions&start_date=2022-06-27&trim=0&use_submission_date=0

If we won't have any regression reports with this, for example, it's used only
for a finger print, perhaps, we could try to roll out to disable these commands.

Differential Revision: https://phabricator.services.mozilla.com/D153721
2022-08-05 02:55:23 +00:00
Masayuki Nakano bea9bf4233 Bug 1782852 - part 1: Get rid of unused editor commands in the wild r=smaug
`increaseFontSize`, `decreaseFontSize`, `gethtml`, `heading` and `readonly`
commands were disabled for a year in all channels, but no regression reports
have been filed.  Therefore, we can delete the commands and the telemetry
probes.

Note that `cmd_getContents` command which is the internal command of `gethtml`
is not used in comm-central too.  Therefore, this patch deletes the command
handler, `nsClipboardGetContentsCommand`, and `Command::GetHTML` too.

Differential Revision: https://phabricator.services.mozilla.com/D153720
2022-08-05 02:55:22 +00:00
Boris Chiou 82bf45d69f Bug 1746528 - Remove aspect-ratio preference. r=emilio
We shipped this in Firefox 89, one year ago. It should be okay to drop
this preference now.

Differential Revision: https://phabricator.services.mozilla.com/D153680
2022-08-04 17:58:03 +00:00
Fabrice Desré c50cb528fc Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-03 16:39:41 +00:00
Andreea Pavel 3ccd75af8d Backed out changeset b9d2965591b9 (bug 1761040) for landing with wrong author CLOSED TREE DONTBUILD 2022-08-03 18:55:00 +03:00
Andreea Pavel fdb7cb2ecd Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-03 15:27:43 +00:00
Lee Salzman 6e50eec03b Bug 1773712 - Enable accelerated Canvas2D on macOS nightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D148917
2022-08-03 15:16:28 +00:00
Jan-Niklas Jaeschke 536950b708 Bug 1772399: Disable dom.select_events.textcontrols.selectstart. r=edgar
Disabled pref dom.select_events.textcontrols.selectstart also for nightly build.

Differential Revision: https://phabricator.services.mozilla.com/D153561
2022-08-03 14:53:30 +00:00
Bogdan Szekely 9b19959381 Backed out changeset 07e7637819ec (bug 1773712)for causing reftest failures on 1304353-text-global-composite-op-1.html 2022-08-03 10:03:39 +03:00
Kelsey Gilbert 8969436550 Bug 1778144 - Add limit webgl.fake-verts.max=10M. r=gfx-reviewers,lsalzman
Otherwise seemingly lightweight but unusual calls like
drawArrays(offset:1.5billion) will try to allocate a very large gpu
buffer, which sometimes takes a very long time.

This is unusual and we shouldn't encourage it, so let's just add a
limit. 10M is 160MB, which is generally big enough but not too big.

Differential Revision: https://phabricator.services.mozilla.com/D153533
2022-08-03 06:11:14 +00:00
Daisuke Akatsuka afb41c840f Bug 1782557: Get sponsored session timeout pref only when needed. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D153421
2022-08-03 01:26:40 +00:00
Geoff Lankow 057be4d33e Bug 1780137 - Make browser.sessionstore.platform_collection false for Thunderbird. r=calu
Differential Revision: https://phabricator.services.mozilla.com/D153441
2022-08-03 00:40:42 +00:00
Marian-Vasile Laza 1748a6af5e Backed out changeset 2430b3a3c59b (bug 1780137) for causing linting failures on firefox.js. CLOSED TREE 2022-08-03 02:37:27 +03:00
Hiroyuki Ikezoe 74df765210 Bug 1776795 - Move the swipe-to-nav icon in response to the swipe gestures on Windows. r=tnikkel,desktop-theme-reviewers,sfoster
Both Chrome and Edge on Windows also move the swipe-to-nav arrow icon, the
distance of move seems to be a fixed value, it doesn't depend on the browser
window size. So we also use a fixed value, 100px here.

Chrome on Mac also moves the icon, but in a slightly different way. The icon is
a semicircle shape, it never leaves the edge of the browser window even if it's
moving during swipe gestures. So we introduce a new preference named
"browser.swipe.navigation-icon-move-distance" to implement platform dependent
swipe-to-nav icon behaviors. As of now the value on platforms other than Windows
is zero so that the icon never moves on the platforms.

Depends on D152951

Differential Revision: https://phabricator.services.mozilla.com/D150433
2022-08-02 23:08:46 +00:00
Geoff Lankow 2da11a22fe Bug 1780137 - Make browser.sessionstore.platform_collection false for Thunderbird. r=calu
Differential Revision: https://phabricator.services.mozilla.com/D153441
2022-08-02 23:01:22 +00:00
Andrew Osmond f39bf41b7f Bug 1782731 - Make gfx.font_rendering.fontconfig.max_generic_substitutions threadsafe. r=jfkthame
This pref could be accessed off the main thread with workers. Convert it
to a threadsafe StaticPref.

Differential Revision: https://phabricator.services.mozilla.com/D153470
2022-08-02 20:58:41 +00:00
Lee Salzman b8c6b1034f Bug 1773712 - Enable accelerated Canvas2D on macOS nightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D148917
2022-08-02 19:26:49 +00:00
criss 0d7af74214 Backed out changeset 32689459fc62 (bug 1782731) for causing reftest failures. CLOSED TREE 2022-08-02 21:34:06 +03:00
Andrew Osmond 94fc207dd3 Bug 1782731 - Make gfx.font_rendering.fontconfig.max_generic_substitutions threadsafe. r=jfkthame
This pref could be accessed off the main thread with workers. Convert it
to a threadsafe StaticPref.

Differential Revision: https://phabricator.services.mozilla.com/D153470
2022-08-02 15:07:34 +00:00
Jens Stutte 3ca1fb43c7 Bug 1777198 - Cancel content JS execution on quit-application-granted or on normal content process shutdown. r=smaug
We want to signal content processes to cancel content JS unconditionally on shutdown.
In the case of parent shutdown this has to happen as early as "quit-application-granted", given that both extensions and session storage shutdown rely on the possibility to interact with content processes (which is not possible when they are inside long running JS).
In addition in the case of a normal child shutdown we cancel content JS execution, too.
For now we put this behind the pref "dom.abort_script_on_child_shutdown" which remains default off.

Depends on D150539

Differential Revision: https://phabricator.services.mozilla.com/D150598
2022-08-02 14:02:40 +00:00
Jan de Mooij 420304b600 Bug 1774178 - Add a pref to disable Spectre mitigations for Fission content processes. r=nika,tjr,iain
These flags are usually initialized very early on, but because child processes are
pre-allocated and then later specialized for a specific process type, we need to
reset them later. This patch adds a new API for this that has some extra assertions.

Differential Revision: https://phabricator.services.mozilla.com/D152373
2022-08-02 13:23:58 +00:00
Sandor Molnar 646227cd7d Backed out 2 changesets (bug 1777198) for causing build bustage in dom/ipc/ProcessHangMonitor.cpp CLOSED TREE
Backed out changeset 472fe2d7af01 (bug 1777198)
Backed out changeset 0b9cb5b44360 (bug 1777198)
2022-08-02 14:08:45 +03:00
Jon Coppeard 0ebad143ef Bug 1770768 - Part 3: Add browser prefs for the new GC parameters r=mccr8,sfink
Differential Revision: https://phabricator.services.mozilla.com/D152864
2022-08-02 10:05:05 +00:00
Jens Stutte f9302b34cc Bug 1777198 - Cancel content JS execution on quit-application-granted or on normal content process shutdown. r=smaug
We want to signal content processes to cancel content JS unconditionally on shutdown.
In the case of parent shutdown this has to happen as early as "quit-application-granted", given that both extensions and session storage shutdown rely on the possibility to interact with content processes (which is not possible when they are inside long running JS).
In addition in the case of a normal child shutdown we cancel content JS execution, too.
For now we put this behind the pref "dom.abort_script_on_child_shutdown" which remains default off.

Depends on D150539

Differential Revision: https://phabricator.services.mozilla.com/D150598
2022-08-02 09:08:23 +00:00
Norisz Fay 17e1015627 Backed out 2 changesets (bug 1776795) for causing bc failures on browser_test_swipe_gesture.js CLOSED TREE
Backed out changeset 7bed4509ae7c (bug 1776795)
Backed out changeset 344336b54939 (bug 1776795)
2022-08-02 10:48:53 +03:00
Hiroyuki Ikezoe 0cc2a4681a Bug 1776795 - Move the swipe-to-nav icon in response to the swipe gestures on Windows. r=tnikkel,desktop-theme-reviewers,sfoster
Both Chrome and Edge on Windows also move the swipe-to-nav arrow icon, the
distance of move seems to be a fixed value, it doesn't depend on the browser
window size. So we also use a fixed value, 100px here.

Chrome on Mac also moves the icon, but in a slightly different way. The icon is
a semicircle shape, it never leaves the edge of the browser window even if it's
moving during swipe gestures. So we introduce a new preference named
"browser.swipe.navigation-icon-move-distance" to implement platform dependent
swipe-to-nav icon behaviors. As of now the value on platforms other than Windows
is zero so that the icon never moves on the platforms.

Differential Revision: https://phabricator.services.mozilla.com/D150433
2022-08-02 06:49:55 +00:00
Andreea Pavel 89d63c91e6 Backed out changeset a907159a482f (bug 1761040) for causing build bustages on a CLOSED TREE 2022-08-02 04:59:08 +03:00
Fabrice Desré 0f4ac7ad97 Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D152575
2022-08-02 00:49:41 +00:00
Iulian Moraru 27d760c7c2 Backed out 9 changesets (bug 1771374) for causing mochitest-webgl failures. CLOSED TREE
Backed out changeset ded977dd1896 (bug 1771374)
Backed out changeset adeb8b7d48f9 (bug 1771374)
Backed out changeset 7767340872c5 (bug 1771374)
Backed out changeset 33282b4ffaae (bug 1771374)
Backed out changeset 75db498cd0e7 (bug 1771374)
Backed out changeset 70035903ea37 (bug 1771374)
Backed out changeset 7c7de0fb66e1 (bug 1771374)
Backed out changeset 615df05e016f (bug 1771374)
Backed out changeset ac3411d21928 (bug 1771374)
2022-08-02 03:38:09 +03:00
Kelsey Gilbert fa6e66aedd Bug 1771374 - Support display-p3 output via DirectComposition on Windows. r=sotaro,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D150275
2022-08-01 19:49:26 +00:00
Tom Schuster 4b8ffda4e2 Bug 1529338 - Implement CSP 'style-src-elem' and 'style-src-attr' directives. r=freddyb,emilio,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D151926
2022-08-01 12:32:59 +00:00
Tom Schuster 0610723e31 Bug 1529337 - Implement CSP 'script-src-elem' and 'script-src-attr' directives. r=freddyb,webidl,smaug,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D150965
2022-08-01 12:32:58 +00:00
Benjamin VanderSloot c737ca4ccc Bug 1781818 - Allow unpartitioning of SessionStorage, r=timhuang
This is controlled by a preference so we can disable it for experimentation later.

Differential Revision: https://phabricator.services.mozilla.com/D152893
2022-07-29 13:44:28 +00:00
Sean Feng 288cbe9f46 Bug 1778492 - Add an origin trial for coep: credentialless r=emilio,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D151381
2022-07-27 20:33:19 +00:00
Tom Ritter 29842b82d7 Bug 1780403: Allowlist a few browser preferences r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D152811
2022-07-27 14:02:45 +00:00
Yury Delendik 4fab1299a3 Bug 1762409 - Remove wormhole instructions. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D152118
2022-07-26 22:39:37 +00:00
Kershaw Chang fb786a3c1b Bug 1778460 - Disable mode 2.5 on Nightly, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D151236
2022-07-26 16:03:18 +00:00
Marian-Vasile Laza 2ab97e789a Backed out 2 changesets (bug 1778492) for causing eslint failures.
Backed out changeset 6c3ac3569d31 (bug 1778492)
Backed out changeset 34227495753a (bug 1778492)
2022-07-26 17:43:53 +03:00
Emilio Cobos Álvarez ec58d0cfd5 Bug 1781127 - Enable linear() timing function on Nightly. r=dshin
This allows other developers and folks to test it more easily, while not
shipping it to the web just yet.

Differential Revision: https://phabricator.services.mozilla.com/D152684
2022-07-26 14:07:38 +00:00
Sean Feng 38f70ee5fc Bug 1778492 - Add an origin trial for coep: credentialless r=emilio,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D151381
2022-07-26 14:06:04 +00:00
Razvan Cojocaru fd92081aec Bug 1779812 - We are entering the pinch lock too easily. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D151972
2022-07-26 03:24:41 +00:00
Brad Werth cb169a543e Bug 1772024: Turn pref on for Apple Silicon on all channels, update pref comment. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D150795
2022-07-26 01:41:49 +00:00
Andrew Osmond a1992cd1a7 Bug 1779835 - Ship OffscreenCanvas to early beta and earlier. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D151954
2022-07-26 01:19:55 +00:00
sotaro d9703c55fe Bug 1780815 - Disable yuv video overlay on Windows r=jrmuizel,gfx-reviewers
Video scaling to RGB with VideoProcessor seems to have better quality than Video scaling to YUV with VideoProcessor.

It seems better to disable yuv video overlay on Windows for now.

Differential Revision: https://phabricator.services.mozilla.com/D152534
2022-07-25 22:38:38 +00:00
Dan Robertson b3308af056 Bug 1773378 - Add basic axis lock mode compatibility test. r=botond
Add a basic test to ensure the delta for the pan start gesture is evaluated for
all axis locking modes.

Differential Revision: https://phabricator.services.mozilla.com/D152482
2022-07-25 18:23:04 +00:00
Dan Robertson 8e5b76b18b Bug 1773378 - Implement stateless dominant axis scrolling. r=botond,mstange
Implement the new dominant axis locking mode for the apz.axis_lock.mode
preference. When using this mode, we do not use the traditional axis locks.
Instead we only consider the input pan displacement for the axis with
a larger value, zeroing out the displacement on the opposite axis.

Differential Revision: https://phabricator.services.mozilla.com/D152104
2022-07-25 18:23:04 +00:00
Tom Ritter dd80800569 Bug 1780403: Allowlist capability.policy.policynames r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D152517
2022-07-22 13:44:25 +00:00
Butkovits Atila ef9a3e7051 Merge mozilla-central to autoland. CLOSED TREE 2022-07-22 00:52:02 +03:00
Andreea Pavel 15b656909e Merge autoland to mozilla-central a=merge 2022-07-22 00:20:52 +03:00
Tom Ritter 03b648383b Bug 1780403: Allowlist the undocumented pdfjs.defaultZoomValue pref r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D152294
2022-07-21 17:27:25 +00:00
Tom Ritter 8aa82247c1 Bug 1780403: Allowlist some more preferences to avoid crashes r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D152418
2022-07-21 15:06:14 +00:00
Tom Ritter 19f3d0a2cd Bug 1780403: Allowlist the entire gfx.blacklist pref tree r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D152377
2022-07-21 14:51:56 +00:00
Tom Ritter b2bec281cd Bug 1780403: Allowlist browser.uitour.testingOrigins r=agibson
Differential Revision: https://phabricator.services.mozilla.com/D152376
2022-07-21 14:51:56 +00:00
Tom Ritter 2e035edc7d Bug 1780403: Disable pref sanitization in Nightly temporarily r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D152378
2022-07-21 14:51:13 +00:00
Tom Ritter 0182a404d2 Bug 1780403: Allowlist the ui. pref branch r=emilio
There's a large list of dynamic preferences in the ui. tree
but none of them should contain personally identifiable data.

Differential Revision: https://phabricator.services.mozilla.com/D152340
2022-07-21 11:30:42 +00:00
Tom Schuster 8389ad4530 Bug 1750972 - Enable same-site schemeful by default. r=freddyb
Depends on D150600

Differential Revision: https://phabricator.services.mozilla.com/D150602
2022-07-21 07:48:08 +00:00
Tom Ritter 45e1a36e15 Bug 1780403: Remove browser.region.update.updated from the blocklist r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D152339
2022-07-21 02:31:04 +00:00
Emilio Cobos Álvarez 92c9ff22dc Bug 1780385 - Remove canvas hit region api. r=jrmuizel
Add a pref for MouseEvent.region since that wasn't un-exposed. No other
browser supports it so we can probably safely remove it, but just in
case.

Differential Revision: https://phabricator.services.mozilla.com/D152274
2022-07-20 16:52:47 +00:00
Tom Ritter 2d51d162ba Bug 1780403: Allowlist media.decoder-doctor. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D152279
2022-07-20 14:23:58 +00:00
Emilio Cobos Álvarez f2dbdbfde7 Bug 1776592 - Make auto outline draw two differently-colored strokes instead of one. r=mstange
Behind a pref, just in case.

Differential Revision: https://phabricator.services.mozilla.com/D150466
2022-07-20 11:43:35 +00:00