Commit Graph

20347 Commits

Author SHA1 Message Date
John Schanck
2654fbb629 Bug 1753071 - Add a "confirm revocations" mode to CRLite. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D137553
2022-02-14 18:55:21 +00:00
Butkovits Atila
320943abcd Backed out changeset f93a4ff5c045 (bug 1331109) for causing Bug 1644486. CLOSED TREE 2022-02-14 19:26:35 +02:00
Nicolas Silva
72508c0bdd Bug 1754834 - Temporarily ignore will-change:opacity. r=jrmuizel
Enable the pref for a few weeks on Nightly to see if it causes major regressions.

Differential Revision: https://phabricator.services.mozilla.com/D138467
2022-02-14 14:15:56 +00:00
Eden Chuang
cd1eab9729 Bug 1754786 - Enable NavigationPreload API. r=dom-worker-reviewers,aryx,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D138530
2022-02-14 09:44:10 +00:00
Emilio Cobos Álvarez
85a60cbac3 Bug 1147847 - Enable GTK overlay scrollbars on Nightly and Early Beta. r=stransky
Let's try.

Depends on D138502

Differential Revision: https://phabricator.services.mozilla.com/D138503
2022-02-14 07:43:42 +00:00
Emilio Cobos Álvarez
c7de191b45 Bug 1147847 - Allow users to enable overlay scrollbars on Linux from about:preferences. r=Gijs,fluent-reviewers,preferences-reviewers
We might want to do this on Windows 11 as well, but Windows 11 has a
system-wide preference with UI so let's not do that just yet at least,
UI-exposed preference.

Differential Revision: https://phabricator.services.mozilla.com/D138502
2022-02-14 07:43:42 +00:00
Cristian Tuns
3419e72275 Backed out 4 changesets (bug 1600309) for causing networking crashes CLOSED TREE
Backed out changeset ae7282e60012 (bug 1600309)
Backed out changeset 0d8b02a8db17 (bug 1600309)
Backed out changeset c7262d966a28 (bug 1600309)
Backed out changeset e5503a84beea (bug 1600309)
2022-02-12 05:00:04 -05:00
Cristian Tuns
3f972b34cb Backed out 2 changesets (bug 1720353) for casuing reftest failures on 1113005.html CLOSED TREE
Backed out changeset d02b8df13ab0 (bug 1720353)
Backed out changeset e3593056496d (bug 1720353)
2022-02-12 04:34:08 -05:00
Lee Salzman
8346a766e0 Bug 1754130 - Implement SharedContext for sharing WebGL state among many DrawTargetWebgls. r=aosmond
Within DrawTargetWebgl, this implements a SharedContext class to store both the WebGL context and
also related resources for drawing with it. Not a lot of new code has actually been added as this
was mostly accomplished by refactoring as much drawing code as possible that touched the WebGL
context to be moved into SharedContext, while leaving any code that was only dealing with Skia
software rasterization still within DrawTargetWebgl itself as well as individual framebuffer state
that is unique to each DrawTargetWebgl instance.

Before DrawTargetWebgl can use SharedContext to draw, it must use SetTarget to install its framebuffer
as the one that the WebGL context will draw to as well as to learn details about the viewport and
other per-framebuffer state. All of the high-level cache state that was previously on DrawTargetWebgl
has now moved into SharedContext, so that SharedContext can easily access this for drawing as well
as to provide for the goal of simplifying resource limiting.

