Commit Graph

19012 Commits

Author SHA1 Message Date
Lars T Hansen
f3ed586788 Bug 1678097 - Enable Ion for wasm on ARM64 (phase 1). r=lth.
In Phase 1, both Ion and Cranelift are available, and the default is switched
to Cranelift.  Use --wasm-force-ion or --wasm-compiler=ion at the shell to
select Ion, or make sure javascript.options.wasm_force_ion is true in
about:config.  Phase 1 is appropriate for fuzzing, after the patch set lands
in mozilla-central but before Ion is enabled by default.  The patch for Phase
1 will appear on bug 1678097 and will be very small, and MUST land with the
patch for Phase 0.

Differential Revision: https://phabricator.services.mozilla.com/D101867
2021-03-16 10:58:42 +00:00
Lars T Hansen
67d5845467 Bug 1678097 - Enable Ion for wasm on arm64 without SIMD (phase 0). r=lth.
In Phase 0, both Cranelift and Ion are available on arm64, and Ion is the
default.  Use --wasm-force-cranelift or --wasm-compiler=cranelift at the shell
to select Cranelift, or set javascript.options.wasm_force_ion to false in
about:config.  Phase 0 is appropriate for developers, before the patch set
lands in mozilla-central and before SIMD is present.

In Phase 1, both compilers are still available, but the default is switched to
Cranelift.  Use --wasm-force-ion or --wasm-compiler=ion at the shell to select
Ion, or make sure javascript.options.wasm_force_ion is true in about:config.
Phase 1 is appropriate for fuzzing, after the patch set lands in
mozilla-central but before Ion is enabled by default.  The patch for Phase 1
will appear on bug 1678097 and will be very small, and MUST land with the
patch for Phase 0.

In Phase 0 and Phase 1, --wasm-compiler=cranelift and --wasm-compiler=ion are
both accepted, and do the expected thing.

In Phase 2, Cranelift becomes disabled in moz.configure and all the changes in
the present patch are removed again.  The patch for Phase 2 will appear on bug
1686626 and will revert Phase 0 and Phase 1, and additionally update
moz.configure.

Differential Revision: https://phabricator.services.mozilla.com/D102420
2021-03-16 10:58:41 +00:00
Dimi Lee
43fbfae832 Bug 1166995 - P5. Add a preference to control whether to capture login when a form is removed r=sfoster,tgiles
Add preference `signon.formRemovalCapture.enabled`, default on

Depends on D106027

Differential Revision: https://phabricator.services.mozilla.com/D108426
2021-03-16 09:15:20 +00:00
Kershaw Chang
1f61223581 Bug 1697776 - Enable network.dns.use_https_rr_as_altsvc on nightly r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D108007
2021-03-16 08:50:09 +00:00
Ted Campbell
d7756b58fc Bug 1697904 - Stop using RelaxedAtomicBool type for js prefs. r=jandem
We seem to have cargo-culted this in from nearby gfx code, but since we read
prefs only during the spidermonkey prefs callback this is a bit silly. Note
that the Streams cases *do* make use of off-thread uses of the mirror
variable from within Gecko.

Differential Revision: https://phabricator.services.mozilla.com/D108127
2021-03-15 22:20:44 +00:00
Ted Campbell
1fa49c916e Bug 1697904 - Cleanup StaticPrefList.yaml formatting of javascript prefs. r=jandem
The top of the file has a clear formatting guide, so we should try to follow it.

Differential Revision: https://phabricator.services.mozilla.com/D108126
2021-03-15 22:20:44 +00:00
Ted Campbell
31cb93d51e Bug 1697904 - Migrate the JIT spectre mitigation prefs to StaticPrefs. r=jandem
To simplify this code, turns these prefs into unlisted prefs on MIPS
platforms since the JIT support is missing there. The JitOptions will
continue to default them to false on MIPS.

