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

18797 Коммитов

Автор SHA1 Сообщение Дата
Kershaw Chang 0eebf69d04 Bug 1662676 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99680
2020-12-22 16:44:36 +00:00
Masayuki Nakano d047e80060 Bug 1683226 - part 14: Get rid of `ComplexTextInputPanel` r=m_kato
It's used only for a placeholder of composition string in plugins.

Depends on D100387

Differential Revision: https://phabricator.services.mozilla.com/D100388
2020-12-24 02:49:02 +00:00
Cameron McCormack eefbb537b9 Bug 1683204 - Include content theme configuration details in FullLookAndFeel. r=spohl
And re-enable the RemoteLookAndFeel by default with Gtk.

When the RemoteLookAndFeel is enabled and the non-native theme is not
enabled, we still need to configure the Gtk theme in content processes,
since we're still using Gtk to paint widget backgrounds etc. Without
this, we can end up using LookAndFeel colors from a light theme but
painting widget backgrounds from a dark theme.

Other platforms don't configure themes for content processes
differently, so on those platforms LookAndFeelTheme is an empty struct
and we skip the ConfigureTheme call.

Differential Revision: https://phabricator.services.mozilla.com/D100223
2020-12-22 19:26:41 +00:00
Henrik Skupin e0f0cbbf00 Bug 1606604 - [remote] Build the remote agent on all release channels. r=webdriver-reviewers,remote-protocol-reviewers,firefox-build-system-reviewers,jgraham,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D99982
2020-12-22 12:54:57 +00:00
Brindusan Cristian 65644db919 Backed out 2 changesets (bug 1606604) for build bustages on remote_default. CLOSED TREE
Backed out changeset 7357db102337 (bug 1606604)
Backed out changeset 8c6c88dc5956 (bug 1606604)
2020-12-22 13:57:29 +02:00
Henrik Skupin adfa0293c6 Bug 1606604 - [remote] Build the remote agent on all release channels. r=webdriver-reviewers,remote-protocol-reviewers,firefox-build-system-reviewers,jgraham,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D99982
2020-12-22 09:12:26 +00:00
Butkovits Atila d25ca898cd Backed out changeset 9b4ab01fda40 (bug 1662676) for gv-junit failures. CLOSED TREE 2020-12-21 20:20:04 +02:00
Kershaw Chang 1c40c3d129 Bug 1662676 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99680
2020-12-21 15:19:46 +00:00
Cameron McCormack 795c59b403 Bug 1683204 - Disable the RemoteLookAndFeel for regressing dark Gtk themes when the non-native theme is not enabled.
Differential Revision: https://phabricator.services.mozilla.com/D100086
2020-12-18 08:39:55 +00:00
Bogdan Tara 1ec41e129a Backed out changeset feef6926b977 (bug 1682995) for test_accept_header.html failures CLOSED TREE 2020-12-17 22:06:49 +02:00
Sonia Singla 970cc13ce5 Bug 1458764 - Removed the references with extensions.webextensions.tabhide.enabled pref. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D97092
2020-12-17 19:14:07 +00:00
Bob Owen 438178fdfa Bug 1683116: Disable remote canvas 2D for Release and late Beta. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D100039
2020-12-17 18:34:41 +00:00
Jon Bauman 8d485a206c Bug 1682995 - Enable AVIF support by default. r=aosmond,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99964
2020-12-17 18:49:14 +00:00
Emilio Cobos Álvarez 076ee57756 Bug 1682174 - Remove layout.css.moz-any-is-is.enabled. r=boris
We shipped this, let's remove the MozAny code.

Differential Revision: https://phabricator.services.mozilla.com/D99607
2020-12-16 20:24:03 +00:00
Emilio Cobos Álvarez 816e05c71f Bug 1475316 - Expose :autofill behind a pref to content, and add :-webkit-autofill as a compat alias. r=nordzilla
Nightly only until we get resolutions on the relevant spec issues.

Differential Revision: https://phabricator.services.mozilla.com/D99296
2020-12-16 08:16:16 +00:00
Jed Davis 907aa1cd3c Bug 1470983 - Remote all LookAndFeel values for the Gtk backend. r=spohl,jld
This adds a new LookAndFeel implementation, RemoteLookAndFeel, which can
be used in content processes and is supplied with all of its values by the
parent process.

Co-authored-by: Cameron McCormack <cam@mcc.id.au>

Differential Revision: https://phabricator.services.mozilla.com/D97977
2020-12-16 04:17:36 +00:00
James Teh a3c93f7525 Bug 494175 part 1: Add a pref to control whether all of the video controls are included in the tab order (default false for now). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D98746
2020-12-07 04:22:54 +00:00
Dana Keeler cbdc1d2bfa Bug 1682596 - enable osclientcerts by default in early beta and earlier r=kjacobs
Differential Revision: https://phabricator.services.mozilla.com/D99828
2020-12-15 22:17:14 +00:00
Sean Feng 12424aa6b0 Bug 1662265 - Fix input events handling for sync XHR when both TaskController and e10s are enabled r=smaug
There are two issues in our current setup

1) Input events which are occurring in the same tab are going to be lost
because sync XHR. We have event handling suppression for synx XHR, so input
events are going to be discarded.

2) Input events that are happening in another tab (same process as the
synx XHR tab) are not going to be delayed. This is not correct since
sync XHR should block the Javascript execution.

This patches fixes the above cases for when both TaskController and e10s are
enabled by suspending the InputTaskManager during sync XHR, which
delays the input event handling and keeps the events around.

Differential Revision: https://phabricator.services.mozilla.com/D90780
2020-12-15 01:33:24 +00:00
Lars T Hansen 810305d3e2 Bug 1672160 - SIMD wormhole. r=rhunt
Introduce a mechanism for experimenting with unary and binary SIMD
instructions (x64 + ion only, nightly only, and behind flags).
Basically this is useful for performance experiments.

A specific pattern of the first 15 bytes of the mask of the shuffle
opcode is recognized as a trigger; the last byte has the opcode 0..31.
For unary operations the two input values should be the same; the lhs
will always be chosen.  The pattern is recognized during lowering and
translated to specific machine instructions.

This mechanism is preferable to custom opcodes because it allows
existing tools (emscripten/llvm/binaryen/linkers) to be used without
change.

To trigger this, use --wasm-compiler=ion --wasm-simd-wormhole in the
shell or set javascript.options.wasm_baselinejit=false and
javascript.options.wasm_simd_wormhole=true in about:config.

This patch is mostly infrastructure but also introduces three
experimental opcodes: one to test for the presence and operation of
the wormhole, one to invoke the Intel PMADDUBSW instruction, and one
to invoke the Intel PMADDWD instruction.

