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

19504 Коммитов

Автор SHA1 Сообщение Дата
Niklas Goegge 89ec1c06e5 Bug 1695911 - Flip dom.security.secFetch.enabled pref to true. r=ckerschb,annevk
Differential Revision: https://phabricator.services.mozilla.com/D115484
2021-05-20 11:06:11 +00:00
Danilo Bargen b70d8a2bdb Bug 1695519 - Remove obsolete checks and references related to wyciwyg protocol. r=Gijs,annevk
Support for the wyciwyg protocol was removed two years ago (see bug 1489308).

Differential Revision: https://phabricator.services.mozilla.com/D114418
2021-05-20 08:41:29 +00:00
Jonathan Kew 5e9a828adc Bug 1711064 - patch 1 - Add a pref to control whether linkifying Save-as-PDF output is enabled. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D115514
2021-05-20 08:25:44 +00:00
alwu 8ef3987605 Bug 1711590 - Renable deactivate timer and set its expired time to 24hrs. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D115302
2021-05-20 00:31:09 +00:00
Dana Keeler a6eb3f69cd Bug 1711599 - remove unused HSTS dynamic preloading implementation r=rmf,remote-protocol-reviewers,marionette-reviewers,whimboo
This patch removes the ability for Firefox profiles to receive dynamic HSTS
preloading information via kinto/remote settings. This feature was implemented
some time ago but was never used. It is being removed to make upcoming changes
easier.

Differential Revision: https://phabricator.services.mozilla.com/D115315
2021-05-20 00:27:12 +00:00
Kagami Sascha Rosylight 91c03540cf Bug 1711850 - Enable MOZ_JXL only for Nightly builds r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D115512
2021-05-19 17:46:23 +00:00
Emilio Cobos Álvarez 2fce796fb3 Bug 1711724 - Ship CanvasRenderingContext2D.createConicGradient. r=annevk
Passes all the WPTs afaict.

Differential Revision: https://phabricator.services.mozilla.com/D115471
2021-05-19 09:26:35 +00:00
Jonathan Kew cf297d803f Bug 1708768 - Make InitFontList safe to call off-main-thread on macOS, and run font-list initialization on a separate thread during startup. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D115295
2021-05-18 11:10:43 +00:00
Jonathan Kew 137c757143 Bug 1708768 - Create a pref to defer gfxPlatformFontList initialization until first use, and enable this on macOS. r=lsalzman
This gives the RegisterFonts thread more time to complete its work, so that
the main thread doesn't have to wait for it in InitFontList.

In the worst case, where the registration thread still hasn't finished
by the time we call gfxPlatformFontList::PlatformFontList() the first time,
it's still no worse than previously, it just reorders some of the work
that has to be done before we can render any content.

Depends on D114863

Differential Revision: https://phabricator.services.mozilla.com/D114865
2021-05-18 11:10:43 +00:00
Masayuki Nakano 038b637268 Bug 1520983 - part 2: Make `IMEInputHandler::InsertTextAsComittingComposition()` use `eContentCommandInsertText` event if there is no composition r=m_kato
Like the other browsers, we should stop dispatching a set of composition
events when `insertText:` is called by Emoji picker, accent character
picker of some Western keyboard layouts.  Then, corresponding
`beforeinput` event becomes cancelable like the other browsers'.

Differential Revision: https://phabricator.services.mozilla.com/D114827
2021-05-18 06:30:36 +00:00
Butkovits Atila f3f08e64ba Backed out 2 changesets (bug 1520983) for causing build bustages. CLOSED TREE
Backed out changeset c09060ee8358 (bug 1520983)
Backed out changeset b4c25d047cee (bug 1520983)
2021-05-18 07:47:57 +03:00
Matthew Gaudet f96354b904 Bug 1710510 - Pref-flip Ergonomic Brand Checks r=arai
Differential Revision: https://phabricator.services.mozilla.com/D115093
2021-05-18 02:21:01 +00:00
James Teh a58f564775 Bug 1710976: Add a pref for caching of content process a11y trees in the parent process. r=eeejay
This isn't used yet, but it will be used in quite a few different places henceforth.

Differential Revision: https://phabricator.services.mozilla.com/D115042
2021-05-18 00:13:31 +00:00
Masayuki Nakano 684add0c4c Bug 1520983 - part 2: Make `IMEInputHandler::InsertTextAsComittingComposition()` use `eContentCommandInsertText` event if there is no composition r=m_kato
Like the other browsers, we should stop dispatching a set of composition
events when `insertText:` is called by Emoji picker, accent character
picker of some Western keyboard layouts.  Then, corresponding
`beforeinput` event becomes cancelable like the other browsers'.

Differential Revision: https://phabricator.services.mozilla.com/D114827
2021-05-17 23:52:43 +00:00
Henrik Skupin d546c8341c Bug 1710839 - [remote] Remove remote.enabled preference. r=remote-protocol-reviewers,Gijs,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D115239
2021-05-17 20:20:15 +00:00
Iulian Moraru b6ba6af634 Backed out 3 changesets (bug 1708768) for causing font related crashes (bug 1711332). a=backout DONTBUILD
Backed out changeset fa037550d6e8 (bug 1708768)
Backed out changeset 10b30c8d4b86 (bug 1708768)
Backed out changeset c03c7df7cd61 (bug 1708768)
2021-05-16 11:46:34 +03:00
Jonathan Kew 0e23ebf8cd Bug 1708768 - Create a pref to defer gfxPlatformFontList initialization until first use, and enable this on macOS. r=lsalzman
This gives the RegisterFonts thread more time to complete its work, so that
the main thread doesn't have to wait for it in InitFontList.

In the worst case, where the registration thread still hasn't finished
by the time we call gfxPlatformFontList::PlatformFontList() the first time,
it's still no worse than previously, it just reorders some of the work
that has to be done before we can render any content.

Differential Revision: https://phabricator.services.mozilla.com/D114865
2021-05-14 18:05:44 +00:00
Emilio Cobos Alvarez 2ec499c7b2 Bug 1708829 - Make sure that delta* getters account for scroll speed override correctly. r=masayuki
Depends on D114052

Differential Revision: https://phabricator.services.mozilla.com/D114737
2021-05-14 17:44:29 +00:00
Emilio Cobos Álvarez 36b7e1c765 Bug 1708829 - Expose WheelEvent.wheelDelta{,X,Y} for compat with other engines. r=masayuki
The behavior for non-trusted events matches Safari (Chrome does return
deltaX in that case, which seems pretty bogus, because the sign of the
wheelDelta* is the opposite as the delta* props).

Differential Revision: https://phabricator.services.mozilla.com/D114052
2021-05-14 15:17:33 +00:00
Sandor Molnar 7b4d940c00 Backed out 2 changesets (bug 1708829) for causing mochitest plain failures in test_continuous_wheel_events. CLOSED TREE
Backed out changeset 28faebd5fc72 (bug 1708829)
Backed out changeset 044c2060da7d (bug 1708829)
2021-05-14 17:12:03 +03:00
Andrew Osmond 05d9f058fd Bug 1711118 - Part 3. Allow D3D11 compositing with Software WebRender in release. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D115081
2021-05-14 13:01:22 +00:00
Andrew Osmond 8f5da297a9 Bug 1711118 - Part 2. Allow Software WebRender without the GPU process in release. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D115079
2021-05-14 13:01:21 +00:00
Andrew Osmond b3a88ee4db Bug 1711118 - Part 1. Allow Software WebRender for all desktop users in release. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D115078
2021-05-14 13:01:21 +00:00
Emilio Cobos Alvarez 21021ee18d Bug 1708829 - Make sure that delta* getters account for scroll speed override correctly. r=masayuki
Depends on D114052

Differential Revision: https://phabricator.services.mozilla.com/D114737
2021-05-14 12:41:30 +00:00
Emilio Cobos Álvarez cbcedecf48 Bug 1708829 - Expose WheelEvent.wheelDelta{,X,Y} for compat with other engines. r=masayuki
The behavior for non-trusted events matches Safari (Chrome does return
deltaX in that case, which seems pretty bogus, because the sign of the
wheelDelta* is the opposite as the delta* props).

Differential Revision: https://phabricator.services.mozilla.com/D114052
2021-05-14 12:41:30 +00:00
Dana Keeler e98d7a0010 Bug 1696997 - enable osclientcerts by default in release r=mbirghan
This enables the module that queries OS storage for client certificates when
TLS client authentication is requested by a server. This applies to macOS and
Windows only.