Differential Revision: https://phabricator.services.mozilla.com/D138117
2022-02-11 19:49:55 +00:00
Paul Adenot
0630b647a3 Bug 1754006 - Increase the processed media queue size and threshold in AudioSink. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D138028
2022-02-11 16:58:51 +00:00
Marian-Vasile Laza
610558649b Backed out 3 changesets (bug 1754130) for causing mochitest failures. CLOSED TREE
Backed out changeset 7fea32057b92 (bug 1754130)
Backed out changeset 1ac8f10e0025 (bug 1754130)
Backed out changeset 3d56b847ddf9 (bug 1754130)
2022-02-11 18:30:11 +02:00
David Parks
532e4bcbe5 Bug 1720353: Implement new navigator.{plugins,mimeTypes,pdfViewerSupported} specs r=peterv
This implements the new HTML spec for these fields, which now serve hard-coded values, depending on whether or not PDFs are supported.  The values were deemed important to maintain web compatibility.  The spec can be found in section 8.9.1.6:

https://html.spec.whatwg.org/multipage/system-state.html#pdf-viewing-support

The web-compat test for this can be found at:

https://wpt.live/html/webappapis/system-state-and-capabilities/the-navigator-object/plugins-and-mimetypes.html

This patch follows the spec for the PDF plugins if "pdfjs.disabled" is false.  It also produces empty plugin arrays if "pdfjs.disabled" is true, as per the spec.  Both cases are tested by the wpt.live page.

Differential Revision: https://phabricator.services.mozilla.com/D133291
2022-02-11 15:59:01 +00:00
Lee Salzman
fc2d848bbe Bug 1754130 - Implement SharedContext for sharing WebGL state among many DrawTargetWebgls. r=aosmond
Within DrawTargetWebgl, this implements a SharedContext class to store both the WebGL context and
also related resources for drawing with it. Not a lot of new code has actually been added as this
was mostly accomplished by refactoring as much drawing code as possible that touched the WebGL
context to be moved into SharedContext, while leaving any code that was only dealing with Skia
software rasterization still within DrawTargetWebgl itself as well as individual framebuffer state
that is unique to each DrawTargetWebgl instance.

Before DrawTargetWebgl can use SharedContext to draw, it must use SetTarget to install its framebuffer
as the one that the WebGL context will draw to as well as to learn details about the viewport and
other per-framebuffer state. All of the high-level cache state that was previously on DrawTargetWebgl
has now moved into SharedContext, so that SharedContext can easily access this for drawing as well
as to provide for the goal of simplifying resource limiting.

Differential Revision: https://phabricator.services.mozilla.com/D138117
2022-02-11 15:36:29 +00:00
Dimi
e661e480a4 Bug 1753588 - Restrict the number of form looked up while checking whether autofilling a username-only form r=tgiles,sgalich
This patch adds a pref "signon.usernameOnlyForm.formThreshold" to limit
the number of form we processed while receiving "PWMGR_NUM_FORM_HAS_POSSIBLE_USERNAME_EVENT_PER_DOC"
event. This improves the performance while loading a page with multiple username-only likely form.

Differential Revision: https://phabricator.services.mozilla.com/D138121
2022-02-11 12:59:20 +00:00
Kershaw Chang
769849b41a Bug 1600309 - P2: Don't use socket porcess when it crashes too many times, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D134904
2022-02-11 10:55:53 +00:00
Jan de Mooij
1a9d7292a8 Bug 1754837 - Enable the megamorphic property cache. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D138468
2022-02-11 10:03:00 +00:00
criss
369ae61fb6 Backed out changeset 5936869f553d (bug 1753588) for causing failures on test_basic_form_honor_autocomplete_off.html. CLOSED TREE 2022-02-11 12:13:35 +02:00
Dimi
f6b81eaac0 Bug 1753588 - Restrict the number of form looked up while checking whether autofilling a username-only form r=tgiles,sgalich
This patch adds a pref "signon.usernameOnlyForm.formThreshold" to limit
the number of form we processed while receiving "PWMGR_NUM_FORM_HAS_POSSIBLE_USERNAME_EVENT_PER_DOC"
event. This improves the performance while loading a page with multiple username-only likely form.

