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

19272 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez abc8380317 Bug 1710369 - Remove unused code for dealing with plugins in EventStateManager. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D114716
2021-05-10 10:29:20 +00:00
Robert Mader 583024121b Bug 1710180 - Make sure some widget.wayland prefs don't change at runtime, r=stransky
We have some settings that we don't handle well if they change
at runtime. Make them mirror:once.

In the case of `wideget.wayland_vsync.enabled`, this was practically
already the case but in a deprecated way. While on it, use the chance to
rename it to `widget.wayland.vsync.enabled` so it matches other
configs.

Differential Revision: https://phabricator.services.mozilla.com/D114664
2021-05-10 09:01:40 +00:00
Matt Woodrow 728f5a24cf Bug 1708325 - Allow doing an extra refresh driver tick for user input events. r=mstange,bas
Differential Revision: https://phabricator.services.mozilla.com/D113737
2021-05-10 00:00:51 +00:00
Dorel Luca 9bdd0264e6 Backed out 2 changesets (bug 1708325) for Build bustages in gecko/layout/base/nsRefreshDriver.h. CLOSED TREE
Backed out changeset 3fe338644983 (bug 1708325)
Backed out changeset edf1ac18cc8c (bug 1708325)
2021-05-10 01:52:44 +03:00
Matt Woodrow fd7a809e96 Bug 1708325 - Allow doing an extra refresh driver tick for user input events. r=mstange,bas
Differential Revision: https://phabricator.services.mozilla.com/D113737
2021-05-09 22:35:44 +00:00
Timothy Nikkel a770cad303 Bug 1709639. Make the double tap zoom animation 350ms long on desktop (macos). r=botond
Leaving android alone as I don't think we've looked at it.

Differential Revision: https://phabricator.services.mozilla.com/D114541
2021-05-08 03:36:47 +00:00
Glenn Watson abf890dc11 Bug 1709757 - Pt 3 - Remove WR internal code and APIs for debugger feature r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D114452
2021-05-07 01:57:01 +00:00
Andrew Osmond 195b6f4fbd Bug 1707610 - Make GPU process restart criteria depend on rendering frames and uptime. r=jrmuizel
Originally, we would restart the GPU process a fixed number of attempts
based on the layers.gpu-process.max_restarts pref. With this patch, we
now use this pref to control how many "unstable" restarts we allow. A
restart is "stable" if and only if the process uptime exceeds the pref
layers.gpu-process.stable.min-uptime-ts and if the process renders a
total number of frames exceeding the pref
layers.gpu-process.stable.frame-threshold. This allows users to keep the
GPU process for a lot longer if they are encountering infrequent
crashes. Should the user experience the GPU process crashing quickly
and/or without rendering many frames, we will disable it as before after
a few attempts and move into the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D114531
2021-05-06 19:47:38 +00:00
Aaron Klotz a50e0c2e71 Bug 1706383: Set process priority manager grace periods for GeckoView Nightly; r=geckoview-reviewers,agi
Because of the way the process priority manager works, a tab switch may alter
priorities like so:

1. User switches from `tab1` to `tab2`;
2. We drop `tab1`'s content process priority;
3. We raise `tab2`'s content process priority;

But if `tab1` and `tab2` live in the same content process, then not only is
the priority adjustment redundant, it gives Android an opportunity to kill
the content process between steps (2) and (3)!

By setting a brief grace period, the priority manager will wait a bit until
dropping priority of `tab1`:

1. User switches from `tab1` to `tab2`;
2. We start the grace period for dropping `tab1`'s priority;
3. We go to raise `tab2`'s priority, but since the content process is already
   foreground, this becomes a no-op;
4. Grace period expires for `tab1`, but we see that `tab2` is still using our
   content process, so the "drop" becomes a no-op.

Nightly only for now, we'll see how this affects tab kills.

Differential Revision: https://phabricator.services.mozilla.com/D114507
2021-05-06 17:36:52 +00:00
Alexandru Michis 574bea557a Backed out 14 changesets (bug 1705659, bug 472823, bug 669675) for causing bustages in nsHttpChannelAuthProvider.cpp
CLOSED TREE