Differential Revision: https://phabricator.services.mozilla.com/D107558
2021-05-13 22:45:20 +00:00
Andrew Osmond c82b7d67c2 Bug 1704792 - Part 3. Make display list items request blobs for SVG images. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D111838
2021-05-13 16:24:07 +00:00
Emilio Cobos Álvarez 9e80cd9710 Bug 1708384 - Properly hide -moz-context-properties from content. r=dholbert
Depends on D114481

Differential Revision: https://phabricator.services.mozilla.com/D114482
2021-05-12 21:45:18 +00:00
Emilio Cobos Álvarez 41179cf5d6 Bug 1708384 - Properly hide -moz-control-character-visibility from content. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D114481
2021-05-12 21:45:18 +00:00
Dragana Damjanovic ea19316503 Bug 1710816 - Enable HTTP/3 by default r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D114956
2021-05-12 18:39:41 +00:00
Nicolas B. Pierron 965cab1dbc Bug 1458339 part 2 - Use shared memory to initialize the JS engine. r=smaug,tcampbell,necko-reviewers
This modification relies on the shared memory implemented in Bug 1698045 and on
the ability to encode and decode self-hosted content from Bug 1668361 to
optimize the JS engine initialization by making the parent process encode the
self-hosted stencil, such that all other runtime initialization would only have
to decode it, including content processes.

Differential Revision: https://phabricator.services.mozilla.com/D110578
2021-05-12 13:57:56 +00:00
Paul Bone 883b7bec01 Bug 1629064 - pt 4. Add a pref for the maximum number of concurrent GCs r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D105957
2021-05-12 06:46:09 +00:00
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
Butkovits Atila 6e4df5e067 Backed out 2 changesets (bug 1707872, bug 1707957) for causing valgrind failures. CLOSED TREE
Backed out changeset 0fb0e3d056f8 (bug 1707957)
Backed out changeset 03767acc6135 (bug 1707872)
2021-04-28 07:46:21 +03:00
Olli Pettay eefe8aaa00 Bug 1705734 - Enable BFCache for pages with *unload event listeners on Android, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D112824
2021-04-27 23:30:33 +00:00
Emilio Cobos Álvarez 19af6bcbf4 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-27 22:34:56 +00:00
Emilio Cobos Álvarez 9402e09c63 Bug 1707895 - Make the -moz-toolbar-prefers-color-scheme a tri-state. r=mstriemer
This will allow detecting the system theme, which allows fixing some of
the blocked bugs.

Note that when using the system theme we will still match light or dark
appropriately, so this shouldn't change behavior just yet.

Differential Revision: https://phabricator.services.mozilla.com/D113516
2021-04-27 16:20:35 +00:00
Valentin Gosu 0033f0524c Bug 1707853 - Add always-skipped unit test for documentation purposes r=necko-reviewers,dragana
This test is for documentation purposes. You may run it locally on Windows by removing the skip-if = true from xpcshell.ini
As sharing  folders on windows requires elevated priviledges, you will need to execute some commands in a separate cmd.exe instance with Admin priviledges.

Differential Revision: https://phabricator.services.mozilla.com/D113498
2021-04-27 13:33:28 +00:00
Valentin Gosu e7889adba2 Bug 1707853 - Use std::copy instead of memcpy to ensure exception handling works r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D113497
2021-04-27 13:33:27 +00:00
Emilio Cobos Álvarez 34a9a0f457 Bug 1705605 - Implement accent-color in nsNativeBasicTheme. r=mstange
This is a new addition for CSS UI Level 4:

  https://drafts.csswg.org/css-ui-4/#widget-accent

I want to provide feedback on some spec issues, and thought it was a
kinda neat thing to prototype (it also makes testing contrast and such
with random GTK themes easier).

For now enable for Nightly only.

Differential Revision: https://phabricator.services.mozilla.com/D112312
2021-04-27 10:41:00 +00:00
Kershaw Chang 0855cd1e18 Bug 1703934 - P2: Use another parallel limit for backup speculative connection, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112349
2021-04-27 08:37:25 +00:00
Jan Varga a43be2a21f Bug 1702422 - Report failed LoadQuotaFromCache as a warning (instead of an error); r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D113370
2021-04-27 07:12:23 +00:00
Jeff Muizelaar b57459857a Bug 1707682 - Bump up GPU process max restarts. r=aosmond
We've been using 3 on Nightly for a long time without
any problems and it's generally much better to keep the GPU
process around than give up on it.

We also bump the Nightly value to increase the chances of us
finding any problems where we should give up on using the GPU process.

Differential Revision: https://phabricator.services.mozilla.com/D113393
2021-04-26 20:22:20 +00:00
Kagami Sascha Rosylight 2489bd2d16 Bug 973604 - Mark set/releaseCapture() as deprecated r=annevk,edgar
Differential Revision: https://phabricator.services.mozilla.com/D113195
2021-04-26 19:37:45 +00:00
Alexandru Michis 7602acfd71 Backed out 3 changesets (bug 1703934) for causing xpcshell failures in test_http3_fast_fallback.js
CLOSED TREE

Backed out changeset 9dea771db2ce (bug 1703934)
Backed out changeset 2a51d2530939 (bug 1703934)
Backed out changeset 6af76624ce86 (bug 1703934)
2021-04-26 19:56:53 +03:00
Sean Feng 8128d06c90 Bug 1706794 - Enable dom.input_events.strict_input_vsync_alignment in Nightly again r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D113039
2021-04-26 14:27:15 +00:00
Robert Mader 4cde7dfa5c Bug 1707209 - [wayland] Implement experimental fractional scaling support, r=stransky
Fractional scaling currently comes at a high performance cost as we
only support integer scaling for rendering. The overdraw ratio is
something like (ceil(scale) / scale)^2, which for 125% scaling means
we're drawing 2.56 times as much as we should.

In theory we already support everything needed to have proper fractional
scaling: Webrender support appears to be in great shape and on the Wayland
side we can use the wp_viewporter protocol to have arbitrary
buffer size <-> surface size relationships. The main blocker remains the
lack of proper negotiation between client and compositor about the
optimal buffer size.

In order to speed up the upstream discussion, lets implement it via a
fixed value that can be set in `about:config` for testing purposes
(`widget.wayland.fractional_buffer_scale`).
It will, of course, require wp_viewporter support from the compositor.

Differential Revision: https://phabricator.services.mozilla.com/D113321
2021-04-26 13:57:23 +00:00
Kershaw Chang 058591b002 Bug 1703934 - P2: Use another parallel limit for backup speculative connection, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112349
2021-04-26 12:58:00 +00:00
Csoregi Natalia 269bcb3624 Backed out changeset ff7ef68e1267 (bug 1706794) for causing assertion failures on InputTaskManager.cpp. CLOSED TREE 2021-04-22 19:10:00 +03:00
Narcis Beleuzu 33cc31099d Backed out 8 changesets (bug 1574475, bug 1699222) for build bustages on moz.build . CLOSED TREE
Backed out changeset 6c2c039872b3 (bug 1574475)
Backed out changeset 8a2a04743c5f (bug 1699222)
Backed out changeset 9437c60798d6 (bug 1574475)
Backed out changeset 7ef1884ac11b (bug 1574475)
Backed out changeset ec8c237d5298 (bug 1574475)
Backed out changeset 4a760b3f5d53 (bug 1574475)
Backed out changeset b229b0eea1e7 (bug 1574475)
Backed out changeset 03d34a2f10a6 (bug 1574475)
2021-04-22 18:10:59 +03:00
Valentin Gosu 7c9a639c26 Bug 1574475 - Remove ftp prefs r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D111247
2021-04-22 13:41:33 +00:00
Sean Feng d2993fc6ae Bug 1706794 - Enable dom.input_events.strict_input_vsync_alignment in Nightly again r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D113039
2021-04-22 13:34:27 +00:00
Markus Stange 0b4e2da8d5 Bug 1700679 - Enable native context menus by default. r=harry,mac-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113029
2021-04-22 12:40:23 +00:00
Brindusan Cristian 326e86c0f3 Backed out 2 changesets (bug 1703934) as requested on irc by kershaw for causing a possible regression. CLOSED TREE
Backed out changeset 46cd307ba50c (bug 1703934)
Backed out changeset 8a7e66be31e2 (bug 1703934)
2021-04-21 14:10:30 +03:00
Christoph Kerschbaumer fb0cf1ec76 Bug 1706552: Change HTTPS First Mode pref to dom.security.https_first r=lyavor
Differential Revision: https://phabricator.services.mozilla.com/D112918
2021-04-21 10:56:54 +00:00
Kershaw Chang cea51c8354 Bug 1703934 - P2: Use another parallel limit for backup speculative connection, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112349
2021-04-21 08:59:20 +00:00
Kagami Sascha Rosylight 9e2ce50d93 Bug 1637259 - Dispatch touch event for WM_POINTER r=edgar,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D111513
2021-04-21 00:13:14 +00:00
Csoregi Natalia 7fe2a291b2 Backed out changeset 267e8925453b (bug 1637259) for failures on pointerevent_attributes_nohover_pointers-manual.html. CLOSED TREE 2021-04-21 00:02:25 +03:00
Tom Schuster c13ba0db61 Bug 1701512 - Add a separate pref for clipboard.read(). r=nika
Differential Revision: https://phabricator.services.mozilla.com/D110043
2021-04-20 20:40:08 +00:00
Kagami Sascha Rosylight 8dc6d93c55 Bug 1637259 - Dispatch touch event for WM_POINTER r=edgar,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D111513
2021-04-20 20:13:41 +00:00
Agi Sferro f8a731e34e Bug 1696145 - Support Notification.silent and .vibrate on Android. r=smaug,droeh,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D111924
2021-04-20 18:35:36 +00:00
Csoregi Natalia cd658de8c3 Backed out 2 changesets (bug 1696145) for causing build bustage on notifications. CLOSED TREE
Backed out changeset 2e18b65dd133 (bug 1696145)
Backed out changeset 6d302afe732f (bug 1696145)
2021-04-20 20:13:56 +03:00
Agi Sferro 97ede8ffca Bug 1696145 - Support Notification.silent and .vibrate on Android. r=smaug,droeh,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D111924
2021-04-20 16:38:45 +00:00
Matthew Gaudet 183afd855e Bug 1648090 - Add context option for ergnomic brand checks r=arai
Differential Revision: https://phabricator.services.mozilla.com/D86571
2021-04-20 15:21:38 +00:00
Chris Fallin c0d9956b61 Bug 1701885 part 6 - Fix signals for WASI. r=jandem,wingo
WASI lacks of the signals support yet, so this patch stubs out
uses of signals for WASI.