Differential Revision: https://phabricator.services.mozilla.com/D138121
2022-02-11 08:28:38 +00:00
Csoregi Natalia
ae252d9945 Backed out changeset 5fcbba2f8f8c (bug 1720353) for failures on test_bug1281963.html. CLOSED TREE 2022-02-10 19:42:46 +02:00
David Parks
06f68c4eda Bug 1720353: Implement new navigator.{plugins,mimeTypes,pdfViewerSupported} specs r=peterv
This implements the new HTML spec for these fields, which now serve hard-coded values, depending on whether or not PDFs are supported.  The values were deemed important to maintain web compatibility.  The spec can be found in section 8.9.1.6:

https://html.spec.whatwg.org/multipage/system-state.html#pdf-viewing-support

The web-compat test for this can be found at:

https://wpt.live/html/webappapis/system-state-and-capabilities/the-navigator-object/plugins-and-mimetypes.html

This patch follows the spec for the PDF plugins if "pdfjs.disabled" is false.  It also produces empty plugin arrays if "pdfjs.disabled" is true, as per the spec.  Both cases are tested by the wpt.live page.

Differential Revision: https://phabricator.services.mozilla.com/D133291
2022-02-10 16:57:24 +00:00
Chun-Min Chang
69e592414a Bug 1754610 - Make media.clockdrift.buffering unsigned r=padenot
The `media.clockdrift.buffering`'s type was set to signed integer when
introducing `AudioDriftCorrection` in Bug 1637234 (D74884), but the
buffering type of the `AudioDriftCorrection` was changed to unsigned in
Bug 1656438 (D89777). The `media.clockdrift.buffering` should be updated
to the unsigned integer as well.

Differential Revision: https://phabricator.services.mozilla.com/D138378
2022-02-10 16:15:40 +00:00
Emilio Cobos Álvarez
8edbf17a70 Bug 1754275 - Add a 1s timeout to DBUS call to reveal files. r=stransky
This should be much more acceptable than e.g. 25 seconds to open the
file manager.

Differential Revision: https://phabricator.services.mozilla.com/D138288
2022-02-10 12:19:59 +00:00
Karl Dubost
e8a8c45314 Bug 1637922. Disables netinfo in some tests. r=annevk,webidl,peterv
Adds comment on keeping the code instead of removing it.

Differential Revision: https://phabricator.services.mozilla.com/D126447
2022-02-10 05:52:38 +00:00
Karl Dubost
ad563f28c6 Bug 1637922. Disables dom.netinfo.enabled everywhere. r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D126431
2022-02-10 05:52:37 +00:00
Jonathan Kew
a1c5d47ba6 Bug 1587094 - Create a pref to control whether we use DirectWrite's bold simulation or multi-strike synthetic bold; default to multi-strike for webfonts. r=lsalzman
This is designed to mitigate the problem of third-party fonts that render poorly
under DirectWrite's bold simulation, by using multi-strike synthetic bold (like
we use on macOS) instead.

The behavior is controlled by a pref, so that we can readily switch between
using DWrite's bold simulation for all fonts (pref=2, our current behavior);
using it only for installed fonts and falling back to multi-strike for webfonts
(pref=1, new behavior); or never using the DWrite simulation (pref=0).

Differential Revision: https://phabricator.services.mozilla.com/D137584
2022-02-09 12:07:05 +00:00
Emilio Cobos Álvarez
2ef346a2f5 Bug 1754225 - Allow using dark themed scrollbars on GTK too. r=stransky,mstange
This is faster and more straight-forward code than the old
ShouldUseDarkScrollbar shenanigans, and allows to have dark-themed
scrollbars.

Differential Revision: https://phabricator.services.mozilla.com/D138077
2022-02-09 11:27:16 +00:00
Julien Wajsberg
cfce22c3c8 Bug 1754195 - [profiler] Use the active tab view in nightly only r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D138163
2022-02-09 11:15:58 +00:00
Butkovits Atila
7a0ca71a26 Merge mozilla-central to autoland. CLOSED TREE 2022-02-09 12:07:17 +02:00
Butkovits Atila
c12a59323e Backed out changeset c885ece84961 (bug 1587094) for causing graphics crashes (bug 1754385). a=backout 2022-02-09 11:54:44 +02:00
Eden Chuang
b7678a86ba Bug 1750515 - Enable NavigationPreload API on Nightly. r=dom-worker-reviewers,smaug
Depends on D137599