Backed out changeset 42561f42313d (bug 669675)
Backed out changeset 2aee05c2d6f3 (bug 1705659)
Backed out changeset ff4348e0a307 (bug 1705659)
Backed out changeset 897868e22c81 (bug 1705659)
Backed out changeset c808bf01dfe8 (bug 1705659)
Backed out changeset 5c13ec25cc2e (bug 1705659)
Backed out changeset 4337214c8846 (bug 1705659)
Backed out changeset 18d3a604336a (bug 1705659)
Backed out changeset 3af362aa2b25 (bug 1705659)
Backed out changeset 36eff14cf2ea (bug 1705659)
Backed out changeset 8af29f96ac77 (bug 1705659)
Backed out changeset eab68e8bea29 (bug 1705659)
Backed out changeset 05492b6578a9 (bug 1705659)
Backed out changeset 3259a8cb3db1 (bug 472823)
2021-05-06 17:37:17 +03:00
Jens Stutte f2f68509d3 Bug 1690326: Add mappings for ERROR_DEVICE_HARDWARE_ERROR, ERROR_DEVICE_NOT_CONNECTED, ERROR_DISK_FULL and remove error NS_ERROR_FILE_DISK_FULL in favor of existing NS_ERROR_FILE_NO_DEVICE_SPACE r=xpcom-reviewers,necko-reviewers,nika,valentin
Win32 errors ERROR_DEVICE_HARDWARE_ERROR, ERROR_DEVICE_NOT_CONNECTED, ERROR_DISK_FULL need a mapping.
NS_ERROR_FILE_DISK_FULL is duplicate to NS_ERROR_FILE_NO_DEVICE_SPACE
Drive by: RejectJSPromise lacked some NS_ERROR_* mappings

Differential Revision: https://phabricator.services.mozilla.com/D113974
2021-05-06 14:00:06 +00:00
Valentin Gosu a59c870e31 Bug 669675 - Use Tokenizer in ParseRealm r=necko-reviewers,dragana
We also import the testcases from http://test.greenbytes.de/tech/tc/httpauth/
as unit tests.

This patch adds a network.auth.use_new_parse_realm pref in case this change
causes any regressions.

Depends on D112605

Differential Revision: https://phabricator.services.mozilla.com/D112594
2021-05-06 13:17:23 +00:00
Kagami Sascha Rosylight 7b88bc8e6d Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-06 02:00:57 +00:00
Noemi Erli 13aa18b8d4 Backed out 4 changesets (bug 1707590) for causing gtest crashes CLOSED TREE
Backed out changeset 3bd322893127 (bug 1707590)
Backed out changeset 8cc3eaf728b6 (bug 1707590)
Backed out changeset 21f41a9df048 (bug 1707590)
Backed out changeset 3201d860afef (bug 1707590)
2021-05-06 04:57:44 +03:00
Kagami Sascha Rosylight 46370f6828 Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-06 01:14:21 +00:00
Noemi Erli 3487bbd1ee Backed out 4 changesets (bug 1707590) for causing gtest crashes CLOSED TREE
Backed out changeset 6edab66fe2c5 (bug 1707590)
Backed out changeset e5d2d6824408 (bug 1707590)
Backed out changeset 9c7204c3f03c (bug 1707590)
Backed out changeset 25da391baa22 (bug 1707590)
2021-05-06 02:07:42 +03:00
Kagami Sascha Rosylight c0edfd67fc Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-05 21:44:08 +00:00
Csoregi Natalia df171582fd Backed out 4 changesets (bug 1707590) for causing gtest crashes. CLOSED TREE
Backed out changeset fec7b65cc3d7 (bug 1707590)
Backed out changeset 3a7e5c98dd13 (bug 1707590)
Backed out changeset 9dfd0d516062 (bug 1707590)
Backed out changeset 9ab607973f20 (bug 1707590)
2021-05-05 22:23:06 +03:00
Kagami Sascha Rosylight 302712a161 Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-05 17:33:53 +00:00
Henri Sivonen 5bb6334bad Bug 1706864 - Enable chardetng for .in and .lk TLDs. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D114341
2021-05-05 15:12:34 +00:00
Andrew Osmond c46e4b35ef Bug 1709476 - Allow falling back to Software WebRender from D3D11/WebRender in release. r=jrmuizel
If a user is able to get D3D11, and Software WebRender hasn't been
forced on (either by the Fission experiment or our pref), then we prefer
D3D11 in late beta and release. This will allow users who start with
D3D11 in the GPU process, to fallback to Software WebRender in the GPU
process.