Differential Revision: https://phabricator.services.mozilla.com/D94101
2020-12-15 09:49:35 +00:00
Butkovits Atila 5f456b2985 Backed out changeset ab835b3d50f9 (bug 1672160) for causing bustage on codegen-x64-test.js. CLOSED TREE 2020-12-15 10:43:44 +02:00
Lars T Hansen e67a161e57 Bug 1672160 - SIMD wormhole. r=rhunt
Introduce a mechanism for experimenting with unary and binary SIMD
instructions (x64 + ion only, nightly only, and behind flags).
Basically this is useful for performance experiments.

A specific pattern of the first 15 bytes of the mask of the shuffle
opcode is recognized as a trigger; the last byte has the opcode 0..31.
For unary operations the two input values should be the same; the lhs
will always be chosen.  The pattern is recognized during lowering and
translated to specific machine instructions.

This mechanism is preferable to custom opcodes because it allows
existing tools (emscripten/llvm/binaryen/linkers) to be used without
change.

To trigger this, use --wasm-compiler=ion --wasm-simd-wormhole in the
shell or set javascript.options.wasm_baselinejit=false and
javascript.options.wasm_simd_wormhole=true in about:config.

This patch is mostly infrastructure but also introduces three
experimental opcodes: one to test for the presence and operation of
the wormhole, one to invoke the Intel PMADDUBSW instruction, and one
to invoke the Intel PMADDWD instruction.

Differential Revision: https://phabricator.services.mozilla.com/D94101
2020-12-15 07:39:15 +00:00
Hiroyuki Ikezoe 09dc497f18 Bug 1493208 - Enable apz.popups.enabled. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D99310
2020-12-14 21:21:40 +00:00
Emilio Cobos Álvarez 6f9b45e8b3 Bug 1682295 - Remove some text-decoration prefs that are always on. r=layout-reviewers,mats
Differential Revision: https://phabricator.services.mozilla.com/D99675
2020-12-14 16:14:35 +00:00
Emilio Cobos Álvarez 3f4f539a25 Bug 1680977 - Move nsNavHistory::CanAddURIToHistory to BaseHistory. r=mak
And do some minor improvements (use static prefs etc) while at it.

Differential Revision: https://phabricator.services.mozilla.com/D99584
2020-12-14 15:23:10 +00:00
Emilio Cobos Álvarez 330c920720 Bug 1603455 - Remove layout.css.xul-tree-pseudos.content.enabled. r=heycam
We unshipped these a while ago and left the pref just for testing
purposes. But now all the reftests using it were conveniently migrated
to chrome:// tests, so we no longer need it.

Differential Revision: https://phabricator.services.mozilla.com/D56950
2020-12-14 13:43:50 +00:00
Matt Woodrow 4e7f9b4789 Bug 1678684 - Initialize DXVA on the media thread, remove the mostly-unused dll blocklist, and the crashguard. r=jya
The main-thread requirements for DXVA appear to have been needed when we initialized a crash guard. We now only run DXVA in the GPU and RDD processes, which don't support crash guards. This removes the main thread dispatch and the crashguard code, and enforces that we're in the GPU/RDD process to init DXVA.

