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

19161 Коммитов

Автор SHA1 Сообщение Дата
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