Differential Revision: https://phabricator.services.mozilla.com/D110216
2021-04-20 05:15:28 +00:00
Dorel Luca bbbfdba1d1 Backed out changeset 15ba31c95972 (bug 1706160) for Devtool failures in devtools/client/netmonitor/test/browser_net_copy_headers.js. CLOSED TREE 2021-04-20 07:33:26 +03:00
Jon Bauman 2f3bded146 Bug 1706160 - Enable AVIF support by default in Nightly. r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D112649
2021-04-19 23:47:04 +00:00
Paul Adenot 3bb2455b40 Bug 1706104 - Remove more references to `media.useAudioChannelAPI` r=alwu DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D112619
2021-04-19 16:43:47 +00:00
Kershaw Chang 4797c96a42 Bug 1702332 - Reduce the amount of DNS queries for unavailable type records, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D111655
2021-04-19 13:56:50 +00:00
Mark Striemer 209f987106 Bug 1701691 - -moz-toolbar-prefers-color-scheme for dark theme detection r=desktop-theme-reviewers,emilio,harry
This adds a new @media query -moz-toolbar-prefers-color-scheme which works like
prefers-color-scheme but is set based on the browser theme rather than the OS
theme. The background colour of the toolbar is used to determine the theme
dark/light preference. This will be used for in-content common.css pages and
other UI elements that include that stylesheet in the browser-chrome through
shadow DOM.

The end result is that about: pages, infobars, and modals will now "match" the
browser theme (just light/dark mode, not LWT theming support).

Differential Revision: https://phabricator.services.mozilla.com/D111486
2021-04-18 22:22:49 +00:00
Emilio Cobos Álvarez c5e28b2599 Bug 1705946 - Add some prefs for datetime-local. r=smaug
This is a bit subtler than needed (ideally we'd just need one pref)
because android enables the support for the type even if it only creates
a textbox.

Co-Authored-By: Fernando García <fernando.garciagomez.01@telefonica.com>

Differential Revision: https://phabricator.services.mozilla.com/D112488
2021-04-18 18:05:54 +00:00
Valentin Gosu 3477d25274 Bug 1551562 - Use CopyMemory instead of memcpy on Windows inside try/catch blocks r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D112343
2021-04-16 12:58:28 +00:00
Noemi Erli f90389736b Backed out changeset 1c9943dacbdb (bug 1701691) for causing failures in browser_toolbar_prefers_color_scheme.js CLOSED TREE 2021-04-16 05:29:10 +03:00
Emilio Cobos Álvarez b42ccb7de0 Bug 1705509 - Hide -moz-outline-radius behind a pref. r=mstange
This property does nothing since bug 315209 got implemented.

Every single user that I checked was doing the same math by hand, so
hooray for good defaults :-)

Differential Revision: https://phabricator.services.mozilla.com/D112253
2021-04-16 01:01:45 +00:00
Mark Striemer 53099a968e Bug 1701691 - -moz-toolbar-prefers-color-scheme for dark theme detection r=desktop-theme-reviewers,emilio,harry
This adds a new @media query -moz-toolbar-prefers-color-scheme which works like
prefers-color-scheme but is set based on the browser theme rather than the OS
theme. The background colour of the toolbar is used to determine the theme
dark/light preference. This will be used for in-content common.css pages and
other UI elements that include that stylesheet in the browser-chrome through
shadow DOM.

The end result is that about: pages, infobars, and modals will now "match" the
browser theme (just light/dark mode, not LWT theming support).

Differential Revision: https://phabricator.services.mozilla.com/D111486
2021-04-16 00:43:46 +00:00
Csoregi Natalia 5cfbff72cd Backed out changeset 79c1392f7c43 (bug 1701691) for failures on browser_toolbar_prefers_color_scheme.js. CLOSED TREE 2021-04-15 22:18:09 +03:00
Mark Striemer 67dde35bda Bug 1701691 - -moz-toolbar-prefers-color-scheme for dark theme detection r=desktop-theme-reviewers,emilio,harry
This adds a new @media query -moz-toolbar-prefers-color-scheme which works like
prefers-color-scheme but is set based on the browser theme rather than the OS
theme. The background colour of the toolbar is used to determine the theme
dark/light preference. This will be used for in-content common.css pages and
other UI elements that include that stylesheet in the browser-chrome through
shadow DOM.

The end result is that about: pages, infobars, and modals will now "match" the
browser theme (just light/dark mode, not LWT theming support).

Differential Revision: https://phabricator.services.mozilla.com/D111486
2021-04-15 18:17:07 +00:00
Sarah Ukoha da4950549a Bug 1700412 - Refactor 'signon.recipes.remoteRecipesEnabled' pref to 'signon.recipes.remoteRecipes.enabled' r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D112064
2021-04-15 15:27:40 +00:00
Sean Feng e0c155f868 Bug 1705392 - Disable strict_input_vsync_alignment due to some Nightly crashes r=aryx a=crash-fix
disables feature and switches behavior back to the one before the current Nightly

Differential Revision: https://phabricator.services.mozilla.com/D112183
2021-04-15 13:15:37 +00:00
Botond Ballo 5802ebbce9 Bug 1704231 - Enable overscroll by default on Mac. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D112116
2021-04-15 01:19:05 +00:00
Timothy Nikkel 0bb019f25b Bug 674371. Turn on the pref for double tap to zoom on mac. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D107401
2021-04-15 00:28:22 +00:00
Jon Bauman bd341b09c9 Bug 1682995 - Revert Enable AVIF support by default. r=aosmond,valentin,necko-reviewers,preferences-reviewers,Gijs
Revert this change to turn AVIF off by default for now

Differential Revision: https://phabricator.services.mozilla.com/D111892
2021-04-14 23:36:23 +00:00
Gijs Kruitbosch 3144a6d586 Bug 1704616 - enable proton modals by default r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D112038
2021-04-14 22:41:11 +00:00
Sean Feng 1c6df38b7c Bug 1697585 - Make input tasks can be more strictly aligned with Vsync r=smaug
This patch introduces a new way to way to schedule input tasks, such
that input tasks remain at `InputHigh` priority normally, however, when
there's a pending `Vsync` priority task in the task queue, we
increase the priority of input tasks from `InputHigh` to `InputHighest` to
rush processing the pending input tasks.

There are two restrictions to ensure we don't delay vsync too much:
  - There's a hard limit duration
  - We won't process the input tasks that are newly added after we've
    started to process the current number of input tasks