Differential Revision: https://phabricator.services.mozilla.com/D136215
2022-02-09 07:14:26 +00:00
Mike Hommey
4ae2e8bd0e Bug 1754147 - Remove REQUIRES_UNIFIED_BUILD from modules/woff2. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D138120
2022-02-09 04:22:39 +00:00
Marian-Vasile Laza
a9f8213954 Backed out 3 changesets (bug 1750515, bug 1753025) for causing wpt failures on idlharness.https.any... CLOSED TREE
Backed out changeset 9771e7cbe148 (bug 1750515)
Backed out changeset f671d5206b88 (bug 1753025)
Backed out changeset 99bacb6a3d92 (bug 1753025)
2022-02-09 00:10:47 +02:00
Jamie Nicol
dbfce4d8f3 Bug 1331109 - Enable GPU process on Android. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D138144
2022-02-08 20:54:16 +00:00
Tim Giles
a887c814a4 Bug 1745973 - Add UK, FR, DE to credit card autofill supported countries pref. r=sgalich,dimi
Depends on D135553

Differential Revision: https://phabricator.services.mozilla.com/D135076
2022-02-08 19:31:59 +00:00
Tim Giles
7d4695982b Bug 1745248 - Allow each autofill feature to detect if it should be enabled depending on search region. r=dimi,sgalich,preferences-reviewers,skhamis,LougeniaBailey
Differential Revision: https://phabricator.services.mozilla.com/D133818
2022-02-08 19:31:58 +00:00
Eden Chuang
0430fc154e Bug 1750515 - Enable NavigationPreload API on Nightly. r=dom-worker-reviewers,smaug
Depends on D137599

Differential Revision: https://phabricator.services.mozilla.com/D136215
2022-02-08 18:12:34 +00:00
Narcis Beleuzu
0541c7f30f Backed out 2 changesets (bug 1754006) for mda failures on test_bug1113600.html CLOSED TREE
Backed out changeset f22af4b15704 (bug 1754006)
Backed out changeset 078521a5c82b (bug 1754006)
2022-02-08 21:14:53 +02:00
Emilio Cobos Álvarez
20a681b496 Bug 1753830 - Add a pref to allow disabling themed scrollbar colors. r=stransky
This is useful for testing.

Differential Revision: https://phabricator.services.mozilla.com/D137937
2022-02-08 16:36:12 +00:00
Paul Adenot
7a98b07c0b Bug 1754006 - Increase the processed media queue size and threshold in AudioSink. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D138028
2022-02-08 16:07:43 +00:00
Jan de Mooij
2388a4f6f8 Bug 1753633 part 6 - Add a pref for megamorphic cache, disabled by default. r=iain
We can probably use the shell flag for different Watchtower optimizations so that's
just --enable-watchtower

Differential Revision: https://phabricator.services.mozilla.com/D137853
2022-02-08 15:23:36 +00:00
criss
e40ae5e2cc Backed out 3 changesets (bug 1637922) for causing failures on test_worker_interfaces.html. CLOSED TREE
Backed out changeset 6676088e5fdf (bug 1637922)
Backed out changeset 469353b7c340 (bug 1637922)
Backed out changeset e9ffc2ed8f4d (bug 1637922)
2022-02-08 18:28:53 +02:00
criss
3b218d4269 Backed out 3 changesets (bug 1753025, bug 1750515) for causing build bustages on Logging.h
Backed out changeset c07607b89a61 (bug 1750515)
Backed out changeset 09f9724c8c1c (bug 1753025)
Backed out changeset 90e9e803f010 (bug 1753025)
2022-02-08 17:52:43 +02:00
Karl Dubost
6d0ce643f6 Bug 1637922. Disables netinfo in some tests. r=annevk,webidl,peterv
Adds comment on keeping the code instead of removing it.

