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

18839 Коммитов

Автор SHA1 Сообщение Дата
Lars T Hansen cda3e5d212 Bug 1686652 - Generalize the SIMD wormhole. r=yury
Generalize the SIMD wormhole to both x86 and x64, and both baseline
and Ion, so that we can start experimenting with it on a broader
scale.

Change the config so that the feature will ride the trains,
preffed-off by default (the current setting).  The pref disappears
from view in late betas, though the feature remains; it can be
requested by another means (later patch) from privileged content only.

Differential Revision: https://phabricator.services.mozilla.com/D101709
2021-02-12 08:44:08 +00:00
Emilio Cobos Álvarez 5035989860 Bug 1692224 - Remove ui.use_native_colors. r=spohl
It's not set to false anywhere and the browser would be quite broken
with it set to false.

Differential Revision: https://phabricator.services.mozilla.com/D104906
2021-02-12 01:01:32 +00:00
Christoph Kerschbaumer 6692f87581 Bug 1542194: Update blocked-uri in CSP reporting by treating frame naviations as redirects r=freddyb,dveditz,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D103697
2021-02-11 09:09:17 +00:00
Tom Schuster be7f4c6ca9 Bug 1689886 - Add a test-only clipboard.read implementation with ClipboardItem. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D103588
2021-02-10 20:50:56 +00:00
Kershaw Chang d9e8c3a9e6 Bug 1690438 - Add telemetry for zero byte loads in nsJARChannel::Open r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D104404
2021-02-10 16:47:13 +00:00
Matt Woodrow f9e8884de8 Bug 1541472 - Remove Advanced Layers, since it's disabled everywhere now. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D104592
2021-02-10 02:04:41 +00:00
Jeff Gilbert 31e436ffe0 Bug 1691606 - Remove dead pref. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D104590
2021-02-10 01:44:07 +00:00
Emilio Cobos Álvarez 1d3c069803 Bug 1690778 - Derive accent color from theme highlight color in GTK. r=mstange
This makes form controls match the rest of the GTK theme like selection
colors, etc.

An alternative to this would be to just use non-native colors on GTK for
all content, but that seems somewhat unfortunate and we do the right
thing for scrollbars so...

I've tried on a variety of themes and this looks nice so far.

Differential Revision: https://phabricator.services.mozilla.com/D104496
2021-02-10 00:47:38 +00:00
Sean Feng 228f53a393 Bug 1667836 - Implement PerformanceEventTiming Interface r=smaug
Spec: https://wicg.github.io/event-timing/#sec-performance-event-timing

Differential Revision: https://phabricator.services.mozilla.com/D102035
2021-02-09 18:54:47 +00:00
Simon Giesecke 5a4b6bc937 Bug 1688833 - Migrate LookupForAdd to WithEntryHandle in modules/libpref. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D104196
2021-02-09 18:19:46 +00:00
Valentin Gosu ac524e72f8 Bug 1691721 - Remove early partial DNS records prefs r=necko-reviewers,kershaw
These prefs were mostly a perf improvement - return the first address family
first then merge the result with the other family.
However, this turned out to cause intermittent issues on some sites, so it
was turned off by default.
Removing these prefs allows us to have the same functionality across all
our resolvers - one request means one callback after both A and AAAA responses
have been received.

Differential Revision: https://phabricator.services.mozilla.com/D99757
2021-02-09 14:22:56 +00:00
Kershaw Chang e0a2b0844a Bug 1680688 - Add a delay before we reload PAC url r=necko-reviewers,valentin
Apparently, some VPN software also manipulate PAC url in system settings. In this case, the PAC url may not be available when we detect the network change, so this patch introduce a pref for adding a delay before reloading the PAC.

Differential Revision: https://phabricator.services.mozilla.com/D104449
2021-02-09 09:05:45 +00:00
Emma Malysz 2567a1e169 Bug 1688099, save more settings state in a pref and honor value on subsequent prints r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D104121
2021-02-08 22:40:37 +00:00
Emilio Cobos Álvarez a615cf4719 Bug 315209 - Add a pref to make non-auto outline follow border radius. r=mstange
This makes -moz-outline-radius a no-op, but keep it for now.

If/when we make this the default in release, we can remove it.

Differential Revision: https://phabricator.services.mozilla.com/D104324
2021-02-08 17:19:56 +00:00
Kershaw Chang 3521cdde51 Bug 1686421 - Enable network.dns.upgrade_with_https_rr on nightly r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D103783
2021-02-08 13:12:30 +00:00
Timothy Nikkel 7601c56833 Bug 1675547. Force layerization for all scrollframes that want it, when WR and fission is enabled. r=botond
We want this for hit testing purposes.