Differential Revision: https://phabricator.services.mozilla.com/D109499
2021-04-14 19:56:42 +00:00
Narcis Beleuzu 53edf49750 Backed out 2 changesets (bug 1704616) for Mochitest failures in remote/cdp/test/browser/page/browser_javascriptDialog_prompt.js. CLOSED TREE
Backed out changeset 16e0111f7c6d (bug 1704616)
Backed out changeset 623c1b4ecf35 (bug 1704616)
2021-04-14 21:54:42 +03:00
Gijs Kruitbosch 23eb1e337b Bug 1704616 - enable proton modals by default r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D112038
2021-04-14 14:58:45 +00:00
Christoph Kerschbaumer 2688122af1 Bug 1704719: Introduce Pref for HTTPS-First in Private Browsing Mode r=JulianWels
Differential Revision: https://phabricator.services.mozilla.com/D112011
2021-04-14 11:10:39 +00:00
Julian Seward b84878b2a1 Bug 1686626 - Enable Ion by default for wasm on AArch64. r=lth.
This patch enables Ion by default as the optimising compiler for wasm on
AArch64, and disables Cranelift.  Cranelift is still available if the build is
configured with --enable-cranelift.  In that case, *only* Cranelift is
available.  There are no configuration flags to enable both Ion and Cranelift
simultaneously.

This mostly reverts the Phase 0 and Phase 1 patches that are bug 1678097
D102420 and D101867 respectively.

The command line option --wasm-force-ion has been removed.

With this patch in place, users of the shell should specify
`--wasm-compiler=optimizing` to get an optimising wasm compiler.  Which one is
provided depends on the configuration options as described above.
`--wasm-compiler=cranelift` and `--wasm-compiler=ion` are now only accepted
when the relevant compiler has been enabled, and so neither is a "safe" way to
request an optimising tier.

For that reason, test directories that previously requested
also-with-Ion-please by stating `test-also=--wasm-compiler=ion;` in their
`directives.txt` file, have been changed to use
`test-also=--wasm-compiler=optimizing;`.

In places where the JSContextOptions are set, the non-selected compiler (Ion
or CL) is explicitly set to `false` (eg, `.setWasmIon(false)`).  This may be
overly conservative, but seems wise given that it's not immediately obvious
what the previous value of that flag is, and given the recent difficulties
with incorrect option propagation/handling (eg, bug 1697560).

Differential Revision: https://phabricator.services.mozilla.com/D101695
2021-04-14 07:43:27 +00:00
Andrew Osmond cb0f2694b3 Bug 1704927 - Allow Software WebRender for all popups on early beta and Fission users. r=gfx-reviewers,jrmuizel
This patch turns on Software WebRender for all widgets that don't get
acceleration by default on nightly and early beta, as well as for users
who are put into the Fission experiment. It also cleans up our prefs to
simply enable it for all popups, and not just those affected by Fission.

Differential Revision: https://phabricator.services.mozilla.com/D111958
2021-04-13 23:58:49 +00:00
Edgar Chen 8031c3a6ce Bug 1684842 - Enable implicit pointer capture for touch on early Beta; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D111745
2021-04-13 22:10:19 +00:00
Boris Chiou 2729a10da1 Bug 1672073 - Ship aspect-ratio. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D105565
2021-04-13 18:50:44 +00:00
Christoph Kerschbaumer e1c35fda94 Bug 1658924: Implement HTTPS-First and automatically fall back to http if secure top-level connection is not available r=necko-reviewers,JulianWels,mattwoodrow,dragana
Differential Revision: https://phabricator.services.mozilla.com/D111686
2021-04-13 17:43:12 +00:00
Jonathan Kew 7949bc6a18 Bug 1704494 - Enable the ascent-, descent-, and line-gap-override descriptors on all channels. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D111629
2021-04-13 15:02:08 +00:00
Emilio Cobos Álvarez 210b1fa8e8 Bug 1704551 - Add attribute names to the bloom filter. r=boris
Safari does this. This reduces the runtime in the example linked from
comment 0 quite a lot (40ms on a local opt build, from ~130ms on a
release nightly build).

I added a pref because there's a slight chance of performance
regressions on pages that do not use attribute selectors, as we're now
doing more unconditional work per element (adding the attributes to the
bloom filter). But the trade-off should be worth it, I think.

Differential Revision: https://phabricator.services.mozilla.com/D111689
2021-04-13 10:53:40 +00:00
Butkovits Atila 6e5df92d0f Backed out changeset 6d5699810780 (bug 1686626) for causing arm64 bustage on central. CLOSED TREE 2021-04-13 01:53:09 +03:00
Eugen Sawin 33a0e4b5a4 Bug 1691819 - [2.1] Share required prefs to enable credit card and address form autocomplete for GeckoView. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D108521
2021-04-12 21:57:15 +00:00
Morgan Reschenberg 86d94a6438 Bug 1659511: Enable forced-colors by default r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D111700
2021-04-12 21:29:13 +00:00
Christoph Kerschbaumer 5427febae7 Bug 1670244: Ensure we never load a document with a codebase principal in the wrong type of webIsolated process r=nika
Differential Revision: https://phabricator.services.mozilla.com/D108185
2021-04-12 18:06:52 +00:00
Valentin Gosu fffedbcc06 Bug 1703216 - Get rid of network.trr.bootstrapAddress pref r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D110913
2021-04-12 16:07:06 +00:00
Lars T Hansen 5cdb591a55 Bug 1703505 - Flip pref for large ArrayBuffer. r=jandem
Do the minimal amount of work to flip the default sense of the pref from false
to true.

One test case had to be tweaked because it assumed a 2GB max and we had not
stressed this with the --large-arraybuffer switch.

Added a test for the --no-large-arraybuffer switch.

Various test cases had to be tweaked to use the largeArrayBufferEnabled
predicate to guard tests that assumed specific buffer sizes, when those tests
could not easily be updated.

Differential Revision: https://phabricator.services.mozilla.com/D111100
2021-04-12 16:01:57 +00:00
Julian Seward 2288cd2d95 Bug 1686626 - Enable Ion by default for wasm on AArch64. r=lth.
This patch enables Ion by default as the optimising compiler for wasm on
AArch64, and disables Cranelift.  Cranelift is still available if the build is
configured with --enable-cranelift.  In that case, *only* Cranelift is
available.  There are no configuration flags to enable both Ion and Cranelift
simultaneously.

This mostly reverts the Phase 0 and Phase 1 patches that are bug 1678097
D102420 and D101867 respectively.

The command line option --wasm-force-ion has been removed.

With this patch in place, users of the shell should specify
`--wasm-compiler=optimizing` to get an optimising wasm compiler.  Which one is
provided depends on the configuration options as described above.
`--wasm-compiler=cranelift` and `--wasm-compiler=ion` are now only accepted
when the relevant compiler has been enabled, and so neither is a "safe" way to
request an optimising tier.

For that reason, test directories that previously requested
also-with-Ion-please by stating `test-also=--wasm-compiler=ion;` in their
`directives.txt` file, have been changed to use
`test-also=--wasm-compiler=optimizing;`.

In places where the JSContextOptions are set, the non-selected compiler (Ion
or CL) is explicitly set to `false` (eg, `.setWasmIon(false)`).  This may be
overly conservative, but seems wise given that it's not immediately obvious
what the previous value of that flag is, and given the recent difficulties
with incorrect option propagation/handling (eg, bug 1697560).

Differential Revision: https://phabricator.services.mozilla.com/D101695
2021-04-12 15:46:46 +00:00
Jamie Nicol 7abb7ce304 Bug 1615574 - Disable webrender shader cache on Adreno 3xx. r=aosmond
Loading cached shaders with glProgramBinary fails consistently for all
but the most trivial of our shaders on Adreno 3xx, so caching and
attempting to load them is a waste of time. Chromium and other
projects also appear to have disabled their shader caches on Adreno
3xx due to bugs.

This patch moves the gfx.webrender.program-binary-disk pref
declaration from all.js to StaticPrefList.yaml. Rather than directly
using the value of the pref to decide whether to create the shader
cache, we now initialize a Feature in gfxConfigManager with a default
value from the pref and then configure it from the blocklist. On
Android we block the feature on Adreno 3xx devices. The pref remains
true by default on Android and Windows, and false by default on Linux
and Macos.

Differential Revision: https://phabricator.services.mozilla.com/D111427
2021-04-12 15:14:12 +00:00
Emilio Cobos Álvarez 97ec9ca623 Bug 1704332 - Remove various image-orientation related prefs. r=tnikkel
These shipped in 77.