Differential Revision: https://phabricator.services.mozilla.com/D114286
2021-05-05 14:31:46 +00:00
Emilio Cobos Álvarez bb5a3fe5a8 Bug 1680387 - Sanity-check exif resolution with other exif metadata. r=tnikkel
Also matches other browsers, and fixes the test that got me backed out,
since it has a huge EXIF resolution value.

Differential Revision: https://phabricator.services.mozilla.com/D114249
2021-05-05 09:41:25 +00:00
Emilio Cobos Álvarez 68a7c365ec Bug 1680387 - Fix interaction with src-set() / image-set(), and enable the feature by default. r=tnikkel
As discussed here: https://github.com/whatwg/html/pull/5574#issuecomment-826347560

This matches other browsers.

Depends on D113265

Differential Revision: https://phabricator.services.mozilla.com/D113267
2021-05-05 09:41:24 +00:00
Emilio Cobos Álvarez 6c4266f7f7 Bug 1680387 - Read and expose EXIF image resolution data. r=tnikkel,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D113264
2021-05-05 09:41:23 +00:00
Dorel Luca f8cffec171 Backed out 4 changesets (bug 1707590) for worker/checkouts/gecko/config/rules.mk. CLOSED TREE
Backed out changeset 4ccdb31e1c5a (bug 1707590)
Backed out changeset 4b69f99caf69 (bug 1707590)
Backed out changeset a3f23a20b532 (bug 1707590)
Backed out changeset f591c3da4311 (bug 1707590)
2021-05-04 20:29:51 +03:00
Markus Stange 5bcf113e2e Bug 1704102 - On 10.14 and 10.15, make NSMenu adopt the system appearance by briefly changing the NSWindow appearance during menu opening. r=harry
This can be disabled by setting the following pref to false:
widget.macos.enable-pre-bigsur-workaround-for-dark-mode-context-menus

Differential Revision: https://phabricator.services.mozilla.com/D114037
2021-05-04 16:00:52 +00:00
Ryan Hunt 6374503adf Bug 1706124 - wasm: Implement the extended-const proposal. r=lth
This commit implements the extended-constants proposal.
 * A new feature flag and pref are added.
 * Basic tests are added.

Differential Revision: https://phabricator.services.mozilla.com/D112661
2021-05-04 15:58:26 +00:00
Ryan Hunt 0369231881 Bug 1706124 - wasm: Remove unused reftypes preference. r=lth
Drive-by fix to drop preference for reftypes from StaticPrefList.yaml. This is no
longer used now that the reference types feature gating code is gone.

Depends on D112656

Differential Revision: https://phabricator.services.mozilla.com/D112657
2021-05-04 15:58:25 +00:00
Kagami Sascha Rosylight b28b7b020a Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-04 15:24:54 +00:00
sanketh 6a3c22f574 Bug 1635603 - Create a nsContentUtils::ShouldResistFingerPrinting(nsIChannel* aChannel) r=tjr,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D95477
2021-05-04 14:34:23 +00:00
Iulian Moraru 7e3d199323 Backed out 4 changesets (bug 1707590) for causing build bustages. CLOSED TREE
Backed out changeset f3f40c6fb8e2 (bug 1707590)
Backed out changeset 3e76ff83ebe2 (bug 1707590)
Backed out changeset 40a3f43a2306 (bug 1707590)
Backed out changeset 01bb0e75cb82 (bug 1707590)
2021-05-04 17:11:54 +03:00
Emilio Cobos Álvarez 3b32ef6ba0 Bug 1709295 - Keep dark system color extraction behind a pref for now. r=stransky
We'll have to pay this startup time penalty eventually for light theme
users as well but, until we do, we can avoid this regression.

Differential Revision: https://phabricator.services.mozilla.com/D114215
2021-05-04 13:44:08 +00:00
Kagami Sascha Rosylight bdd09637c2 Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-04 13:29:08 +00:00
Iulian Moraru b21df91635 Backed out 3 changesets (bug 1680387) for causing browser chrome failures on browser_bug592641.js. CLOSED TREE
Backed out changeset 65616921e520 (bug 1680387)
Backed out changeset 51531850a9a2 (bug 1680387)
Backed out changeset 0c1c5e1f901b (bug 1680387)
2021-05-04 16:28:17 +03:00
Emilio Cobos Álvarez 27cc12171b Bug 1680387 - Fix interaction with src-set() / image-set(), and enable the feature by default. r=tnikkel
As discussed here: https://github.com/whatwg/html/pull/5574#issuecomment-826347560