This also removes the DLL blocklist code. This was disabled via pref when in the GPU process, which should be the majority of the time. In rare cases we would have been running DXVA in the RDD process (on older win7 when the GPU process isn't available). In these cases we can just do the same as the GPU process, allowing crashes and recovering from them (and disabling DXVA).

Differential Revision: https://phabricator.services.mozilla.com/D98036
2020-12-14 06:04:13 +00:00
Alexis Beingessner 02f7059f04 Bug 1681950 - properly serialize the PreferencesWriter's operations. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D99474
2020-12-11 19:58:12 +00:00
Steve Fink e4825fb2c4 Bug 1678416 - Emit input filename in files generated for static prefs to make it easier to track backwards to a pref via searchfox r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D94794
2020-12-11 19:04:48 +00:00
Steve Fink e7d9dae4db Bug 1662254 - Fix documentation of javascript.gc_delay.full r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D94793
2020-12-11 19:04:40 +00:00
Csoregi Natalia 3c512b2b69 Backed out changeset 82ef6d7419cc (bug 1681950) for causing leaks and assertion failures. CLOSED TREE 2020-12-11 20:52:43 +02:00
Alexis Beingessner dcb4814577 Bug 1681950 - properly serialize the PreferencesWriter's operations. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D99474
2020-12-11 17:59:31 +00:00
Toshihito Kikuchi 9ca8c4ec98 Bug 1669036 - Part10: Add a new section "Third-Party Modules" to about:support r=fluent-reviewers,jaws,Gijs
The new section is displayed when the browser.enableAboutThirdParty pref is true.

This is a prototype of the project where we plan to disclose third-party modules
info to the users.  Once we find out what is the best place and the best way to
show these data, we remove this section.

Differential Revision: https://phabricator.services.mozilla.com/D93832
2020-12-10 23:43:36 +00:00
Narcis Beleuzu b583b5d472 Backed out 10 changesets (bug 1669036) for bustages on TestCombinedStacks.cpp . CLOSED TREE
Backed out changeset 3d158bac444d (bug 1669036)
Backed out changeset d5b6e9d6b7aa (bug 1669036)
Backed out changeset ad3942a4c1f2 (bug 1669036)
Backed out changeset 2d3dd096f49f (bug 1669036)
Backed out changeset cd782ea33949 (bug 1669036)
Backed out changeset a025cdac711c (bug 1669036)
Backed out changeset 91549922741f (bug 1669036)
Backed out changeset cf29ad24eea5 (bug 1669036)
Backed out changeset 9d35204f6569 (bug 1669036)
Backed out changeset 2e779792d865 (bug 1669036)
2020-12-10 23:46:48 +02:00
Toshihito Kikuchi 04626577fe Bug 1669036 - Part10: Add a new section "Third-Party Modules" to about:support r=fluent-reviewers,jaws,Gijs
The new section is displayed when the browser.enableAboutThirdParty pref is true.

This is a prototype of the project where we plan to disclose third-party modules
info to the users.  Once we find out what is the best place and the best way to
show these data, we remove this section.

Differential Revision: https://phabricator.services.mozilla.com/D93832
2020-12-10 20:44:13 +00:00
Tim Huang ff950546ee Bug 1681330 - Enable Network Partitioning. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D99141
2020-12-09 13:16:21 +00:00
Benjamin Beurdouche 279c2a451a Bug 1513645 - Remove Pref to Disable Symantec Distrust. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D91894
2020-12-09 17:45:11 +00:00
sanketh c869fb824b Bug 1681213 - Support Zoom Values Upto 500% r=Gijs,morgan
Differential Revision: https://phabricator.services.mozilla.com/D99009
2020-12-09 03:18:50 +00:00
Mark Striemer 5b61373e12 Bug 1680156 - Actually enable pages_per_sheet properly r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D99169
2020-12-09 01:07:11 +00:00
Mark Striemer d53c886765 Bug 1680156 - Enable pages per sheet by default r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D99159
2020-12-09 00:00:49 +00:00
Kagami Sascha Rosylight 5a089f37d3 Bug 1680596 - Part 1: Hide <menuitem> behind a flag r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D98684
2020-12-08 05:36:27 +00:00
Mats Palmgren 4539b31797 Bug 1681052 - Enable fragmentation fallback for printing. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D98965
2020-12-07 23:32:23 +00:00
Jean-Yves Avenard 54c476d219 Bug 1681228 - Make all decoders remote. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D99005
2020-12-08 12:50:40 +00:00
Nicolas Chevobbe fe574be463 Bug 1680202 - [devtools] Remove unused watchpoint trait on Root actor. r=ochameau.
We take this as an opportunity to remove the watchpoint
pref as well, since it was always set to true.

Differential Revision: https://phabricator.services.mozilla.com/D98447
2020-12-08 10:56:12 +00:00
Butkovits Atila 5d023187bb Backed out 2 changesets (bug 1679084, bug 1677948) for failures on rtp-payloadtypes.html. CLOSED TREE
Backed out changeset a8fd99eecdcd (bug 1677948)
Backed out changeset dc0ed46b7d16 (bug 1679084)
2020-12-08 09:12:33 +02:00
Nico Grunbaum 4dc8612fed Bug 1677948 - switch to webrtc-sdp in nightly;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D97398
2020-11-24 03:17:33 +00:00
Cosmin Sabou 48ced6860f Backed out 2 changesets (bug 1680596) for xpcshell and mochitest plain failures. CLOSED TREE
Backed out changeset a5fce6a4b5b9 (bug 1680596)
Backed out changeset 8ea7d760b4a8 (bug 1680596)
2020-12-07 22:02:46 +02:00
Kagami Sascha Rosylight 5b5178d70c Bug 1680596 - Hide <menuitem> behind a flag r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D98684
2020-12-07 17:03:27 +00:00
Daisuke Akatsuka b4ec5e858f Bug 1638215: Use https for canonization the URL. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D97942
2020-12-07 01:54:05 +00:00
Martin Stransky 606515a908 Bug 1652220 [Linux] Clean up titlebar setup, r=jhorak
- Ask for alpha visual for toplevel windows on composited screens only.
- Rename TitlebarCanUseShapeMask() to TitlebarUseShapeMask() to control titlebar shape mask usage.
- Allow to use shape mask under widget.titlebar-x11-use-shape-mask preference, it's off by default.
- Simplify HideTitlebarByDefault(), remove compositing/shape mask check as we use RGBA visual only now.

Differential Revision: https://phabricator.services.mozilla.com/D98598
2020-12-04 12:22:32 +00:00
Butkovits Atila df75ae580c Backed out changeset 8c0e2919f6b2 (bug 1678684) for causing Bug 1680661. CLOSED TREE 2020-12-04 11:26:44 +02:00
yulia 21b5f80d1d Bug 1519100 - Add flag for experimental Top Level Await feature; r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D97180
2020-12-04 08:52:29 +00:00
Matt Woodrow d58b85c3c9 Bug 1678684 - Initialize DXVA on the media thread, remove the mostly-unused dll blocklist, and the crashguard. r=jya
The main-thread requirements for DXVA appear to have been needed when we initialized a crash guard. We now only run DXVA in the GPU and RDD processes, which don't support crash guards. This removes the main thread dispatch and the crashguard code, and enforces that we're in the GPU/RDD process to init DXVA.

This also removes the DLL blocklist code. This was disabled via pref when in the GPU process, which should be the majority of the time. In rare cases we would have been running DXVA in the RDD process (on older win7 when the GPU process isn't available). In these cases we can just do the same as the GPU process, allowing crashes and recovering from them (and disabling DXVA).

Differential Revision: https://phabricator.services.mozilla.com/D98036
2020-12-04 00:49:27 +00:00
Razvan Maries fd89df3f6d Backed out changeset 432c83951167 (bug 1662265) for perma failures on test_sync_xhr_event_handling_switch_bcg.html. CLOSED TREE 2020-12-03 23:03:05 +02:00
Kershaw Chang 628b4518df Bug 1667743 - Remove unused esni code r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D98023
2020-12-03 12:17:12 +00:00
Razvan Maries 8cbedc3a4d Backed out 15 changesets (bug 1519100) as per Yulia's request. CLOSED TREE
Backed out changeset 16dc37dadf05 (bug 1519100)
Backed out changeset 019b00c63941 (bug 1519100)
Backed out changeset 1155eecec034 (bug 1519100)
Backed out changeset 53a792431e11 (bug 1519100)
Backed out changeset 55918f941155 (bug 1519100)
Backed out changeset 683743bd0395 (bug 1519100)
Backed out changeset 63d506024693 (bug 1519100)
Backed out changeset 8b5244786634 (bug 1519100)
Backed out changeset 3a0a021acc08 (bug 1519100)
Backed out changeset d5bff6c95feb (bug 1519100)
Backed out changeset bab7e81a6c2c (bug 1519100)
Backed out changeset b521ccd694f8 (bug 1519100)
Backed out changeset 9f559a616909 (bug 1519100)
Backed out changeset 98146209da6f (bug 1519100)
Backed out changeset a3ea6c49dbf7 (bug 1519100)
2020-12-03 20:37:45 +02:00
yulia 517283f821 Bug 1519100 - Add flag for experimental Top Level Await feature; r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D97180
2020-12-03 15:24:22 +00:00
Sean Feng f521450d39 Bug 1662265 - Fix input events handling for sync XHR when both TaskController and e10s are enabled r=smaug
There are two issues in our current setup

1) Input events which are occurring in the same tab are going to be lost
because sync XHR. We have event handling suppression for synx XHR, so input
events are going to be discarded.

2) Input events that are happening in another tab (same process as the
synx XHR tab) are not going to be delayed. This is not correct since
sync XHR should block the Javascript execution.

This patches fixes the above cases for when both TaskController and e10s are
enabled by suspending the InputTaskManager during sync XHR, which
delays the input event handling and keeps the events around.