Differential Revision: https://phabricator.services.mozilla.com/D111550
2021-04-11 17:39:12 +00:00
Mark Striemer fa48ebee58 Bug 1702330 - Remove -moz-proton-infobars media query support r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D110963
2021-04-11 17:28:02 +00:00
Jonathan Kew 1bb19a1421 Bug 1694174 - Pref-on the shared font-list by default for all channels. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D111533
2021-04-10 22:03:24 +00:00
Mike Conley 814c2cab99 Bug 1703716 - Enable Proton context menus by default. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D111477
2021-04-09 23:07:47 +00:00
Aaron Klotz 7ae503f61f Bug 1703968: Part 2 - Enable COOP+COEP prefs on GeckoView Nightly; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D111444
2021-04-09 22:57:17 +00:00
Dorel Luca 0e53a30dc1 Backed out 7 changesets (bug 1703968) for WPT failures in hr-time/clamped-time-origin-isolated.https.html. CLOSED TREE
Backed out changeset f9628f3c1fe0 (bug 1703968)
Backed out changeset 2297f0570091 (bug 1703968)
Backed out changeset 4d48931594ed (bug 1703968)
Backed out changeset d169cd7d7083 (bug 1703968)
Backed out changeset fcb0f1251d66 (bug 1703968)
Backed out changeset cbe5389803cd (bug 1703968)
Backed out changeset ac7dbdbff84d (bug 1703968)
2021-04-10 01:27:48 +03:00
Ryan Hunt f37dc5a46c Bug 1677204 - wasm: Factor out feature gating to declarative macro. r=lth
This commit adds a declarative `JS_FOR_WASM_FEATURES` macro which
expands for every WebAssembly proposal we are gating. Most feature
gating code is refactored to use this macro so that we have one place
we need to change to get the majority of this code working. The only
place that needs to be updated for new features is the browser pref
declaration code, as that cannot use this macro. This is documented
in the new WasmFeatures.h header.

The feature gating logic should work almost identically as before.
The changes are:
 * All browser prefs are moved to StaticPrefList.yaml
 * The code to enable a feature was conditionally compiled to not
   enable the feature at variously stages of the "flag-flow". Now
   the only place that is conditionally compiled to not work is
   in the WasmXFlag functions. This is to make the macro simpler
   and might be able to be reverted if need be.
 * The flag for gc is shortened from gcTypes to gc so that the
   existing usages of the wasmGcEnabled shell function don't have
   to change.

This commit also has the effect of giving function-references/gc/
exception-handling a proper browser pref for enabling the features.

Differential Revision: https://phabricator.services.mozilla.com/D110820
2021-04-09 20:03:51 +00:00
Ryan Hunt 90c8728cc9 Bug 1677204 - wasm: Remove multi-value flag. r=lth
Multi-value has shipped and can remove its feature flag.

Differential Revision: https://phabricator.services.mozilla.com/D110819
2021-04-09 20:03:51 +00:00
Marco Bonardo 2c982d3c01 Bug 1703274 - Enable Proton Urlbar. r=jaws,extension-reviewers,zombie,rpl
Differential Revision: https://phabricator.services.mozilla.com/D110998
2021-04-09 18:20:21 +00:00
Emilio Cobos Álvarez 80d1a408b0 Bug 1704155 - Remove dead prefers-color-scheme: no preference code. r=dholbert
It was removed in bug 1643656.

Differential Revision: https://phabricator.services.mozilla.com/D111461
2021-04-09 18:02:49 +00:00
Aaron Klotz aeaf2a1c2e Bug 1703968: Part 2 - Enable COOP+COEP prefs on GeckoView Nightly; r=geckoview-reviewers,agi
Depends on D111443

Differential Revision: https://phabricator.services.mozilla.com/D111444
2021-04-09 16:45:54 +00:00
Dorel Luca 7c6d9844e5 Backed out 8 changesets (bug 1702330)for Browser-chrome failures in est/popups/browser_popup_blocker.js. CLOSED TREE
Backed out changeset b81511f8e157 (bug 1702330)
Backed out changeset 15f60f1d3f14 (bug 1702330)
Backed out changeset 809af1f94b4b (bug 1702330)
Backed out changeset 63cec3eadb4f (bug 1702330)
Backed out changeset b9964fb4dd70 (bug 1702330)
Backed out changeset 1e5ccb47056e (bug 1702330)
Backed out changeset 65faaeeb2339 (bug 1702330)
Backed out changeset e72fb8b52609 (bug 1702330)
2021-04-09 20:21:35 +03:00
Mark Striemer 7f49e59cfb Bug 1702330 - Remove -moz-proton-infobars media query support r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D110963
2021-04-09 15:26:25 +00:00
Cosmin Sabou 13826a4c50 Backed out changeset bd396182f84a (bug 1703274) for causing wpt failures on shape-outside-shape-arguments-000.html. CLOSED TREE 2021-04-09 17:51:48 +03:00
Christoph Kerschbaumer 47028a5674 Bug 1703847: Disable Mixed Content Auto-upgrading in Nightly (and in general) r=JulianWels,arthuredelstein
Differential Revision: https://phabricator.services.mozilla.com/D111272
2021-04-09 12:20:24 +00:00
Marco Bonardo af19ef5dc4 Bug 1703274 - Enable Proton Urlbar. r=jaws,extension-reviewers,zombie,rpl
Differential Revision: https://phabricator.services.mozilla.com/D110998
2021-04-09 11:05:17 +00:00
Aaron Klotz 2ffd0ef1a2 Bug 1668952: Part 1 - Remove GeckoView-specific limits on URI length from Necko; r=necko-reviewers,valentin
For webcompat reasons, we have determined that we should only limit the length
of URIs in specific cases. We're going to handle this on the GV side instead.

Differential Revision: https://phabricator.services.mozilla.com/D109426
2021-04-09 06:01:58 +00:00
Gijs Kruitbosch 79ad8f7e81 Bug 1703716 - Enable Proton panels. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D111202
2021-04-09 00:33:05 +00:00
Alexandru Michis b40e464292 Backed out 5 changesets (bug 1702330) for causing failures in browser_aboutNewTab_defaultBrowserNotification.js
CLOSED TREE

Backed out changeset 365fd1bb6dde (bug 1702330)
Backed out changeset eba73c72be18 (bug 1702330)
Backed out changeset e1277c21543f (bug 1702330)
Backed out changeset 907e4fcda266 (bug 1702330)
Backed out changeset eb2a8569ed02 (bug 1702330)
2021-04-09 03:34:23 +03:00
Mark Striemer 77be5a8d55 Bug 1702330 - Remove -moz-proton-infobars media query support r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D110963
2021-04-08 22:25:05 +00:00
Gijs Kruitbosch ff36c1a84e Bug 1703716 - Revert backout of 44916257e305 since it was backed out twice.
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D111202
2021-04-09 00:29:43 +03:00
Alexandru Michis c4b2eb6394 Backed out changeset 44916257e305 (bug 1703716) for causing reftest failures in menulist-shrinkwrap-2.xhtml
CLOSED TREE
2021-04-09 00:10:23 +03:00
Alexandru Michis 678bd611d2 Backed out changeset 44916257e305 (bug 1703716) for causing accessible failures in test_visibility.xhtml
CLOSED TREE
2021-04-08 23:56:22 +03:00
Lars T Hansen 4dcaa0f34d Bug 1695585 - Flip SIMD flag to true for x64/x86. r=rhunt
Flip javascript.options.wasm_simd to true for beta and release.

This patch leaves the flag as true on nightly and otherwise false, for arm64,
since arm64 code landing is imminent.  But in truth simd is not even compiled
in for arm64 at the moment.

Differential Revision: https://phabricator.services.mozilla.com/D111285
2021-04-08 18:50:02 +00:00
Brindusan Cristian cd41c3c30d Backed out changeset 63ddc2074344 (bug 1703847) for causing wpt failures in tao-origin-SO-XO-SO-redirect-chain.https.html. CLOSED TREE 2021-04-08 22:32:40 +03:00
Gijs Kruitbosch 5316e4e5a7 Bug 1703716 - Enable Proton context menu and panels. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D111202
2021-04-08 17:55:47 +00:00
Christoph Kerschbaumer f6bf4b9638 Bug 1703847: Disable Mixed Content Auto-upgrading in Nightly (and in general) r=JulianWels,arthuredelstein
Differential Revision: https://phabricator.services.mozilla.com/D111272
2021-04-08 17:50:53 +00:00
Ryan VanderMeulen 45fee98888 Backed out changeset 815799bb0d7b (bug 1696997) for causing regressions.
DONTBUILD CLOSED TREE
2021-04-08 12:43:22 -04:00
Yulia Startsev 685df4d56e Bug 1681046 - Enable Top Level Await by default r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D110394
2021-04-08 08:21:56 +00:00
Mike Conley 9278500d2d Bug 1699892 - Allow the Firefox Accounts avatar server to use SVG context properties. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D111169
2021-04-08 01:48:07 +00:00
Botond Ballo 40296db318 Bug 1702855 - Disable three-finger touchpad pinch gestures on Linux by default. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D111201
2021-04-08 01:15:42 +00:00
Botond Ballo 58272bcc12 Bug 1687636 - Add a pref to disable the check to convert touch events to pan gesture events. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D110884
2021-04-07 18:56:39 +00:00
Bernard Igiri 53d4a8dc59 Bug 1700109 - Enable main Proton pref by default in Nightly r=dao,jaws
This sets browser.proton.enabled to true by default in Nightly. This is the first
wave of Proton changes.