Differential Revision: https://phabricator.services.mozilla.com/D108107
2021-03-15 22:20:44 +00:00
Ted Campbell
002f610266 Bug 1697904 - Migrate more JIT prefs to StaticPrefs. r=jandem
Also relax the type on large_arraybuffers to plain bool since it is only read
once on startup.

Differential Revision: https://phabricator.services.mozilla.com/D108106
2021-03-15 22:20:43 +00:00
Ted Campbell
3c1cf4006c Bug 1697904 - Migrate JIT threshold prefs to StaticPrefs. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D108105
2021-03-15 22:20:43 +00:00
Ted Campbell
bccaebc8f0 Bug 1697904 - Migrate JIT-enable prefs to StaticPrefs. r=jandem,KrisWright
Mark these prefs as 'do_not_use_directly` to avoid confusion since they
should only be snapshotted once in `LoadStartupJSPrefs`. We cannot use the
`once` mirrors here since they are not available until after the
EnterprisePolicies code has ran and that itself uses javascript.

Differential Revision: https://phabricator.services.mozilla.com/D108104
2021-03-15 22:20:42 +00:00
Timothy Nikkel
deedd29802 Bug 1698642. Enable double tap to zoom on macOS in nightly only. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D108516
2021-03-15 20:58:33 +00:00
Dorel Luca
23ff88a47f Backed out changeset fbf677b3fb7e (bug 674371) on dev's request. 2021-03-15 22:45:17 +02:00
Kris Maglione
0d92b293c4 Bug 1697055: Enable non-native-theming for all users enrolled in the Fission experiment. r=nika,emilio
Differential Revision: https://phabricator.services.mozilla.com/D108253
2021-03-15 20:33:31 +00:00
Ted Campbell
0004fb8b5c Bug 1697954 - Remove unused javascript.options.showInConsole prefs r=marionette-reviewers,webdriver-reviewers,mossop,remote-protocol-reviewers,whimboo
This dates back to a time before the browser console where the normal content
console could optionally show chrome code messages. Today it serves no use.

Differential Revision: https://phabricator.services.mozilla.com/D108130
2021-03-15 19:50:41 +00:00
Narcis Beleuzu
526a5089c6 Backed out 4 changesets (bug 1678097) for bustages on XPCJSContext.cpp CLOSED TREE
Backed out changeset f3e0ba29ae46 (bug 1678097)
Backed out changeset 0c14d39bd01b (bug 1678097)
Backed out changeset 04cdd20e2557 (bug 1678097)
Backed out changeset 92b5e5f5b3f7 (bug 1678097)
2021-03-15 22:27:10 +02:00
Valentin Gosu
e9ae3a03ea Bug 1675542 - Add API to get the system DNS resolver IPs [windows] r=necko-reviewers,dragana
Depends on D96065

Differential Revision: https://phabricator.services.mozilla.com/D96084
2021-03-15 17:58:02 +00:00
sagudev
584e3b9e87 Bug 1696698 - Remove reader.parse-on-load.force-enabled pref. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D108353
2021-03-15 17:53:10 +00:00
Chris Martin
ae33288c2c 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-03-15 17:37:48 +00:00
Lars T Hansen
107c575f8d Bug 1678097 - Enable Ion for wasm on ARM64 (phase 1). r=lth.
In Phase 1, both Ion and Cranelift are available, and the default is switched
to Cranelift.  Use --wasm-force-ion or --wasm-compiler=ion at the shell to
select Ion, or make sure javascript.options.wasm_force_ion is true in
about:config.  Phase 1 is appropriate for fuzzing, after the patch set lands
in mozilla-central but before Ion is enabled by default.  The patch for Phase
1 will appear on bug 1678097 and will be very small, and MUST land with the
patch for Phase 0.

Differential Revision: https://phabricator.services.mozilla.com/D101867
2021-03-15 16:44:32 +00:00
Lars T Hansen
065c095849 Bug 1678097 - Enable Ion for wasm on arm64 without SIMD (phase 0). r=lth.
In Phase 0, both Cranelift and Ion are available on arm64, and Ion is the
default.  Use --wasm-force-cranelift or --wasm-compiler=cranelift at the shell
to select Cranelift, or set javascript.options.wasm_force_ion to false in
about:config.  Phase 0 is appropriate for developers, before the patch set
lands in mozilla-central and before SIMD is present.