Differential Revision: https://phabricator.services.mozilla.com/D90780
2020-12-03 03:13:04 +00:00
Narcis Beleuzu 07361535cd Backed out changeset f59efe5a5ef8 (bug 1638215) for bc failures on browser_tabDrop.js. CLOSED TREE 2020-12-03 17:25:28 +02:00
Daisuke Akatsuka e5a9f1aeee Bug 1638215: Use https for canonization the URL. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D97942
2020-12-03 11:21:36 +00:00
Nils Ohlmeier [:drno] 0d965ff7da Bug 1680313: set media.navigator.mediadatadecoder_vpx_enabled to false r=ng
Differential Revision: https://phabricator.services.mozilla.com/D98523
2020-12-03 04:46:22 +00:00
Bogdan Tara 520f54fb37 Backed out changeset 117da9de7f66 (bug 1667743) for handshakeSucceeded related bustage CLOSED TREE 2020-12-03 03:44:59 +02:00
Kershaw Chang 14d936a94d Bug 1667743 - Remove unused esni code r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D98023
2020-12-02 23:18:38 +00:00
Bogdan Tara c1b7803fbd Backed out 15 changesets (bug 1519100) for wpt leaks CLOSED TREE
Backed out changeset 7302ebdbaa35 (bug 1519100)
Backed out changeset 5b89081f0f08 (bug 1519100)
Backed out changeset ee02050e3c97 (bug 1519100)
Backed out changeset 47cf4bde107e (bug 1519100)
Backed out changeset bfd96f55a3bd (bug 1519100)
Backed out changeset c9afefd66eb7 (bug 1519100)
Backed out changeset 90b61247d071 (bug 1519100)
Backed out changeset e0250e4cba61 (bug 1519100)
Backed out changeset 5f90543431cb (bug 1519100)
Backed out changeset d7f3440addc7 (bug 1519100)
Backed out changeset 10194540aff0 (bug 1519100)
Backed out changeset 880873b815a4 (bug 1519100)
Backed out changeset d99f0109da7a (bug 1519100)
Backed out changeset c723f6b16b67 (bug 1519100)
Backed out changeset da24af409d92 (bug 1519100)
2020-12-02 21:14:35 +02:00
Geoff Brown 58cf701644 Bug 1607446 - Fix tsan-detected data race in nsJARChannel; r=valentin,decoder
Simply use Atomic to avoid a data race.

Differential Revision: https://phabricator.services.mozilla.com/D98276
2020-12-02 07:36:56 +00:00
yulia 521140ab44 Bug 1519100 - Add flag for experimental Top Level Await feature; r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D97180
2020-12-02 12:38:17 +00:00
Mike Hommey 14c1084f72 Bug 1679938 - Don't recurse the build into mfbt for projects that don't need it. r=firefox-build-system-reviewers,mhentges
While all toolkit and js-based projects make use of mfbt, some others,
like tools/crashreporter and tools/update-packaging, don't.

So instead of including mfbt from the top-level directory, include it
from the relevant project top-level mozbuilds.

This allows to remove the dependency on mfbt files in the hash for the
minidump-stackwalk and mar-tools toolchains.

Differential Revision: https://phabricator.services.mozilla.com/D98378
2020-12-01 23:52:03 +00:00
Mark Striemer 14475634e9 Bug 1673713 - Part 2: Pages per sheet option behind a pref r=sfoster,fluent-reviewers,flod
This adds the pages per sheet option behind the print.pages_per_sheet.enabled
pref. Sizes of 2 and 6 aren't supported yet, so this is off by default.

Differential Revision: https://phabricator.services.mozilla.com/D95335
2020-11-30 22:46:46 +00:00
Emilio Cobos Álvarez 457daf9cf7 Bug 1679456 - Disable external-protocol-blocking bypass timer in Nightly. r=smaug,edgar
As the use case we know it was needed for should be covered by the previous
patch as well.

This is also process-global, which is a bit odd, given whether a popup-opening
operation succeeds ends up depending on other tabs' activity.

Depends on D98020

Differential Revision: https://phabricator.services.mozilla.com/D98021
2020-11-30 16:18:35 +00:00
Kartikaya Gupta e97f40920a Bug 1671708 - Remove the apz.relative-update.enabled pref. r=botond
I think it's safe to say we're keeping this behaviour on.

Differential Revision: https://phabricator.services.mozilla.com/D98037
2020-11-30 17:37:23 +00:00
Tim Nguyen 1b7ef862e8 Bug 1679714 - Remove layout.css.conic-gradient.enabled preference. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D98126
2020-11-30 12:45:14 +00:00
Robert Mader e8e0f042c6 Bug 1629140 - Enable frame callback based VsyncSource by default. r=stransky
The issues from last time seem to be fixed, lets try again.

Differential Revision: https://phabricator.services.mozilla.com/D98114
2020-11-30 11:06:35 +00:00
Zibi Braniecki adfbf1b7d8 Bug 1679606 - Enable telemetry collection for network.jar.channel event. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D98101
2020-11-28 21:37:29 +00:00
Matt Woodrow 09936cb0d1 Bug 1679577 - Disable d3d11 double buffering on Nightly. r=jrmuizel
We're unlikely to get around to fixing the bugs preventing this from riding the trains in the near future, so it'll be better to have Nightly be consistent with release (since it can hide bugs otherwise).

Depends on D98092

Differential Revision: https://phabricator.services.mozilla.com/D98093
2020-11-27 22:32:06 +00:00
Matt Woodrow a67e642f9b Bug 1679577 - Disable advanced layers pref. r=jrmuizel
We want to remove this in the future, as it's a large amount of code and is being superceeded by WebRender.

Depends on D98091

Differential Revision: https://phabricator.services.mozilla.com/D98092
2020-11-27 22:24:11 +00:00
Masayuki Nakano a01f406f7b Bug 1670834 - Make `TSFTextStore` stop setting selection with expanding it to cluster boundaries in Nightly channel and early beta builds or active TIP is Keyman Desktop r=m_kato
IPA (SIL) keyboard for Keyman Desktop tries to delete only a combined
diacritical mark when user toggles it.  However, `TSFTextStore` uses
`eSetSelection` event without explicitly setting `mExpandToClusterBoundary`.
Its default value is `true` and it causes deleting a previous base character of
the deleting diacritical mark too.

I think that it should be set to `false` when the selection range is specified
by IME framework and IME itself.  However, some TIPs may have already done
some hack if focused window is ours.  For avoiding the regression risk, we
should change our behavior only when
- The active TIP is Keyman Desktop (It has common CLSID for any keyboard layouts)
- In the Nightly channel or early beta builds for any other TIPs

Differential Revision: https://phabricator.services.mozilla.com/D97976
2020-11-27 11:49:53 +00:00
Narcis Beleuzu a99cb8de74 Backed out changeset 60be841f0025 (bug 1670834) for MinGW bustages on ToString.h CLOSED TREE 2020-11-27 15:44:09 +02:00
Masayuki Nakano 31b25bdfd8 Bug 1670834 - Make `TSFTextStore` stop setting selection with expanding it to cluster boundaries in Nightly channel and early beta builds or active TIP is Keyman Desktop r=m_kato
IPA (SIL) keyboard for Keyman Desktop tries to delete only a combined
diacritical mark when user toggles it.  However, `TSFTextStore` uses
`eSetSelection` event without explicitly setting `mExpandToClusterBoundary`.
Its default value is `true` and it causes deleting a previous base character of
the deleting diacritical mark too.