Differential Revision: https://phabricator.services.mozilla.com/D110156
2021-04-07 16:58:24 +00:00
Andrew Osmond 764dd82fc9 Bug 1703524 - Disable Software WebRender for popups on nightly. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D111094
2021-04-07 13:00:07 +00:00
smolnar 8844e16700 Backed out 3 changesets (bug 1681046) for causing jsreftest failures in ScriptLoader. CLOSED TREE
Backed out changeset 6704600819ed (bug 1681046)
Backed out changeset 37f56518116b (bug 1681046)
Backed out changeset f61cb7496a35 (bug 1681046)
2021-04-07 12:50:28 +03:00
Yulia Startsev 2b2111b9b2 Bug 1681046 - Enable Top Level Await by default r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D110394
2021-04-07 08:45:37 +00:00
Martin Thomson 0da7ca76c3 Bug 1700233 - Enable TLS delegated credentials, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D109448
2021-04-06 21:24:10 +00:00
Andreas Pehrson 4f4af8527f Bug 1695580 - Increase async shutdown timeout for ASAN to 5 minutes. r=xpcom-reviewers,mccr8
The patches on this bug make bug 1684441 increase in frequency. Presumable ASAN
shutdown is in many cases already close to the timeout, and this bug is making
it trip over the edge.

A 4 minute timeout made a broad linux x64 ASAN try run go from five occurrences
of bug 1684441 to two, whereas a 5 minute timeout made them go to zero.

Differential Revision: https://phabricator.services.mozilla.com/D109785
2021-04-06 20:15:12 +00:00
Kershaw Chang cefbdf0c3b Bug 1702937 - Narrow down the zero_byte_load probe, r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D110967
2021-04-06 19:53:19 +00:00
David Parks 7a4e918916 Bug 1682030 - Clean up NPAPI plugin fallback behavior. r=jmathies,emilio
Similifies use of EventStates and ObjectType/FallbackType enums since most states they represented are no longer valid with the removal of NPAPI plugins.  The state machine for (unsupported) plugin elements is now much simpler but still distinguishes between HTML fallbacks, fallbacks leading to a "BROKEN" state (e.g. failing to load the image the element refers to), and fallbacks that would simply lead the element to occupy an empty region.  The last type of fallback is behind a pref "layout.use-plugin-fallback" and is disabled by default.

Simplifying the state machine allows us to clean up nsObjectLoadingContent.  We also update many of the enums which refered to plugins, which would otherwise get confusing.

Differential Revision: https://phabricator.services.mozilla.com/D107158
2021-04-06 19:28:18 +00:00
Markus Stange c51257646d Bug 1702978 - Reduce springiness of the overscroll snapback animation. r=botond
This makes the snapback less aggressive, and feels more like Safari to me.
Reducing the stiffness makes the animation take longer to complete.
To counteract the longer time, I've also reduced the damping a little bit;
reducing the damping makes the animation complete a little more quickly.

Depends on D110845

Differential Revision: https://phabricator.services.mozilla.com/D110846
2021-04-06 15:50:10 +00:00
Markus Stange 48163dbe45 Bug 1702978 - Reduce maximum allowed velocity when initiating overscroll snapback animation. r=botond
This makes it so that quick flings don't create such a large initial overscroll gap.

Before: https://share.firefox.dev/3fFP5Kp
After: https://share.firefox.dev/3fHA4b1

The "before" profile shows a jump from -65 to -320 in the overscroll amount, when
the animation is started, and the "after" profile shows a jump from -57 to -201.

Depends on D110844

Differential Revision: https://phabricator.services.mozilla.com/D110845
2021-04-06 15:50:10 +00:00
Markus Stange 23b39e4a0f Bug 1702978 - Add prefs for some of the overscroll physics aspects. r=botond
Depends on D110843

Differential Revision: https://phabricator.services.mozilla.com/D110844
2021-04-06 15:50:09 +00:00
Brindusan Cristian 08e2af1cf7 Backed out 2 changesets (bug 1681046) for causing wpt failures in bare-specifiers.sub.html. CLOSED TREE
Backed out changeset a26ecd8063ea (bug 1681046)
Backed out changeset e161663a5a7c (bug 1681046)
2021-04-06 18:02:15 +03:00
Brindusan Cristian 972d8621c6 Backed out 5 changesets (bug 1697585) for causing build bustages on nsTimerImpl.h. CLOSED TREE
Backed out changeset e9e4a710e7d1 (bug 1697585)
Backed out changeset bc271f42bcb7 (bug 1697585)
Backed out changeset d8516aec6a5e (bug 1697585)
Backed out changeset 0b1bc6cb84af (bug 1697585)
Backed out changeset 074ebebaee27 (bug 1697585)
2021-04-06 17:45:02 +03:00
Brindusan Cristian f78d18d827 Backed out 8 changesets (bug 1695580) for causing build bustages on DataMutex.h. CLOSED TREE
Backed out changeset ec0b0fcc8d88 (bug 1695580)
Backed out changeset 982a46056fcb (bug 1695580)
Backed out changeset e38e8b90f119 (bug 1695580)
Backed out changeset 6fdd154aa151 (bug 1695580)
Backed out changeset d04f7a7ec375 (bug 1695580)
Backed out changeset 2103cd9e58b7 (bug 1695580)
Backed out changeset de9a7dd7fc79 (bug 1695580)
Backed out changeset ae16f09be41b (bug 1695580)
2021-04-06 17:41:19 +03:00
Valentin Gosu 621339b801 Bug 1433500 - detectportal.firefox.com should return something informative for users r=nhnt11,extension-reviewers,zombie
This change constitutes a way we can redirect users to an actual page that
explains what captive portals are and why we are making these requests.
Normally users should not see this page, as we only compare the contents
of a small html file. The meta redirect only happens when loaded in a
page.

The SUMO URL https://support.mozilla.org/kb/captive-portal will automatically
redirect to the appropriate locale.

Differential Revision: https://phabricator.services.mozilla.com/D99773
2021-04-06 14:12:50 +00:00
Sean Feng 25b542e9e1 Bug 1697585 - Make input tasks can be more strictly aligned with Vsync r=smaug
This patch introduces a new way to way to schedule input tasks, such
that input tasks remain at `InputHigh` priority normally, however, when
there's a pending `Vsync` priority task in the task queue, we
increase the priority of input tasks from `InputHigh` to `InputHighest` to
rush processing the pending input tasks.

There are two restrictions to ensure we don't delay vsync too much:
  - There's a hard limit duration
  - We won't process the input tasks that are newly added after we've
    started to process the current number of input tasks

Differential Revision: https://phabricator.services.mozilla.com/D109499
2021-04-06 13:10:51 +00:00
Andreas Pehrson 5367aeff32 Bug 1695580 - Increase async shutdown timeout for ASAN to 5 minutes. r=xpcom-reviewers,mccr8
The patches on this bug make bug 1684441 increase in frequency. Presumable ASAN
shutdown is in many cases already close to the timeout, and this bug is making
it trip over the edge.

A 4 minute timeout made a broad linux x64 ASAN try run go from five occurrences
of bug 1684441 to two, whereas a 5 minute timeout made them go to zero.