In Phase 1, both compilers are still available, but the default is switched to
Cranelift.  Use --wasm-force-ion or --wasm-compiler=ion at the shell to select
Ion, or make sure javascript.options.wasm_force_ion is true in about:config.
Phase 1 is appropriate for fuzzing, after the patch set lands in
mozilla-central but before Ion is enabled by default.  The patch for Phase 1
will appear on bug 1678097 and will be very small, and MUST land with the
patch for Phase 0.

In Phase 0 and Phase 1, --wasm-compiler=cranelift and --wasm-compiler=ion are
both accepted, and do the expected thing.

In Phase 2, Cranelift becomes disabled in moz.configure and all the changes in
the present patch are removed again.  The patch for Phase 2 will appear on bug
1686626 and will revert Phase 0 and Phase 1, and additionally update
moz.configure.

Differential Revision: https://phabricator.services.mozilla.com/D102420
2021-03-15 16:44:30 +00:00
Gerald Squelart
f193604f7c Bug 1687631 - Enable CPU Utilization by default in the profilers - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D107598
2021-03-15 11:54:43 +00:00
Emilio Cobos Álvarez
678b10493d Bug 1698315 - Manage placeholder and autofill preview visibility using CSS rather than custom code. r=masayuki
Should be much simpler and doesn't need to deal with the different
stuff. We already have pseudo-classes for this, :autofill and
:placeholder-shown.

I initially wrote this because this is the only limitation that forces
us to have the placeholder text as a direct child of the text control
frame. In the end I kept that as-is, but this simplification is still
worth it.

We remove dom.placeholder.show_on_focus because it doesn't behave
correctly (it doesn't match the :placeholder-shown pseudo-class and it
should). It was introduced in bug 807613 and never turned to false by
default. I suspect nobody will miss this, but if somebody complains
about it we can reintroduce it properly (handling the pref in DOM
instead, changing the right state bits).

Differential Revision: https://phabricator.services.mozilla.com/D108304
2021-03-15 08:52:43 +00:00
Ted Campbell
787e85a561 Bug 1697935 - Remove unused javascript.options.spectre.object_mitigations.barriers pref. r=iain
The "barriers" here refered to type-barriers which no longer exist after
IonBuilder was removed so this pref is now dead. Also remove the .misc suffix
of the sibling pref.

Differential Revision: https://phabricator.services.mozilla.com/D108123
2021-03-13 16:46:57 +00:00
Timothy Nikkel
ca228427dd Bug 674371. Turn on the pref for double tap to zoom on mac. r=botond
Depends on D107389

Differential Revision: https://phabricator.services.mozilla.com/D107401
2021-03-13 08:24:02 +00:00
Bogdan Tara
5a7cb2592d Backed out 9 changesets (bug 1697935, bug 1697904) for assertion failure at StaticPrefList_layers.h and hardware acceleration related failures CLOSED TREE
Backed out changeset f37bc1afe77c (bug 1697904)
Backed out changeset 4aaab7a45b92 (bug 1697904)
Backed out changeset 87c31ed94b30 (bug 1697904)
Backed out changeset d9a650b603f5 (bug 1697904)
Backed out changeset c8680ade8ec5 (bug 1697904)
Backed out changeset 2b0048582dcf (bug 1697904)
Backed out changeset 09df3a61027d (bug 1697904)
Backed out changeset 17d4fbbd7a1e (bug 1697904)
Backed out changeset ddb46dad7605 (bug 1697935)
2021-03-13 04:47:57 +02:00
Ted Campbell
c4a537e166 Bug 1697904 - Stop using RelaxedAtomicBool type for js prefs. r=jandem
We seem to have cargo-culted this in from nearby gfx code, but since we read
prefs only during the spidermonkey prefs callback this is a bit silly. Note
that the Streams cases *do* make use of off-thread uses of the mirror
variable from within Gecko.