I think that it should be set to `false` when the selection range is specified
by IME framework and IME itself.  However, some TIPs may have already done
some hack if focused window is ours.  For avoiding the regression risk, we
should change our behavior only when
- The active TIP is Keyman Desktop (It has common CLSID for any keyboard layouts)
- In the Nightly channel or early beta builds for any other TIPs

Differential Revision: https://phabricator.services.mozilla.com/D97976
2020-11-27 11:49:53 +00:00
Valentin Gosu d356170049 Bug 1677806 - Set network.dns.dns_query_single_label to false r=Gijs
This seems to have caused a bunch of regressions. We'll likely try to enable
it at a later time.

Differential Revision: https://phabricator.services.mozilla.com/D97597
2020-11-26 05:22:41 +00:00
Makoto Kato f081504642 Bug 1678962 - Add Hiragino Sans to font.name-list.sans-serif.ja. r=jfkthame
From macOS Catalina, Hiragino Kaku Gothic ProN and etc aren't instaleld with
clean install. And default sans-serif font for Japanese is Hiragino Sans.

Differential Revision: https://phabricator.services.mozilla.com/D97900
2020-11-24 10:25:05 +00:00
Jean-Yves Avenard 1ec040c4a0 Bug 1676999 - P1. Remove preference. r=bobowen
The RDD process can no longer work without having access to win32k ; enabling this pref would lead to a crash on Nightly and failure to work elsewhere.

Differential Revision: https://phabricator.services.mozilla.com/D97753
2020-11-20 17:22:51 +00:00
Masayuki Nakano 85b84f8248 Bug 1677684 - part 2: Make `ContentCache` cache character rects in last commit composition string for undoing the commit r=m_kato
Usually, IME sets selection and considers candidate list position at starting
new composition.  However, Apple Japanese IME sometimes consider the candidate
list position at retrieving the character rects before setting selection.
Therefore, we need to store last commit string's character rects, but don't
need to store it in long time because Kakutei-Undo is supported by Japanese
IMEs and they work only immediately after committing a composition.  E.g.,
after moving caret, it won't be available.

Depends on D97838

Differential Revision: https://phabricator.services.mozilla.com/D97839
2020-11-24 01:31:46 +00:00
Simon Giesecke dd80614fa0 Bug 1678062 - Remove unnecessary includes. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D97467

Depends on D96561
2020-11-23 16:12:02 +00:00
Simon Giesecke d10d03d076 Bug 1676365 - Move SpinEventLoopUntil to separate header. r=#xpcom-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96556

Depends on D96554
2020-11-23 16:10:41 +00:00
Simon Giesecke 971b645fe3 Bug 1660470 - Add missing include directives/forward declarations. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Kris Wright 9b20afabaf Bug 1671586 - Let GetPrefValue() fail when updating a mirror. r=sg
In bug 1642727 we assumed this method was now essentially infallible because we do not delete mirror prefs. However, users can input some pref values that cause the value casts in `GetValue` to fail, which causes a crash. This commit reverts this behavior back to what it originally does (fail silently) to prevent crashing. We need to fix the underlying issue (bug 1672265) but we also need to ensure this doesn't crash, and any unexpected behavior caused by incorrect pref entry will return to its original behavior before this change, which relies on the individual components' handling of bad pref values rather than `UpdateMirror`.

Differential Revision: https://phabricator.services.mozilla.com/D94195
2020-11-20 14:00:06 +00:00
Johann Hofmann da4ef07e90 Bug 1678056 - Enable www redirect fix for bad cert domain errors by default. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D97586
2020-11-19 14:42:50 +00:00
Emilio Cobos Álvarez d903347e02 Bug 1445482 - Enable :focus-visible on all channels for Firefox 85. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D97524
2020-11-19 12:45:36 +00:00
Kershaw Chang eacc182669 Bug 1648558 - Implement fast fallback for HTTP3 without httpssvc r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D95928
2020-11-19 10:18:09 +00:00
Makoto Kato a095b24c69 Bug 1674683 - Add SamsungKorean_v2.0 instead of SEC CJK KR. r=jfkthame,saschanaz
Although I add SEC CJK KR to font list for Samsung devices, it is better to
use `SamsungKorean_v2.0` rather than it according to user feedback.

Korean default font of Samsung device in `/etc/fonts.xml` is
`SamsungKorean_v2.0`.

Monospace font for Korean keeps SEC Mono CJK KR since no monospace font
settings in Samsung devices.

Differential Revision: https://phabricator.services.mozilla.com/D97252
2020-11-18 12:51:46 +00:00
Paul Adenot c2ee0a19b0 Bug 1674283 - Don't mute audio input devices when disabling the track. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D97024
2020-11-17 16:28:48 +00:00
Jean-Yves Avenard 47c56b553d Bug 1518344 - P5. Enable remote decoding for Window on ARM. r=bryce,mjf
It's better to have the control set on weither the RDD is enabled or not.
Additionally, RDD works on my Yoga ARM machine just fine.

Differential Revision: https://phabricator.services.mozilla.com/D96683
2020-11-19 01:17:54 +00:00
Jean-Yves Avenard 0e897d1e55 Bug 1518344 - P4. Don't attempt to use the RDD process if we failed to start it earlier. r=mjf,bryce,padenot
Now that launching the RDD process is fully asynchronous and no longer block the parent main thread, we can enable it on all platforms.

If we did fail to start it, we will not attempt again unless on Nightly.

Re-enable the RDD on Windows for ARM seeing that even if it did fail, it won't inconvenience the user anymore (other than the first video/audio element will take longer than usual to start)