This matches other browsers.

Depends on D113265

Differential Revision: https://phabricator.services.mozilla.com/D113267
2021-05-04 10:24:08 +00:00
Emilio Cobos Álvarez f7f8e8d153 Bug 1680387 - Read and expose EXIF image resolution data. r=tnikkel,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D113264
2021-05-04 10:24:06 +00:00
Lars T Hansen fa1414e4b5 Bug 1706891 - Config machinery for relaxed simd. r=rhunt
Introduce moz.configure, WasmFeatures, and StaticPrefList.yaml
machinery to define a config option for relaxed SIMD
(https://github.com/WebAssembly/relaxed-simd).  At the moment, there
are no defined relaxed SIMD opcodes, but a dozen or so are in the
works.  This just sets us up for implementing those.

Differential Revision: https://phabricator.services.mozilla.com/D114117
2021-05-04 06:26:13 +00:00
Xidorn Quan 083983b7f0 Bug 1708897 - Remove layout.css.ruby.position-alternate.enabled pref. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D114044
2021-05-02 03:27:50 +00:00
Matthew Gaudet 69dbc2001b Bug 1708236 - Enable Private Methods Preference by default r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D113706
2021-04-30 20:42:11 +00:00
Matthew Gaudet a945eb31d9 Bug 1708235 - Enable Private Fields Preference by default r=yulia,robwu
Differential Revision: https://phabricator.services.mozilla.com/D113704
2021-04-30 20:42:10 +00:00
Butkovits Atila 67c65f256e Backed out 4 changesets (bug 1708235, bug 1708236) for causing build bustages. CLOSED TREE
Backed out changeset 87bf4278726e (bug 1708236)
Backed out changeset 26f9043652b4 (bug 1708236)
Backed out changeset 48fb4213beb9 (bug 1708235)
Backed out changeset 26e29ac0e610 (bug 1708235)
2021-04-30 20:01:22 +03:00
Matthew Gaudet 6b5353d84b Bug 1708236 - Enable Private Methods Preference by default r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D113706
2021-04-30 16:00:21 +00:00
Matthew Gaudet af595692c6 Bug 1708235 - Enable Private Fields Preference by default r=yulia,robwu
Differential Revision: https://phabricator.services.mozilla.com/D113704
2021-04-30 16:00:19 +00:00
Emilio Cobos Álvarez 9ffb840117 Bug 1707957 - Extract both light and dark system colors in GTK. r=stransky
And add code to use the appropriate variant like we do in macOS with
respect-system-appearance (but this still needs more work as noted in
StaticPrefList.yaml).

Still, it cleans up a bunch, and allows to not depend on the content
process boundary to provide light system colors.

Depends on D113542

Differential Revision: https://phabricator.services.mozilla.com/D113543
2021-04-30 12:36:50 +00:00
Dragana Damjanovic fe31a10105 Bug 1708567 - Add support for HTTP3 version 1 behind a pref r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D113881
2021-04-30 11:33:39 +00:00
Olli Pettay c5a8c77991 Bug 1705734 - Enable BFCache for pages with *unload event listeners on Android, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D112824
2021-04-30 11:17:01 +00:00
Valentin Gosu d3f14d0f5b Bug 1694662 - Remove Appcache storage pref r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D106461
2021-04-30 07:20:26 +00:00
Narcis Beleuzu 92be708195 Backed out changeset 87d9ec38423c (bug 1705734) for xpcshell failures on test_ext_contentscript_context_isolation.js (Bug 1659984) . CLOSED TREE 2021-04-30 06:43:14 +03:00
Chris Martin 133f7ff00b Bug 1697865 - Add Win32k Lockdown Pref to Nightly Experiments r=preferences-reviewers,jaws,fluent-reviewers
Win32k Lockdown is getting to the point where we *could* have people in the
community start testing. Let's make it easy for them!

Differential Revision: https://phabricator.services.mozilla.com/D108255
2021-04-28 13:40:59 +00:00
Valentin Gosu cab101ef5e Bug 1574475 - Remove ftp prefs r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D111247
2021-04-28 09:33:46 +00:00