Differential Revision: https://phabricator.services.mozilla.com/D109785
2021-04-06 12:16:12 +00:00
Yulia Startsev 735bb5aa2a Bug 1681046 - Enable Top Level Await by default r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D110394
2021-04-06 12:10:12 +00:00
Csoregi Natalia d68661e2cc Backed out 24 changesets (bug 1682030) for bustage on ProcessHangMonitor.cpp and nsCOMPtr.h. CLOSED TREE
Backed out changeset 5b1644096477 (bug 1682030)
Backed out changeset 35ae60eea3c7 (bug 1682030)
Backed out changeset 3eca76a6d639 (bug 1682030)
Backed out changeset 259c45447ad9 (bug 1682030)
Backed out changeset de9222dc8c31 (bug 1682030)
Backed out changeset 2986c7e14349 (bug 1682030)
Backed out changeset 6af3410bdb93 (bug 1682030)
Backed out changeset 42b0621c2927 (bug 1682030)
Backed out changeset 366e3e371858 (bug 1682030)
Backed out changeset 9adb2865adea (bug 1682030)
Backed out changeset 6af6af3bc03a (bug 1682030)
Backed out changeset da94a91b35ae (bug 1682030)
Backed out changeset 9143da258d0e (bug 1682030)
Backed out changeset 5e20d06952ba (bug 1682030)
Backed out changeset 6253d7e1ce7d (bug 1682030)
Backed out changeset 0e06ddeea3e2 (bug 1682030)
Backed out changeset 9c58d57c9e44 (bug 1682030)
Backed out changeset e90edd89430e (bug 1682030)
Backed out changeset 5861b8166b10 (bug 1682030)
Backed out changeset b4b88cdc7993 (bug 1682030)
Backed out changeset b80054e9805c (bug 1682030)
Backed out changeset 580d857674c0 (bug 1682030)
Backed out changeset a9cdf93c2662 (bug 1682030)
Backed out changeset 9c9c8b4998e2 (bug 1682030)
2021-04-06 03:54:12 +03:00
David Parks ef8f5b1e09 Bug 1682030 - Clean up NPAPI plugin fallback behavior. r=jmathies,emilio
Similifies use of EventStates and ObjectType/FallbackType enums since most states they represented are no longer valid with the removal of NPAPI plugins.  The state machine for (unsupported) plugin elements is now much simpler but still distinguishes between HTML fallbacks, fallbacks leading to a "BROKEN" state (e.g. failing to load the image the element refers to), and fallbacks that would simply lead the element to occupy an empty region.  The last type of fallback is behind a pref "layout.use-plugin-fallback" and is disabled by default.

Simplifying the state machine allows us to clean up nsObjectLoadingContent.  We also update many of the enums which refered to plugins, which would otherwise get confusing.

Differential Revision: https://phabricator.services.mozilla.com/D107158
2021-04-05 23:48:42 +00:00
Emilio Cobos Álvarez 5ddee7313f Bug 1698132 - Convert proton pref checks from @supports rules to media features. r=Gijs
This means that dynamic changes will be handled correctly, we can use
StaticPrefs, etc.

Differential Revision: https://phabricator.services.mozilla.com/D110816
2021-04-05 20:48:05 +00:00
Sean Feng 43ac29d13b Bug 1703048 - Tweak lazy-loading root margin defaults to 600px in all directions for EARLY_BETA_OR_EARLIER r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D110825
2021-04-05 18:02:56 +00:00
Emilio Cobos Álvarez 9e4fe964d6 Bug 1702756 - Move some hardcoded colors out of native code. r=mstange
No reason that code needs to be there. The findbar modal highlight stuff is not
being worked on and it was unclear to me why it needed a fission check, so I
removed that special case. The findbar code can customize the colors with
Selection.setColors anyways, which is a better fix.

Depends on D110673

Differential Revision: https://phabricator.services.mozilla.com/D110674
2021-04-02 16:34:34 +00:00
Dragana Damjanovic 6c2a4d05c5 Bug 1701232 - Enable HTTP/3 on Android r=preferences-reviewers,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D109891
2021-04-01 18:01:47 +00:00
stransky 6811ae4b32 Bug 1693472 [Wayland] Always use direct drawing on KWin, r=rmader
Differential Revision: https://phabricator.services.mozilla.com/D110427
2021-04-01 14:28:41 +00:00
Alexandru Michis 7ef047faaa Backed out changeset 0da564b9ec2e (bug 1681046) for causing dt failures in browser_webconsole_worklet_error.js
CLOSED TREE
2021-04-01 15:27:02 +03:00
Yulia Startsev cfb0da74ab Bug 1681046 - Enable Top Level Await by default r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D110394
2021-04-01 11:08:44 +00:00
Caroline Cullen 30b2db3912 Bug 1700771 - Create pref for inlining maximum function size. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D110350
2021-03-31 17:18:13 +00:00
Emilio Cobos Álvarez 22df991215 Bug 1701830 - Remove LookAndFeelCache. r=cmartin,geckoview-reviewers,mstange,esawin
Now that RemoteLookAndFeel is enabled everywhere, this is dead code.

Differential Revision: https://phabricator.services.mozilla.com/D110179
2021-03-30 22:58:22 +00:00
Kagami Sascha Rosylight fecaac5d19 Bug 1701824 - Hide ondevicelight behind a flag r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D110177
2021-03-30 20:44:47 +00:00
Kagami Sascha Rosylight b046eaa662 Bug 1701789 - Restore UserProximityEvent r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D110172
2021-03-30 20:44:47 +00:00
Emilio Cobos Álvarez 0c995f22b1 Bug 1701825 - Minor scrollbar tweaks. r=stransky
This is a follow-up that I thought was worth doing, but let me know if
you disagree or what not. I think this produces the best results:

 * For light pages, we still get light scrollbars for the track, but the
   active thumb still uses the dark theme highlight color.

 * For dark pages, we again still use the themed highlight color for the
   thumb, and we use dark scrollbar colors elsewhere like we do now.

Again, let me know if you think this is not worth it, or is too much, or
what not. I've tested this on a decent range of popular GTK themes and
it looks like a clear progression to me.

Differential Revision: https://phabricator.services.mozilla.com/D110203
2021-03-30 17:31:33 +00:00
Kershaw Chang 49d7717cc6 Bug 1656329 - Add a mutex to protect nsZipArchive::mFiles and nsZipArchive::mBuiltSynthetics r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D109820
2021-03-30 08:48:26 +00:00
Emilio Cobos Álvarez b0cf81da8b Bug 1701825 - Allow passing some colors from GTK even in dark themes. r=stransky
Selection and accent color should be uncontroversial, since we ensure
the darker variant goes in the background, and the scrollbars were
intended to get passed from the parent theme in bug 1669368, but it was
regressed by the initial RemoteLookAndFeel work.

Differential Revision: https://phabricator.services.mozilla.com/D110175
2021-03-30 08:17:38 +00:00
Tom Tung 20de7c4a15 Bug 1696111 - Enable the pref for ORB on Nightly; r=valentin
Depends on D106891

Differential Revision: https://phabricator.services.mozilla.com/D102449
2021-03-30 00:52:31 +00:00
Tom Tung cd108619ed Bug 1696111 - Add a pref for ORB and disable it by default; r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D102388
2021-03-30 00:52:29 +00:00
Andrew Osmond 6a0e18fe26 Bug 1701236 - Disable fallback from WR to basic on desktop in nightly and early beta. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D109894
2021-03-30 00:19:06 +00:00
Emilio Cobos Álvarez 74db060beb Bug 1701807 - Partially revert the regressing bug for now, gotta find something smarter to do.
Differential Revision: https://phabricator.services.mozilla.com/D110180
2021-03-30 00:05:14 +00:00
Andrew Osmond 126292d3d2 Bug 1699224 - Part 4. Allow shared surfaces to be mapped and unmapped on demand. r=jrmuizel
This patch adds an expiration tracker to decide when to unmap unused
shared surfaces from our address space to reclaim virtual memory. This
is only used on 32-bit builds of Firefox where there is meaningful
virtual address space pressure.

Differential Revision: https://phabricator.services.mozilla.com/D109440
2021-03-29 22:43:27 +00:00
Jonathan Kew 5357cb0d41 Bug 1698495 - Add the size-adjust descriptor to the style system. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D110022
2021-03-29 21:14:43 +00:00
Dan Minor 112e2edfe5 Bug 1700447 - Define a default value for "intl.l10n.pseudo" pref; r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D110110
2021-03-29 19:21:40 +00:00
Harry Twyford 24e213b615 Bug 738335 - Enable toolbar shifting for all users. r=mac-reviewers,bradwerth
Depends on D109988

Differential Revision: https://phabricator.services.mozilla.com/D109989
2021-03-29 17:22:11 +00:00
Jeff Muizelaar 8e7ee116a5 Bug 1701455 - Turn on ICCv4 in Nightly on macOS. r=aosmond
The only known brokeness with ICCv4 is bug 1555331 and
that only applies to parametric output profiles which no longer
applies to macOS because we always use sRGB there now.