Differential Revision: https://phabricator.services.mozilla.com/D96669
2020-11-16 17:42:55 +00:00
Razvan Maries b0237a32c9 Backed out changeset 98986391515e (bug 1677948) for perma failures on test_peerConnection_basicH264Video.html. CLOSED TREE 2020-11-19 03:51:24 +02:00
Steven Englehardt ba85e16656 Bug 1677144 - Add partitionedHosts intervention for ETP breakage; r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D97168
2020-11-16 19:35:22 +00:00
Gerald Squelart 3c5d417916 Bug 1675409 - Migrated PrefMarkerPayload to Markers 2.0 API - r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D96031
2020-11-18 21:44:18 +00:00
Nico Grunbaum 758f90c42d Bug 1677948 - switch to webrtc-sdp in nightly;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D97398
2020-11-18 21:16:54 +00:00
Razvan Maries b7eeb731df Backed out 23 changesets (bug 1675409) for build bustages on Preferences.cpp. CLOSED TREE
Backed out changeset c1a131a55767 (bug 1675409)
Backed out changeset 47d210802a5d (bug 1675409)
Backed out changeset e8ebb1c58d30 (bug 1675409)
Backed out changeset 69a1e9aeff2a (bug 1675409)
Backed out changeset 68f330b387a8 (bug 1675409)
Backed out changeset e4750d9ef5a1 (bug 1675409)
Backed out changeset bb6bb71e5ab3 (bug 1675409)
Backed out changeset 988d7f4716df (bug 1675409)
Backed out changeset ca41382e891c (bug 1675409)
Backed out changeset 90f3fbbbbeda (bug 1675409)
Backed out changeset 9b109d61a6f6 (bug 1675409)
Backed out changeset 3dd66abfdaa2 (bug 1675409)
Backed out changeset 44181df5f0db (bug 1675409)
Backed out changeset bb2603d947fc (bug 1675409)
Backed out changeset 97055cf20a56 (bug 1675409)
Backed out changeset f88fcf09de0d (bug 1675409)
Backed out changeset 7963e1c49786 (bug 1675409)
Backed out changeset 4c379c1061c3 (bug 1675409)
Backed out changeset b8be8ae7da63 (bug 1675409)
Backed out changeset 0b90aa89421e (bug 1675409)
Backed out changeset c10fb46467c9 (bug 1675409)
Backed out changeset 894ac233b290 (bug 1675409)
Backed out changeset 075d1d8e34c2 (bug 1675409)
2020-11-18 20:06:28 +02:00
Belén Albeza a91fb8ce84 Bug 1677697 - Fix storage actors being instanced twice r=ochameau
This avoids instancing twice the different storage type actors (legacy and resources). In order to keep current server tests working, a pref to force instancing legacy actors has been introduced.

Differential Revision: https://phabricator.services.mozilla.com/D97287
2020-11-17 15:53:28 +00:00
Markus Stange 08d19907a7 Bug 1676771 - Resample touch events in Android widget before sending them to APZ. r=geckoview-reviewers,kats,snorp
This behavior can be toggled with the (live) pref android.touch_resampling.enabled.

Differential Revision: https://phabricator.services.mozilla.com/D96798
2020-11-18 02:59:29 +00:00
Bogdan Tara 2fdb1139bf Backed out 3 changesets (bug 1676771) for TouchResampler.cpp linux debug bustage CLOSED TREE
Backed out changeset c01032316a72 (bug 1676771)
Backed out changeset 45736914b063 (bug 1676771)
Backed out changeset 8700eb46bb8b (bug 1676771)
2020-11-18 04:54:03 +02:00
Markus Stange cfffbb8e44 Bug 1676771 - Resample touch events in Android widget before sending them to APZ. r=geckoview-reviewers,kats,snorp
This behavior can be toggled with the (live) pref android.touch_resampling.enabled.

Differential Revision: https://phabricator.services.mozilla.com/D96798
2020-11-17 23:15:34 +00:00
Gerald Squelart 7ad6e5d65a Bug 1675409 - Migrated PrefMarkerPayload to Markers 2.0 API - r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D96031
2020-11-17 22:13:28 +00:00
Haik Aftandilian 40319d0d29 Bug 1677817 - GMPParent::Init() crash due to Preferences::GetBool() call off main thread r=spohl,bryce
Use static prefs for the Rosetta GMP plugin checks to allow them to be safely accessed off the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D97367
2020-11-17 21:53:13 +00:00
Bogdan Tara 43d33ea421 Backed out 3 changesets (bug 1676771) for touchevents related failures CLOSED TREE
Backed out changeset 88d4a2ac2cfc (bug 1676771)
Backed out changeset 7aa9b58c7916 (bug 1676771)
Backed out changeset 7f5daf9a6889 (bug 1676771)
2020-11-17 22:15:14 +02:00
Markus Stange 56de9bd8dd Bug 1676771 - Resample touch events in Android widget before sending them to APZ. r=geckoview-reviewers,kats,snorp
This behavior can be toggled with the (live) pref android.touch_resampling.enabled.

Differential Revision: https://phabricator.services.mozilla.com/D96798
2020-11-17 16:27:07 +00:00
Mihai Alexandru Michis c0d25b01b2 Backed out 24 changesets (bug 1666566, bug 1675409) for causing hazard failures in profiler/core/platform.cpp
CLOSED TREE

Backed out changeset 4d8af8533fd4 (bug 1666566)
Backed out changeset f031a3a8a20f (bug 1675409)
Backed out changeset 2b7e1a031921 (bug 1675409)
Backed out changeset bda5a24b2d0a (bug 1675409)
Backed out changeset 4282e2284314 (bug 1675409)
Backed out changeset 0637f1b26e9f (bug 1675409)
Backed out changeset 67ae04c8f607 (bug 1675409)
Backed out changeset 6c7b3f3618ef (bug 1675409)
Backed out changeset 2f325c22d169 (bug 1675409)
Backed out changeset 1e48ff70ad8f (bug 1675409)
Backed out changeset 1dfc32d6871d (bug 1675409)
Backed out changeset 4f1f218a777b (bug 1675409)
Backed out changeset e6ac8722b38e (bug 1675409)
Backed out changeset cf132e15fb57 (bug 1675409)
Backed out changeset a126e6b00ba9 (bug 1675409)
Backed out changeset fbc7fbb04f33 (bug 1675409)
Backed out changeset 554c69681474 (bug 1675409)
Backed out changeset 44d0521c701f (bug 1675409)
Backed out changeset 04653dfe4720 (bug 1675409)
Backed out changeset 41ca2c043a00 (bug 1675409)
Backed out changeset 264ae4c805d4 (bug 1675409)
Backed out changeset 5f3bbdac0d52 (bug 1675409)
Backed out changeset 11311c11a6e8 (bug 1675409)
Backed out changeset 0355fbc44baf (bug 1675409)
2020-11-17 19:31:28 +02:00
Gerald Squelart d94bc45ce1 Bug 1675409 - Migrated PrefMarkerPayload to Markers 2.0 API - r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D96031
2020-11-17 11:28:18 +00:00
Valentin Gosu 4e5d703a9d Bug 1674088 - Add pref for minimum delay time for TRR confirmation timer r=dragana,necko-reviewers
Due to various reasons (network change, temporary network congestion, etc) it
may happen that we exceed the limit of TRR failures thus going into
CONFIRM_FAILED state and setting the timer for automatic retry.
When confirmation is not "skip" we want to reduce the amount of time as much
as possible - so if it's a transient reason for the failures, we should retry
as early as possible.

This patch reduces the initial timer to 125 ms (down from 1000 ms).
Exponential backoff is still in effect, so the only effect should be retrying
earlier. We also turn it into a pref, so it's easy to experiment with it to
find the perfect value.

Depends on D96822

Differential Revision: https://phabricator.services.mozilla.com/D96823
2020-11-12 15:46:38 +00:00
Valentin Gosu 5262926194 Bug 1674088 - Increase TRR max fails from 5 to 15 r=necko-reviewers,dragana
This threshold seems to be too low currently, leading to sometimes
dropping confirmation for unexpected network failures / changes.