Depends on D103859

Differential Revision: https://phabricator.services.mozilla.com/D103860
2021-02-05 11:32:29 +00:00
Edgar Chen 448e1644a0 Bug 1690897 - Get rid of `dom.formdata.event.enabled` pref; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D104103
2021-02-05 13:51:33 +00:00
Emilio Cobos Álvarez 34a6457e63 Bug 1690898 - Add a mozinfo entry for nnt, and update WPT test expectations. r=jgraham
Other platforms are going to need more annotations, so this allows us to
update one line while rolling out the feature, rather than updating a
bunch of test expectations. Also should be clearer.

Let me know if there are better ways to do this.

Differential Revision: https://phabricator.services.mozilla.com/D104102
2021-02-05 14:27:47 +00:00
Nicolas Silva cc0396687e Bug 1690247 - Enable the batched texture upload path on windows. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D104044
2021-02-04 18:10:37 +00:00
Bogdan Tara b3d9616178 Backed out changeset e21ae6fdc524 (bug 1690898) for Event-dispatch-redispatch.html failures CLOSED TREE 2021-02-05 16:12:09 +02:00
Brindusan Cristian 13f57afb9c Backed out changeset 8e2eba3023da (bug 1690897) for build bustages at nsContentUtils.cpp. CLOSED TREE 2021-02-05 15:31:13 +02:00
Edgar Chen 7a0199c1a4 Bug 1690897 - Get rid of `dom.formdata.event.enabled` pref; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D104103
2021-02-04 22:05:19 +00:00
Edgar Chen 3fc0341a98 Bug 1690888 - Get rid of `dom.forms.requestsubmit.enabled` pref; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D104100
2021-02-04 22:06:51 +00:00
Emilio Cobos Álvarez 874b18c2d3 Bug 1690898 - Add a mozinfo entry for nnt, and update WPT test expectations. r=jgraham
Other platforms are going to need more annotations, so this allows us to
update one line while rolling out the feature, rather than updating a
bunch of test expectations. Also should be clearer.

Let me know if there are better ways to do this.

Differential Revision: https://phabricator.services.mozilla.com/D104102
2021-02-05 08:59:34 +00:00
Brindusan Cristian ee1af19495 Backed out changeset 7913b9adce62 (bug 1675547) for bc failures in browser_test_group_fission.js. CLOSED TREE 2021-02-05 13:19:08 +02:00
Timothy Nikkel 9031e10183 Bug 1675547. Force layerization for all scrollframes that want it, when WR and fission is enabled. r=botond
We want this for hit testing purposes.

Depends on D103859

Differential Revision: https://phabricator.services.mozilla.com/D103860
2021-02-04 05:28:39 +00:00
Kershaw Chang 082d68bc40 Bug 1415923 - Ignore sleep and wake notifications on OSX r=xpcom-reviewers,KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D103228
2021-02-04 21:40:47 +00:00
Emilio Cobos Álvarez d6359bbd5f Bug 1690812 - Allow users to opt-in into scrollbar-buttons on GTK. r=spohl
They look ok as-is, but make it an opt-in for now.

Differential Revision: https://phabricator.services.mozilla.com/D104074
2021-02-04 19:45:21 +00:00
Stone Shih c8284bad50 Bug 1370630 - Untrusted submit event shouldn't trigger form submission; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D28070
2021-02-04 19:38:47 +00:00
Nihanth Subramanya c206347e88 Bug 1689113 - Don't skip TRR unless confirmation explicitly failed. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D103170
2021-02-04 17:34:27 +00:00
Sebastian Hengst f212b7d64e Backed out changeset 8ed17b5ad9ba (bug 1690247) for possibly causing crashes in table-cell-breaking-1a.html. CLOSED TREE 2021-02-04 19:05:42 +01:00
Emilio Cobos Álvarez 194d72ada8 Bug 1690700 - Make non-native GTK scrollbars more configurable. r=mstange
This makes it easier to play with different appearances, and it
shouldn't be significantly slower. This was useful for my investigation in
bug 1690494.

Differential Revision: https://phabricator.services.mozilla.com/D103968
2021-02-04 16:22:35 +00:00
Nicolas Silva 177988b873 Bug 1690247 - Enable the batched texture upload path on windows. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D104044
2021-02-04 13:51:54 +00:00
Timothy Nikkel d2930b87f0 Bug 1690433. Prefer to jank minimal display ports until we can set a proper display port over checkerboarding them. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D103857
2021-02-04 11:17:06 +00:00
Timothy Nikkel e2f27ec58a Bug 1690433. Create a minimal display port type. r=botond
We introduce a new type of display port, a minimal display port. It is controlled via a property on the content element. When the property is present any other display port specified on the element is ignored and instead the display port rect is computed by assuming 0 display port margins and no alignment (this reuses the existing code for display port suppression).