Differential Revision: https://phabricator.services.mozilla.com/D126447
2022-02-08 15:02:33 +00:00
Karl Dubost
d104796ec4 Bug 1637922. Disables dom.netinfo.enabled everywhere. r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D126431
2022-02-08 15:02:32 +00:00
Jonathan Kew
559f2ace9c Bug 1587094 - Create a pref to control whether we use DirectWrite's bold simulation or multi-strike synthetic bold; default to multi-strike for webfonts. r=lsalzman
This is designed to mitigate the problem of third-party fonts that render poorly
under DirectWrite's bold simulation, by using multi-strike synthetic bold (like
we use on macOS) instead.

The behavior is controlled by a pref, so that we can readily switch between
using DWrite's bold simulation for all fonts (pref=2, our current behavior);
using it only for installed fonts and falling back to multi-strike for webfonts
(pref=1, new behavior); or never using the DWrite simulation (pref=0).

Differential Revision: https://phabricator.services.mozilla.com/D137584
2022-02-08 14:40:02 +00:00
Eden Chuang
f78aaff856 Bug 1750515 - Enable NavigationPreload API on Nightly. r=dom-worker-reviewers,smaug
Depends on D137599

Differential Revision: https://phabricator.services.mozilla.com/D136215
2022-02-08 11:01:22 +00:00
Chris Peterson
a0c975962b Bug 1753805 - Add pref for enterprise users to override the User-Agent string's Firefox version. r=necko-reviewers,valentin
Firefox version 100 will ship on 2022-05-03. The Webcompat team can use Firefox's site interventions to spoof a version 99 UA for individual sites broken by a three-digit version number. But Firefox’s site interventions can’t override the UA for enterprise intranet sites we don't know about.

This patch adds a new "network.http.useragent.forceVersion" pref that enterprise admins can set to a known-good UA version (like 99) in an enterprise policy file. If the pref has a non-zero value, then override the User-Agent string's Firefox version. The value 0 means use the default Firefox version.

We can remove this pref in Firefox 103 after the next ESR is branched (version 102 on 2022-06-28). Enterprise users can use ESR 102 with forceVersion pref = 99 until the next ESR in mid-2023. Hopefully they can fix their broken intranet sites by that time.

Differential Revision: https://phabricator.services.mozilla.com/D137929
2022-02-08 05:03:10 +00:00
Norisz Fay
671b353782 Backed out changeset 49dc772ff0cd (bug 1587094) for causing multiple crashes CLOSED TREE 2022-02-08 05:30:51 +02:00
Timothy Nikkel
6e793fddd7 Bug 1753885. Enable swipe to navigate on Windows on nightly only. r=hiro
Disabled everywhere in bug 1751124 but it's in good enough shape to still get testing in nightly at least.

Differential Revision: https://phabricator.services.mozilla.com/D137949
2022-02-07 21:51:16 +00:00
Jonathan Kew
aef8a0d1a8 Bug 1587094 - Create a pref to control whether we use DirectWrite's bold simulation or multi-strike synthetic bold; default to multi-strike for webfonts. r=lsalzman
This is designed to mitigate the problem of third-party fonts that render poorly
under DirectWrite's bold simulation, by using multi-strike synthetic bold (like
we use on macOS) instead.

The behavior is controlled by a pref, so that we can readily switch between
using DWrite's bold simulation for all fonts (pref=2, our current behavior);
using it only for installed fonts and falling back to multi-strike for webfonts
(pref=1, new behavior); or never using the DWrite simulation (pref=0).

Differential Revision: https://phabricator.services.mozilla.com/D137584
2022-02-07 20:54:52 +00:00