Differential Revision: https://phabricator.services.mozilla.com/D96822
2020-11-12 15:43:51 +00:00
sagudev 2c2640694d Bug 1658008 - Add preference to control Accept HTTP header and genarate header based on image Accept header. r=jbauman,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D95668
2020-11-16 21:47:10 +00:00
Emilio Cobos Álvarez 563e0f4efc Bug 1677376 - Introduce a pref to determine whether to always show focus rings after key focus. r=edgar
See the comments in the pref description for the reasoning, and
https://bugzilla.mozilla.org/show_bug.cgi?id=1445482#c15 and following
for some confusion this patch intends to avoid.

Differential Revision: https://phabricator.services.mozilla.com/D97151
2020-11-16 16:31:09 +00:00
Jan de Mooij a7b38d6598 Bug 1673553 part 3 - Remove Warp browser pref. r=iain,preferences-reviewers
Depends on D96988

Differential Revision: https://phabricator.services.mozilla.com/D96989
2020-11-16 14:00:04 +00:00
Andrew Osmond ca9f3b661d Bug 1677165 - Add support for partial present to GLX. r=kvark,jgilbert
This adds support for GLX_EXT_buffer_age if available to minimize how
much must be redrawn when using GLX.

Differential Revision: https://phabricator.services.mozilla.com/D93098
2020-11-13 18:41:41 +00:00
Magnus Melin 3b30d2a34f Bug 1675205 - don't fail test_empty_jar_telemetry.js for products the probe isn't enabled for. r=zbraniecki DONTBUILD
Avoids Thunderbird test failures.

Differential Revision: https://phabricator.services.mozilla.com/D97095
2020-11-15 19:21:18 +00:00
Emilio Cobos Álvarez 217dcaaf54 Bug 1677390 - Flip dom.innerSize.rounded back to true for causing web compat issues.
Differential Revision: https://phabricator.services.mozilla.com/D97101
2020-11-15 19:06:25 +00:00
Valentin Gosu 5f2e68c256 Bug 1675205 - Report telemetry when load an empty file via a JAR archive r=zbraniecki
This will report when a telemetry even whenever we load an empty file via a
JAR channel. It will not catch situations where onStopRequest is called with
an error code, or when the listener of the channel does not consume the stream.

Differential Revision: https://phabricator.services.mozilla.com/D96412
2020-11-14 22:06:35 +00:00
Jeff Muizelaar e5a523648c Bug 1677108 - Let gen5, R600, Tesla1 and gpu processless WebRender all ride to beta. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D97009
2020-11-13 14:39:57 +00:00
Emilio Cobos Álvarez a33ff60406 Bug 1676843 - Make innerWidth/innerHeight return the actual CSS size rather than a rounded version of it. r=heycam
On Nightly, for now. This allows websites to get the real viewport size.

The rounded size has caused problems in the past (see bug 1648298 / bug
1648265), and changing it would be ideal.

I told the CSSWG that we can experiment with this on Nightly to
alleviate (or prove) compat concerns, in which case we'd need to use a
different solution, see https://github.com/w3c/csswg-drafts/issues/5260.

Differential Revision: https://phabricator.services.mozilla.com/D96826
2020-11-13 12:44:01 +00:00
Cosmin Sabou 437d0bd9e9 Backed out changeset b5cf0a593e64 (bug 1675205) for xpcshell failures on test_empty_jar_telemetry. 2020-11-13 02:36:00 +02:00
Valentin Gosu 28ca4d553d Bug 1675205 - Report telemetry when load an empty file via a JAR archive r=zbraniecki
This will report when a telemetry even whenever we load an empty file via a
JAR channel. It will not catch situations where onStopRequest is called with
an error code, or when the listener of the channel does not consume the stream.

Differential Revision: https://phabricator.services.mozilla.com/D96412
2020-11-10 21:24:45 +00:00
Bogdan Tara 3667467db8 Backed out 10 changesets (bug 1662254) for lint failure on generate_static_pref_list.py CLOSED TREE
Backed out changeset 972e63387191 (bug 1662254)
Backed out changeset 3a9d6f0aa380 (bug 1662254)
Backed out changeset 4b3ffe7fe1af (bug 1662254)
Backed out changeset 4834b1025611 (bug 1662254)
Backed out changeset ec1f7afe8a2d (bug 1662254)
Backed out changeset c7a6b927b1de (bug 1662254)
Backed out changeset 2427d85b2605 (bug 1662254)
Backed out changeset 979bf4ac97bb (bug 1662254)
Backed out changeset 3e443333c636 (bug 1662254)
Backed out changeset a5261578ebfc (bug 1662254)
2020-11-12 23:59:07 +02:00
Steve Fink c2db797cc7 Bug 1662254 - Emit input filename in files generated for static prefs to make it easier to track backwards to a pref via searchfox r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D94794
2020-11-12 19:06:45 +00:00
Steve Fink 41f7925056 Bug 1662254 - Fix documentation of javascript.gc_delay.full r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D94793
2020-11-12 19:06:43 +00:00
lonocvb 591d8456eb Bug 1517385 - Add the pref to control the transition-duration. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D96506
2020-11-12 07:31:02 +00:00
Mike Hommey 5a1a34953a Bug 1675385 - Move architecture-dependent wasm prefs to static prefs. r=lth
We preserve their value, but by moving them to static prefs, we make
them embedded into the binary portion of the build, which means it's
allowed to differ between x86_64 and aarch64 in mac universal builds.

Differential Revision: https://phabricator.services.mozilla.com/D96522
2020-11-12 07:09:48 +00:00
Matt Woodrow c347392269 Bug 1676719 - Allow WebRender ANGLE in parent process for Nightly. r=jrmuizel
Depends on D96766

Differential Revision: https://phabricator.services.mozilla.com/D96768
2020-11-12 01:31:19 +00:00
Emilio Cobos Álvarez 7c3b5843ac Bug 1676527 - Allow extending the CUPS monochrome print setting list without rebuilding. r=nordzilla
Mostly for debugging / diagnosing purposes. This is easier than asking
people to try builds from try or building Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D96648
2020-11-11 19:00:00 +00:00
Bob Owen 8fe0338fd0 Bug 1548487: Let remote 2D canvas ride the trains on Windows. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D96702
2020-11-11 14:09:29 +00:00
Lars T Hansen adf086b335 Bug 1674722 - Fix prefs, switches, and selection for cranelift. r=rhunt
This patch makes cranelift and ion exclusive of each other: enabling
cranelift on a platform will effectively disable Ion on that platform.

Specifically there's a change at the pref/switch level that does not
go terribly deep:

- the new about:config option is javascript.options.wasm_optimizingjit,
  the old wasm_cranelift and wasm_ionjit are no more