We then add code to set a minimal display port on every scroll frame that is painted that has WantAsyncScroll() when certain prefs are set (the prefs are disabled as of this patch though).

We then need to manage removing the minimal display port property when, before this patch, we would have created a regular display port. As well we need to add the minimal display port property when, before this patch, we would have removed a regular display port.

In order to do this I audited all sites where we set the display port rect and display port margins property. The changes to the code for handling the removal display ports happens in a later patch.

My audit found that all of the places we set a display port want to clear the minimal display port property except:
-UpdateSub/RootFrame in APZCCallbackHelper
-UpdateDisplayPortMarginsForPendingMetrics in DisplayPortUtils

UpdateDisplayPortMarginsForPendingMetrics is basically a fast path of the UpdateSub/RootFrame code. These are the places where we handle calls to RequestContentRepaint from apz. By adding an assert and running it through try server I found that UpdateSub/RootFrame can create a display port in the following cases:
-a scroll info layer
-a scroll frame with !WantAsyncScroll() (the main thread never creates a display port for a scroll frame with !WantAsyncScroll()) (for example if the main thread creates a scroll id and sends over metadata via nsLayoutUtils::GetRootMetaData, and then the scroll rect changes, that will cause a RequestContentRepaint call)
-a few instances that don't fall into the above that happened on try server but didn't reproduce for me locally, so I don't know more about them.
It's not very important whether we clear the minimal display port property for these cases or not (the first two cases we don't async scroll the scroll frame at all, the last case seems quite rare).

Note that we intentionally do not change the existing behaviour of zero margin display ports set via SetZeroMarginDisplayPortOnAsyncScrollableAncestors as we are aiming for no behaviour changes with this patch (until we flip the pref). A later patch in a different bug handles changing these display ports over to minimal display ports.

Differential Revision: https://phabricator.services.mozilla.com/D103855
2021-02-04 11:16:44 +00:00
Chris H-C 0e37fbe72a Bug 1690106 - Implement FOG user-activity-based baseline ping schedule r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D103794
2021-02-03 19:15:55 +00:00
Dragana Damjanovic 9ff2575792 Bug 1689604 - Remove TCPFastOpen part 3 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D103517
2021-02-03 17:23:45 +00:00
Emilio Cobos Álvarez 217ddbe75f Bug 1690225 - Remove focus-visible feature flag. r=edgar
This shipped in 85, we can remove the feature flag now. Keep
:-moz-focusring as an alias to :focus-visible at parse time.

Differential Revision: https://phabricator.services.mozilla.com/D103752
2021-02-02 23:45:25 +00:00
Yura Zenevich a6a8cc4c9e Bug 1681007 - enable keyboard navigation to video controls by default. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D103825
2021-02-03 00:52:31 +00:00
Mihai Alexandru Michis ac5549ffd4 Backed out 2 changesets (bug 1690225) for causing multiple bc failures.
CLOSED TREE

Backed out changeset 381ee01f5034 (bug 1690225)
Backed out changeset cde1d10aae1c (bug 1690225)
2021-02-03 01:42:37 +02:00
Emilio Cobos Álvarez df079e8f9d Bug 1690225 - Remove focus-visible feature flag. r=edgar
This shipped in 85, we can remove the feature flag now. Keep
:-moz-focusring as an alias to :focus-visible at parse time.

Differential Revision: https://phabricator.services.mozilla.com/D103752
2021-02-02 22:28:40 +00:00
Kris Maglione df030bce83 Bug 1674871: Unlock fission.autostart and allow to ride the trains. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D103829
2021-02-02 22:01:32 +00:00
Matthew Gaudet d5c7f81a2c Bug 1690115 - Remove off_thread_parse_global preference r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D103718
2021-02-02 03:24:31 +00:00
Valentin Gosu 2a4e83a941 Bug 1689713 - Dinamically determine browser.cache.memory.capacity for Android r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D103600
2021-02-02 11:35:32 +00:00
Nicolas Silva 997f34d803 Bug 1681310 - Add a batched texture upload code path using glTexSubImage2D. r=jnicol
Our existing batched texture upload logic works with pixel buffer objects which we don't use with ANGLE.
The motivation is to avoid expensive driver overhead from submitting many glTexSubImage2D calls (one for each texture cache item) on low-end Intel Windows configurations.