Differential Revision: https://phabricator.services.mozilla.com/D110034
2021-03-29 16:33:22 +00:00
Sean Feng 51c148ce40 Bug 1701029 - Enable PerformanceEventTiming in all channels r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D109794
2021-03-29 15:40:49 +00:00
Tim Huang 5b93148330 Bug 1695050 - Part 1: Add a pref for controlling the cookieBehavior for Private Brwosing Mode. r=dimi,droeh
Differential Revision: https://phabricator.services.mozilla.com/D109044
2021-03-29 11:01:50 +00:00
Mark Striemer 81479b1262 Bug 1699250 - Use proton dark theme in-content r=jaws
This also fixes up various about pages.

Differential Revision: https://phabricator.services.mozilla.com/D108800
2021-03-28 18:33:05 +00:00
Butkovits Atila 71d46d5a75 Backed out 2 changesets (bug 1690333, bug 1699250) for causing failures on test_bug509732.xhtml. CLOSED TREE
Backed out changeset dcba2814dbc4 (bug 1690333)
Backed out changeset ae3a0e6dde00 (bug 1699250)
2021-03-28 21:16:58 +03:00
Mark Striemer 5c54a9a003 Bug 1699250 - Use proton dark theme in-content r=jaws
This also fixes up various about pages.

Differential Revision: https://phabricator.services.mozilla.com/D108800
2021-03-28 17:02:20 +00:00
Bogdan Tara 3b463ca0d1 Backed out changeset 421e6e333309 (bug 1699250) for browser_html_discover_view_clientid.js mochitest failures
DONTBUILD
2021-03-28 02:37:33 +02:00
Mark Striemer 3d91b0c5fb Bug 1699250 - Use proton dark theme in-content r=jaws
This also fixes up various about pages.

Differential Revision: https://phabricator.services.mozilla.com/D108800
2021-03-27 23:31:07 +00:00
Cosmin Sabou 4618d0a607 Backed out 2 changesets (bug 1690333, bug 1699250) for mochitest failures on test_notificationbox.xhtml.
Backed out changeset d6780d34ca05 (bug 1690333)
Backed out changeset 50cc5db86f1e (bug 1699250)
2021-03-27 23:58:04 +02:00
Mark Striemer d4b82a8583 Bug 1699250 - Use proton dark theme in-content r=jaws
This also fixes up various about pages.

Differential Revision: https://phabricator.services.mozilla.com/D108800
2021-03-27 21:02:50 +00:00
Noemi Erli ebaee4ef03 Backed out 5 changesets (bug 1699224) for causing web platform and reftest failures CLOSED TREE
Backed out changeset bc232de0c5f8 (bug 1699224)
Backed out changeset 94c75dba6545 (bug 1699224)
Backed out changeset 206187cafb6f (bug 1699224)
Backed out changeset ef3ef367986e (bug 1699224)
Backed out changeset d2294fe6ef31 (bug 1699224)
2021-03-26 22:16:10 +02:00
Andrew Osmond 16b0e45a82 Bug 1699224 - Part 4. Allow shared surfaces to be mapped and unmapped on demand. r=jrmuizel
This patch adds an expiration tracker to decide when to unmap unused
shared surfaces from our address space to reclaim virtual memory. This
is only used on 32-bit builds of Firefox where there is meaningful
virtual address space pressure.

Differential Revision: https://phabricator.services.mozilla.com/D109440
2021-03-26 18:21:15 +00:00
Butkovits Atila a8a0f140d3 Backed out 5 changesets (bug 1699224) for causing build bustages on SharedSurfacesParent.cpp. CLOSED TREE
Backed out changeset f929f9783e61 (bug 1699224)
Backed out changeset 36bf68e01a50 (bug 1699224)
Backed out changeset 85f3499080db (bug 1699224)
Backed out changeset 8ce6ddf6ec6f (bug 1699224)
Backed out changeset f8b232382361 (bug 1699224)
2021-03-26 18:33:17 +02:00
Andrew Osmond 3be7ed3f5f Bug 1699224 - Part 4. Allow shared surfaces to be mapped and unmapped on demand. r=jrmuizel
This patch adds an expiration tracker to decide when to unmap unused
shared surfaces from our address space to reclaim virtual memory. This
is only used on 32-bit builds of Firefox where there is meaningful
virtual address space pressure.

Differential Revision: https://phabricator.services.mozilla.com/D109440
2021-03-26 13:21:52 +00:00
Butkovits Atila 65b9a969c7 Backed out changeset 153bb20062aa (bug 1433500) for causing failure on test_captive_portal_service.js. CLOSED TREE 2021-03-26 13:35:29 +02:00
Valentin Gosu 7e27201e36 Bug 1433500 - detectportal.firefox.com should return something informative for users r=nhnt11
This change constitutes a way we can redirect users to an actual page that
explains what captive portals are and why we are making these requests.
Normally users should not see this page, as we only compare the contents
of a small html file. The meta redirect only happens when loaded in a
page.

The SUMO URL https://support.mozilla.org/kb/captive-portal will automatically
redirect to the appropriate locale.

Differential Revision: https://phabricator.services.mozilla.com/D99773
2021-03-26 10:41:10 +00:00
Butkovits Atila 60ee5484c0 Merge mozilla-central to autoland. CLOSED TREE 2021-03-26 11:44:34 +02:00
Butkovits Atila bd25b6690f Merge autoland to mozilla-central. a=merge 2021-03-26 11:35:28 +02:00
Butkovits Atila ad9b1ed9d7 Backed out 12 changesets (bug 1683131, bug 1696111, bug 1695987) for causing crashes(Bug 1701151). a=backout
Backed out changeset 8ffef57e27d2 (bug 1683131)
Backed out changeset c02d5dc72abb (bug 1695987)
Backed out changeset 276f016ddc67 (bug 1683131)
Backed out changeset 2c7a45e20b50 (bug 1683131)
Backed out changeset 11fdb503d537 (bug 1696111)
Backed out changeset 2946eff1e9c8 (bug 1696111)
Backed out changeset e4d01b88e517 (bug 1696111)
Backed out changeset fab7f4cd445d (bug 1696111)
Backed out changeset d60c38f8939a (bug 1696111)
Backed out changeset 3fdc8089a46f (bug 1696111)
Backed out changeset 51a16dfabc98 (bug 1696111)
Backed out changeset 642bdd52fd57 (bug 1696111)
2021-03-26 11:30:28 +02:00
Andreas Farre f722be009c Bug 1572084 - Part 2: Make Session Store data collection work with fission. r=nika
Instead of collecting data from the entire tree of documents, we
collect data per document. The collected data is sent to the
corresponding parent window context and is applied incrementally to
the tab state cache.

Differential Revision: https://phabricator.services.mozilla.com/D107814
2021-03-26 08:59:33 +00:00
Botond Ballo a81c1d3997 Bug 1699880 - Gate the test async scroll offset going into overscroll on a pref. r=tnikkel
This way, tests which specifically want to test overscroll can set the
pref explicitly, and other tests need not worry about accidentally
going into overscroll.

Differential Revision: https://phabricator.services.mozilla.com/D109435
2021-03-26 04:13:54 +00:00
Emilio Cobos Álvarez 16c2ac4c88 Bug 1699768 - Don't unsuppress painting until we've known the website background, to prevent flashing. r=smaug
Actually the page in this case starts getting styled _after_ the load
event, sometimes, but when that happens that also causes a white flash
in other browsers.

Differential Revision: https://phabricator.services.mozilla.com/D109392
2021-03-26 01:10:53 +00:00
sotaro 322bbdd0e0 Bug 1700949 - Set pref gfx.webrender.fallback.software to false on Android r=mattwoodrow
Support of fallback to sw-wr is not completed yet on Android.

Differential Revision: https://phabricator.services.mozilla.com/D109831
2021-03-26 00:50:08 +00:00
Bogdan Tara 8f9d044d0f Backed out 3 changesets (bug 1572084) for WindowGlobalParent.cpp related failures CLOSED TREE
Backed out changeset d42a68132e7e (bug 1572084)
Backed out changeset 4d5a5ac074e6 (bug 1572084)
Backed out changeset 5aa59e106a42 (bug 1572084)
2021-03-25 18:56:02 +02:00
Andreas Farre 728f061c16 Bug 1572084 - Part 2: Make Session Store data collection work with fission. r=nika
Instead of collecting data from the entire tree of documents, we
collect data per document. The collected data is sent to the
corresponding parent window context and is applied incrementally to
the tab state cache.

Differential Revision: https://phabricator.services.mozilla.com/D107814
2021-03-25 15:36:38 +00:00