- new values of X in --wasm-compiler=X in the js shell are 'optimizing'
  and 'baseline+optimizing', the old values 'cranelift', 'ion',
  'baseline+ion' and 'baseline+optimizing' are still accepted but only
  when ion or cranelift is available
- we keep the separate prefs internally in the code for ion and cranelift
  but if ENABLE_WASM_CRANELIFT is defined then we never set the ion
  pref to true, and if it is not defined then we never set the cranelift
  pref to true

The trickiest changes are in testWasm.cpp and in the JIT compiler option
processing in jsapi.cpp.

People who will suffer as a result of this are those who are working
on ports of cranelift to new platforms in Firefox.  As of now we have
no such work going on.

In the longer term the exclusive-or situation can be alleviated by a
switch that lets cranelift override ion when cranelift is present and
the switch is on.  Patches welcome.

Differential Revision: https://phabricator.services.mozilla.com/D96059
2020-11-11 09:20:13 +00:00
Tim Huang c64c66561f Bug 1657442 - Flip the pref 'network.cookie.rejectForeignWithExceptions.enabled' to false. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D96623
2020-11-10 20:37:56 +00:00
Hunter Jones 307f15f47a Bug 1589680: Added support for multiple, concurrent Picture-in-Picture windows r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D93901
2020-11-10 18:28:32 +00:00
Botond Ballo d1a4975129 Bug 1676293 - Remove StackScrollerFlingAnimation. r=mstange
This was an old alternative fling implementation that could be opted
into with the pref apz.android.chrome_fling_physics.enabled=fase.
The pref is also removed.

Differential Revision: https://phabricator.services.mozilla.com/D96508
2020-11-10 06:01:51 +00:00
Christoph Kerschbaumer 588047f88b Bug 1633743: Auto upgrade mixed display content in Nightly. r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D94826
2020-11-10 09:34:10 +00:00
Emilio Cobos Álvarez 0d187533ef Bug 1392460 - Add a couple prefs to expose DOM_DELTA_PIXEL rather than DOM_DELTA_LINES to the web. r=masayuki,smaug
And use them to disable DOM_DELTA_LINES on Nightly builds, to see the
impact, since this is pretty hard to measure just with telemetry.

Differential Revision: https://phabricator.services.mozilla.com/D95388
2020-11-07 16:12:34 +00:00
Markus Stange 6b58fc6c1e Bug 1675888 - Reduce apz.velocity_relevance_time_ms from 150 to 100, to match Chrome. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D96286
2020-11-07 06:41:55 +00:00
Markus Stange a403c65024 Bug 1675885 - Adjust apz.fling_accel_max_pause_interval_ms to 50, to match Chrome. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D96281
2020-11-06 23:41:17 +00:00
Neil Deakin c5eff66205 Bug 1649843, remove now unused legacy actor code, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D95206
2020-11-06 15:46:11 +00:00
stransky 66c6950add Bug 1675453 Change media.ffmpeg.dmabuf-textures.enabled to media.ffmpeg.dmabuf-textures.disabled, r=jhorak
We want to use dmabuf textures by default with VAAPI enabled. Remove the 'enabled' option as it's default now
and ship 'disabled' variant to force-disable it, mainly for debugging purposes.

Depends on D95994

Differential Revision: https://phabricator.services.mozilla.com/D95995
2020-11-06 14:13:10 +00:00
Matt Woodrow 603d0db408 Bug 1673983 - Add D3D11 RenderCompositor for SWGL. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95797
2020-11-06 00:00:47 +00:00
Mats Palmgren a5415dec54 Bug 1674594 - Remove the obsolete nsMathMLmfencedFrame and associated pref and tests. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D95451
2020-11-05 22:36:43 +00:00
Narcis Beleuzu 37bd723824 Backed out 4 changesets (bug 1673983) for linting failure on moz.build CLOSED TREE
Backed out changeset f408fc890ba1 (bug 1673983)
Backed out changeset 49ae9de85ab9 (bug 1673983)
Backed out changeset 91d8f0f829fd (bug 1673983)
Backed out changeset 91cb8ee8ddd8 (bug 1673983)
2020-11-06 00:10:34 +02:00
Johann Hofmann 330170b6aa Bug 1675596 - Enable cookie purging by default in Release. r=englehardt
Differential Revision: https://phabricator.services.mozilla.com/D96096
2020-11-05 21:16:47 +00:00
Matt Woodrow 50873a9666 Bug 1673983 - Add D3D11 RenderCompositor for SWGL. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95797
2020-11-05 19:26:21 +00:00
Valentin Gosu 0c6e62ade6 Bug 1675465 - Add DIAGNOSTIC_ASSERT in nsJARInputStream::Read r=jstutte
We want to make sure we don't accidentally read more than the size of the file.

Differential Revision: https://phabricator.services.mozilla.com/D96006
2020-11-05 12:18:39 +00:00
smolnar 625b8a74be Backed out 4 changesets (bug 1673983) for causing build bustages in RenderCompositorD3D11SWGL. CLOSED TREE
Backed out changeset 134e621d0902 (bug 1673983)
Backed out changeset 81601a02d9b7 (bug 1673983)
Backed out changeset 72d4bf5b093e (bug 1673983)
Backed out changeset 99b2e5c55a25 (bug 1673983)
2020-11-05 11:40:36 +02:00
Matt Woodrow f9fe60e315 Bug 1673983 - Add D3D11 RenderCompositor for SWGL. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95797
2020-11-05 09:14:52 +00:00
Markus Stange c3e353b81f Bug 1458653 - Do not prevent fling acceleration based on the time that has elapsed between two flings. r=botond,geckoview-reviewers,snorp
The other fling acceleration restrictions make it so that there is no need for
this additional restriction anymore.
Removing this restriction allows a fling to be accelerated even if the previous
fling has been "spinning" for a while (a second or more), provided that the page
is still moving fast enough.
This matches Chrome's behavior.

Differential Revision: https://phabricator.services.mozilla.com/D95472
2020-11-04 23:32:38 +00:00
Markus Stange 713c5090f1 Bug 1458653 - Don't accelerate a fling if the fingers moved too slowly at any point during the touch scroll motion. r=botond
This avoids unexpected acceleration after a "fling, fling, pan-pause-fling" sequence.

Differential Revision: https://phabricator.services.mozilla.com/D95471
2020-11-04 23:27:05 +00:00
Markus Stange f16ac1664d Bug 1458653 - Don't accelerate a fling if the fingers paused at the beginning of the touch motion. r=botond
This avoids unexpected acceleration after a "fling, fling, touch-pause-fling" sequence.

The touch start timestamp is captured when we go from NOTHING to TOUCHING,
and the pan start timestamp is captured when we go from TOUCHING to PANNING.

Differential Revision: https://phabricator.services.mozilla.com/D95470
2020-11-04 23:25:15 +00:00