On Windows+Intel it is much faster to use batched draw calls to copy from staging textures to texture cache than using CopySubResourceRegion (when there is a high number of copies).

Differential Revision: https://phabricator.services.mozilla.com/D103333
2021-02-02 06:50:00 +00:00
Andrew Osmond 4a410a48ae Bug 1689203 - Allow fallback from WebRender to Software WebRender. r=jrmuizel
We can disable WebRender because the GPU process crashed, or we
encountered a graceful runtime error in WebRender. This patch adds two
new prefs to control how that fallback works.

gfx.webrender.fallback.software-d3d11 controls if WebRender falls back
to Software WebRender + D3D11 compositing. If true, and the user is
allowed to get Software WebRender, we will fallback to Software
WebRender with the D3D11 compositor first.

gfx.webrender.fallback.software controls if WebRender falls back to
Software WebRender. If true, and the user is allowed to get Software
WebRender, we will fallback to Software WebRender without the D3D11
compositor.

gfx.webrender.fallback.basic controls if WebRender or Software
WebRender falls back to Basic. If true, it falls back to Basic.
Otherwise it continues to use Software WebRender without the D3D11
compositor. Note that this means OpenGL on Android.

This patch also means that gfx.webrender.all=true and MOZ_WEBRENDER=1
no longer disables Software WebRender. It will still prefer (Hardware)
WebRender but we want to allow fallback to Software WebRender for
configurations that forced WebRender on.

Differential Revision: https://phabricator.services.mozilla.com/D103491
2021-02-01 23:36:36 +00:00
Butkovits Atila 6a81495553 Backed out changeset 7ba7ce64acae (bug 1689203) for causing failure on GfxConfigManager. CLOSED TREE 2021-02-02 01:33:00 +02:00
Andrew Osmond 2a606ea074 Bug 1689203 - Allow fallback from WebRender to Software WebRender. r=jrmuizel
We can disable WebRender because the GPU process crashed, or we
encountered a graceful runtime error in WebRender. This patch adds two
new prefs to control how that fallback works.

gfx.webrender.fallback.software-d3d11 controls if WebRender falls back
to Software WebRender + D3D11 compositing. If true, and the user is
allowed to get Software WebRender, we will fallback to Software
WebRender with the D3D11 compositor first.

gfx.webrender.fallback.software controls if WebRender falls back to
Software WebRender. If true, and the user is allowed to get Software
WebRender, we will fallback to Software WebRender without the D3D11
compositor.

gfx.webrender.fallback.basic controls if WebRender or Software
WebRender falls back to Basic. If true, it falls back to Basic.
Otherwise it continues to use Software WebRender without the D3D11
compositor. Note that this means OpenGL on Android.

This patch also means that gfx.webrender.all=true and MOZ_WEBRENDER=1
no longer disables Software WebRender. It will still prefer (Hardware)
WebRender but we want to allow fallback to Software WebRender for
configurations that forced WebRender on.

Differential Revision: https://phabricator.services.mozilla.com/D103491
2021-02-01 22:27:11 +00:00
Butkovits Atila 1d0218ffe2 Backed out changeset a3c9fce26dd1 (bug 1689203) for causing build bustages on GPUProcessManager.cpp. CLOSED TREE 2021-02-02 00:22:59 +02:00
Andrew Osmond 65ad480541 Bug 1689203 - Allow fallback from WebRender to Software WebRender. r=jrmuizel
We can disable WebRender because the GPU process crashed, or we
encountered a graceful runtime error in WebRender. This patch adds two
new prefs to control how that fallback works.

gfx.webrender.fallback.software-d3d11 controls if WebRender falls back
to Software WebRender + D3D11 compositing. If true, and the user is
allowed to get Software WebRender, we will fallback to Software
WebRender with the D3D11 compositor first.

gfx.webrender.fallback.software controls if WebRender falls back to
Software WebRender. If true, and the user is allowed to get Software
WebRender, we will fallback to Software WebRender without the D3D11
compositor.

gfx.webrender.fallback.basic controls if WebRender or Software
WebRender falls back to Basic. If true, it falls back to Basic.
Otherwise it continues to use Software WebRender without the D3D11
compositor. Note that this means OpenGL on Android.

This patch also means that gfx.webrender.all=true and MOZ_WEBRENDER=1
no longer disables Software WebRender. It will still prefer (Hardware)
WebRender but we want to allow fallback to Software WebRender for
configurations that forced WebRender on.

Differential Revision: https://phabricator.services.mozilla.com/D103491
2021-02-01 20:41:09 +00:00