Differential Revision: https://phabricator.services.mozilla.com/D108127
2021-03-13 00:33:10 +00:00
Ted Campbell
d427d39af2 Bug 1697904 - Cleanup StaticPrefList.yaml formatting of javascript prefs. r=jandem
The top of the file has a clear formatting guide, so we should try to follow it.

Differential Revision: https://phabricator.services.mozilla.com/D108126
2021-03-13 00:33:10 +00:00
Ted Campbell
9f21666087 Bug 1697904 - Migrate the JIT spectre mitigation prefs to StaticPrefs. r=jandem
To simplify this code, turns these prefs into unlisted prefs on MIPS
platforms since the JIT support is missing there. The JitOptions will
continue to default them to false on MIPS.

Differential Revision: https://phabricator.services.mozilla.com/D108107
2021-03-13 00:33:09 +00:00
Ted Campbell
1cd5b3b30c Bug 1697904 - Migrate more JIT prefs to StaticPrefs. r=jandem
Also relax the type on large_arraybuffers to plain bool since it is only read
once on startup.

Differential Revision: https://phabricator.services.mozilla.com/D108106
2021-03-13 00:33:09 +00:00
Ted Campbell
2fddbf10e9 Bug 1697904 - Migrate JIT threshold prefs to StaticPrefs. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D108105
2021-03-13 00:33:08 +00:00
Ted Campbell
288af81e5b Bug 1697904 - Migrate JIT-enable prefs to StaticPrefs. r=jandem,KrisWright
Use 'mirror: once' for these prefs to make it clear they are only read again
after a restart.

Differential Revision: https://phabricator.services.mozilla.com/D108104
2021-03-13 00:33:08 +00:00
Ted Campbell
5298ae8882 Bug 1697935 - Remove unused javascript.options.spectre.object_mitigations.barriers pref. r=iain
The "barriers" here refered to type-barriers which no longer exist after
IonBuilder was removed so this pref is now dead. Also remove the .misc suffix
of the sibling pref.

Differential Revision: https://phabricator.services.mozilla.com/D108123
2021-03-13 00:33:07 +00:00
Emilio Cobos Álvarez
ccbc2fe63d Bug 1698175 - Add a pref for window.print to block. r=tsmith
Let me know if this doesn't work for your purposes.

Differential Revision: https://phabricator.services.mozilla.com/D108254
2021-03-12 22:45:46 +00:00
Micah Tigley
1bda33d163 Bug 1698133 - Enable layout.css.image-set.enabled in all channels. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D108222
2021-03-12 20:09:24 +00:00
Markus Stange
9f061ef34e Bug 1697331 - Add a pref called widget.macos.respect-system-appearance which defaults to false. false means "force aqua appearance". r=emilio
This patch also sets the Info.plist keys to <false/>, i.e. "we don't require aqua".

Differential Revision: https://phabricator.services.mozilla.com/D107749
2021-03-12 18:36:00 +00:00
Jonathan Kew
e9dbacf32b Bug 1342741 - Use Menlo as default monospace font on macOS. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D107286
2021-03-12 16:13:18 +00:00
Steve Fink
6e36aed705 Bug 1692308 - Add an initial delay to IdleTaskRunner r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D107504
2021-03-12 06:55:46 +00:00
Nick Alexander
0b77649773 Bug 1694515 - Part 1: Allow to parse prefs from data. r=KrisWright
This provides a simple API for parsing prefs from given bytes.  It's
important to not encode bytes as strings, since `libpref` is the
source of truth handling character encodings.  In particular, prefs
files are not necessarily UTF-8.

This API allows to read `prefs.js` from another profile directory, for
example.

Differential Revision: https://phabricator.services.mozilla.com/D107710
2021-03-12 04:08:41 +00:00
Timothy Nikkel
7d1fc30871 Bug 1696802. Add code to support double tap to zoom on mac. r=botond,mstange
We already have a pref for double tap to zoom with is already enabled by default so it's kind of awkward to add another pref.

