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

18822 Коммитов

Автор SHA1 Сообщение Дата
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
Masayuki Nakano 9db1e46b82 Bug 1665530 - Make `beforeinput` event and `InputEvent.getTargetRanges()` ride the train r=smaug,preferences-reviewers,ntim
Intent to ship: https://groups.google.com/g/mozilla.dev.platform/c/C_92-abaiuw

Differential Revision: https://phabricator.services.mozilla.com/D103424
2021-01-29 10:45:06 +00:00
Bob Owen 4967e1cddf Bug 1689398 p2: Add prefs to allow CET Strict Mode to be turned on for each sandboxed child process. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D103474
2021-01-31 16:47:11 +00:00
Jan de Mooij 6b0004f4f5 Bug 1688616 part 1 - Add a browser pref for large ArrayBuffers. r=lth
The pref is only checked on startup and sets a process-wide flag, so that we
don't have to worry about the value changing from under us.

Differential Revision: https://phabricator.services.mozilla.com/D102911
2021-01-30 16:14:30 +00:00
Emilio Cobos Álvarez 656310ede8 Bug 1689359 - Enable non-native-theme on Linux Nightly by default. r=spohl
Once all the remaining patches for test tweaks / fixes have landed, this
patch should be green on try. Couple test annotation changes:

 * clip-003.html fails the same way it fails on mac (odd, but couldn't
   repro...). I'll try to dig a bit more before calling it a day.

 * radiobutton-min-size starts behaving like every other platform.

 * Event-dispatch-redispatch and baseline-alignment-and-overflow start
   passing.

 * Couple minor fuzzy annotations (one was backwards, the other was
   missing).

Differential Revision: https://phabricator.services.mozilla.com/D103327
2021-01-30 15:55:00 +00:00
Butkovits Atila 80ba5dd933 Backed out 2 changesets (bug 1688616) for casing failures on test_large_arraybuffers.html. CLOSED TREE
Backed out changeset 560718ce8d2c (bug 1688616)
Backed out changeset 7985fd012bc7 (bug 1688616)
2021-01-30 18:10:09 +02:00
Jan de Mooij 950369e123 Bug 1688616 part 1 - Add a browser pref for large ArrayBuffers. r=lth
The pref is only checked on startup and sets a process-wide flag, so that we
don't have to worry about the value changing from under us.

Differential Revision: https://phabricator.services.mozilla.com/D102911
2021-01-27 11:53:23 +00:00
Caroline Cullen 0290536aaa Bug 1688768 - Enable full shutdown when JS_STRUCTURED_SPEW is enabled. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D103221
2021-01-27 23:40:35 +00:00
Nick Alexander 03ff66c89d Bug 1667276 - Part 3: Load a custom prefs file when running a background task. r=mossop,KrisWright
There are some complications here to handle unpackaged and packaged
builds.  In addition, there could be a difference between App prefs
and GRE prefs.  Since the underlying backgroundtasks code is built as
part of Gecko (i.e., `toolkit/...` rather than `browser/...`) I have
favoured GRE prefs.  I think, however, that what is written will work
for App-specific prefs, but I'm not concerned with that detail at this
time.

This also add tests for backgroundtask-specific prefs, which are
structured as both xpcshell and mochitest-chrome tests because
locally, the former tests unpackaged builds and the latter can
accommodate testing packaged builds.  We could use mochitest-chrome
for both, but this has been pleasant to work with locally.

Differential Revision: https://phabricator.services.mozilla.com/D97510
2021-01-27 22:54:25 +00:00
Butkovits Atila 89fe8f250d Backed out 8 changesets (bug 1679440, bug 1682069, bug 1667276) for causing failure on test_crash_backgroundtask_moz_crash.js. CLOSED TREE
Backed out changeset f06504e3219f (bug 1682069)
Backed out changeset 4d325f68ea24 (bug 1679440)
Backed out changeset 9ab334e527a5 (bug 1667276)
Backed out changeset 1c8d51d2c90f (bug 1667276)
Backed out changeset 8d6f10d83c6b (bug 1667276)
Backed out changeset 62488ec634f9 (bug 1667276)
Backed out changeset 1dcb2d1be264 (bug 1667276)
Backed out changeset c673fff5bd85 (bug 1667276)
2021-01-27 22:17:17 +02:00
Nick Alexander eb8ab6ddf2 Bug 1667276 - Part 3: Load a custom prefs file when running a background task. r=mossop,KrisWright
There are some complications here to handle unpackaged and packaged
builds.  In addition, there could be a difference between App prefs
and GRE prefs.  Since the underlying backgroundtasks code is built as
part of Gecko (i.e., `toolkit/...` rather than `browser/...`) I have
favoured GRE prefs.  I think, however, that what is written will work
for App-specific prefs, but I'm not concerned with that detail at this
time.

This also add tests for backgroundtask-specific prefs, which are
structured as both xpcshell and mochitest-chrome tests because
locally, the former tests unpackaged builds and the latter can
accommodate testing packaged builds.  We could use mochitest-chrome
for both, but this has been pleasant to work with locally.

Differential Revision: https://phabricator.services.mozilla.com/D97510
2021-01-27 18:10:33 +00:00
Valentin Gosu d2046a6e97 Bug 1687618 - Remove browser.cache.cache_isolation r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102711
2021-01-26 10:32:07 +00:00
Kershaw Chang 19e0167786 Bug 1684040 - P1: Introduce new ODoH class for sending ODoH queries r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D101682
2021-01-26 14:19:09 +00:00
Mihai Alexandru Michis 51b7d9634a Backed out 3 changesets (bug 1684040) for causing bustages in DNSPacket.cpp
CLOSED TREE

Backed out changeset 3c771d45563a (bug 1684040)
Backed out changeset 76e79151d53c (bug 1684040)
Backed out changeset 7a993eb7bfde (bug 1684040)
2021-01-26 16:15:12 +02:00
Kershaw Chang cffa2368ca Bug 1684040 - P1: Introduce new ODoH class for sending ODoH queries r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D101682
2021-01-26 12:41:40 +00:00
smolnar 4bdd1a3ecd Backed out 5 changesets (bug 1687618) for causing mochitest failures in browser_networkIsolation. CLOSED TREE
Backed out changeset afb6bcdbdf4f (bug 1687618)
Backed out changeset b67677b3f710 (bug 1687618)
Backed out changeset 0cb1cb5bf7a8 (bug 1687618)
Backed out changeset 5308d27acd05 (bug 1687618)
Backed out changeset 984a9f8e8b5e (bug 1687618)
2021-01-26 11:36:32 +02:00
Valentin Gosu 7c1e084192 Bug 1687618 - Remove browser.cache.cache_isolation r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102711
2021-01-26 07:52:33 +00:00
Csoregi Natalia 0b28701943 Backed out 8 changesets (bug 1679440, bug 1682069, bug 1667276) for causing failures on browser_all_files_referenced.js. CLOSED TREE
Backed out changeset f1a65c9b3ca2 (bug 1682069)
Backed out changeset 310d2116faf7 (bug 1679440)
Backed out changeset f970ef0897cd (bug 1667276)
Backed out changeset 38c20196aabc (bug 1667276)
Backed out changeset 60c2f2dbc676 (bug 1667276)
Backed out changeset cf52687c4433 (bug 1667276)
Backed out changeset 74580a0f2633 (bug 1667276)
Backed out changeset ab6f830f6e75 (bug 1667276)
2021-01-26 06:49:04 +02:00