Differential Revision: https://phabricator.services.mozilla.com/D107389
2021-03-12 02:10:36 +00:00
nsmoker
cde464b48d Bug 1614850 - Fixed a crash when enabling layers.progressive_paint on desktop and sandboxed platforms. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D107943
2021-03-12 00:32:01 +00:00
Emilio Cobos Álvarez
72b9dbf8f5 Bug 1697607 - Enable widget.remote-look-and-feel everywhere. r=cmartin,geckoview-reviewers,agi
(And add a missing include while at it)

The biggest concern here is potential startup time penalty (and it
shouldn't be much anyways, if at all). In exchange, we avoid doing a lot
of this work in content processes.

Let's keep an eye on for regressions, but this sticking allows us to
simplify a lot of the lookandfeel code in follow-ups.

Differential Revision: https://phabricator.services.mozilla.com/D107926
2021-03-11 21:20:54 +00:00
Christoph Kerschbaumer
39ef03a187 Bug 1691888: Break endless upgrade downgrade loops when using https-only r=necko-reviewers,valentin,JulianWels
Differential Revision: https://phabricator.services.mozilla.com/D106475
2021-03-11 18:02:27 +00:00
leli
bb2e8e2911 Bug 1665057 - Add www button on https-only error page r=ckerschb,JulianWels,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D101468
2021-03-11 17:10:06 +00:00
sotaro
94488f4809 Bug 1697715 - Change pref gfx.webrender.software.opengl to true on Android r=jnicol
On Android, we expect to use WebRender (Software OpenGL)"RenderCompositorOGLSWGL" instead of WebRender (Software)"RenderCompositorSWGL".

Differential Revision: https://phabricator.services.mozilla.com/D107969
2021-03-11 08:45:32 +00:00
Dana Keeler
ea07223ca1 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-03-10 17:06:00 +00:00
Bogdan Tara
446173458c Backed out 3 changesets (bug 1696176, bug 1342741) for test_nsIHTMLEditor_getSelectedElement.html and inert-retargeting-iframe.tentative.html failures CLOSED TREE
Backed out changeset 1154df798888 (bug 1342741)
Backed out changeset 02b69c938fbe (bug 1342741)
Backed out changeset a7ceef946175 (bug 1696176)
2021-03-10 17:06:26 +02:00
Andrew Osmond
47d38558c6 Bug 1697040 - Turn on Software WebRender for Windows popups with transparency in nightly and early beta. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D107759
2021-03-10 14:13:23 +00:00
Jonathan Kew
34c59ac722 Bug 1342741 - Use Menlo as default monospace font on macOS. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D107286
2021-03-10 13:48:46 +00:00
Eden Chuang
53093e432c Bug 1684139 - Adding mozilla specific wpt for timer nesting level in workers r=dom-worker-reviewers,asuth
This patch is developed from D104136#3396152.

This patch creates WorkerTestUtils.webidl under dom/webidl for testing workers with internal APIs. These APIs are exposed to workers only and controlled by dom.workers.testing.enabled pref.

This patch creates a Mozilla-specific web-platform test, testing/web-platform/mozilla/test/workers/worker_timer_nesting_level.html, to test the timer nesting level implementation for workers.

To simplify the test implementation, this patch does not implement the webidl under dom/chrome-webidl/ suggested by D104136#3396152.

Depends on D104136

Differential Revision: https://phabricator.services.mozilla.com/D105332
2021-03-10 12:35:46 +00:00
Eden Chuang
9d5c5e771a Bug 1684139 - Implement timer nesting level for workers r=dom-worker-reviewers,asuth
This patch implements the timer nesting level for workers according to https://html.spec.whatwg.org/#timer-initialisation-steps.

If the timer's nesting level is larger than 5 and the interval time is less than 4, the timer should be clamped to 4.

Differential Revision: https://phabricator.services.mozilla.com/D104136
2021-03-10 12:35:46 +00:00