Commit Graph

17764 Commits

Author SHA1 Message Date
Lars T Hansen
414fee387b Bug 1478632 - wasm simd, part 1: feature gating and related prep. r=rhunt
We add a configuration option for SIMD and apply ENABLE_WASM_SIMD
throughout the engine as appropriate, mostly to insert #error or
MOZ_CRASH where things need to be done in later patches or for
architectures that we won't currently consider.

We add a command line switch for the shell and an option for
about:config and plumb the value of this through the engine.

Differential Revision: https://phabricator.services.mozilla.com/D57940
2020-05-05 08:17:47 +00:00
Jan Varga
00dceeab95 Bug 1624802 - Add a pref for overriding storage name; r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D73142
2020-05-05 06:24:17 +00:00
Razvan Maries
2632be905a Backed out 6 changesets (bug 1630912) for build bustages on gfxAndroidPlatform.cpp. CLOSED TREE
Backed out changeset 21dc02bc12b9 (bug 1630912)
Backed out changeset 08a6a1f1c4c7 (bug 1630912)
Backed out changeset 108b1a07929b (bug 1630912)
Backed out changeset e202ddeb4e40 (bug 1630912)
Backed out changeset f7d9852a3d09 (bug 1630912)
Backed out changeset e6cd2ceab183 (bug 1630912)
2020-05-05 09:04:37 +03:00
Timothy Nikkel
aa7153cfe0 Bug 1630912. Create the necessary direct manipulation objects. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D71305
2020-05-04 15:26:39 +00:00
Timothy Nikkel
1c17aca02f Bug 1635243. Only use WS_EX_LAYERED | WS_EX_TRANSPARENT on the compositor window on nightly for now. r=sotaro
We haven't shipped direct manipulation yet so we don't need these and they still cause blank windows for a very small number of users.

Differential Revision: https://phabricator.services.mozilla.com/D73749
2020-05-05 01:39:57 +00:00
Matthew Gregan
7e495beecc Bug 1634658 - Make AudioIPC nightly-only for 32-bit Windows. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D73429
2020-05-04 23:58:27 +00:00
Dan Minor
d21d438d61 Bug 1625803 - Enable transport-cc extension for nightly and early beta; r=drno
Differential Revision: https://phabricator.services.mozilla.com/D73354
2020-05-04 04:22:26 +00:00
Narcis Beleuzu
d8c8b2edc9 Backed out changeset 48e305833f6a (bug 1625803) for mda failures on test_peerConnection_basicAudioVideoVerifyExtmap.html . CLOSED TREE 2020-05-04 00:25:15 +03:00
Dan Minor
583253bfa6 Bug 1625803 - Enable transport-cc extension for nightly and early beta; r=drno
Differential Revision: https://phabricator.services.mozilla.com/D73354
2020-05-03 20:27:30 +00:00
Jon Bauman
2db43533f3 Bug 1625363 - AVIF (AV1 Image File Format): experimental support. r=aosmond,necko-reviewers,valentin
There are many limitations currently, but this prototype should successfully
render most basic AVIF images. Known limitations:

- No support for any derived image items (crop, rotate, etc.)
- No support for alpha planes
- No support for ICC profiles (bug 1634741)
- The primary image item must be an av01 (no grid support)
- HDR images aren't tone-mapped

Differential Revision: https://phabricator.services.mozilla.com/D68498
2020-05-01 22:56:04 +00:00
Makoto Kato
b44fc070bb Bug 1631681 - Turn on inputmode attribute on release channel of GeckoView. r=geckoview-reviewers,smaug,snorp
`inputmode` attribute is used by software keyboard, so let's tun on this on
GeckoView at first.

Differential Revision: https://phabricator.services.mozilla.com/D72596
2020-05-01 13:53:55 +00:00
David Parks
cbf4e1a5cc Bug 1621762: Part 7 - Add IpdlQueue actor traits to WebGLParent/WebGLChild r=jgilbert,jld
Adds IpdlQueue capability to PWebGL actors.  The WebGLChild, used in content processes, implements SyncProducerActor and AsyncConsumerActor because it sends (sync and async) messages and receives responses to them that it reads as async messages.  The WebGLParent, used in the compositor process, is a SyncConsumerActor and AsyncProducerActor for dual reasons.

Differential Revision: https://phabricator.services.mozilla.com/D68264
2020-04-30 22:24:44 +00:00
Doug Thayer
a62f246df0 Bug 1630655 - Ensure PreferencesWriter::Flush actually flushes r=njn
I'm not positive that the intended behavior of PreferencesWriter::Flush
is to ensure that any pending writes to the preferences file are
completed, but that seems like what it ought to be for, and it does
not look water-tight. For one, adding a sync runnable to a thread pool
will not ensure that any previously submitted runnables have completed
by the time it returns. And two, the exchange on sPendingWriteData only
guarantees that the write has started.

This change simply ensures that the write to disk has been completed
before returning.

Differential Revision: https://phabricator.services.mozilla.com/D72016
2020-04-24 23:56:02 +00:00
Johann Hofmann
9e7802dc15 Bug 1632417 - Enable cookie purging by default in early beta. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D73148
2020-04-30 13:55:20 +00:00
Benjamin Bouvier
675cdfa277 Bug 1618595: Disable Cranelift on aarch64 when reftypes are enabled; r=lth,perftest-reviewers,sparky
This requires adding a new JSOptions field (for internal use within the shell),
as well as a new browser pref (to support possible Cranelift benchmarking on
aarch64).

Differential Revision: https://phabricator.services.mozilla.com/D72907
2020-04-30 11:55:13 +00:00
Jean-Yves Avenard
53348018c5 Bug 1632098 - P3. Enable the ParentProcessDocumentChannel. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D72297
2020-04-30 10:05:52 +00:00
Rob Wu
3ba1eb1532 Bug 1620621 - Implement blocklist stashing behind pref r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D72890
2020-04-30 10:02:39 +00:00
Rob Wu
1d728dfd87 Bug 1620621 - Add bloomfilter-based blocklist for addons r=Gijs,aswan
NOTE: This commit does not yet include a dump of the RemoteSettings
collection and attachment. This will be added in the near future.

Differential Revision: https://phabricator.services.mozilla.com/D72418
2020-04-30 10:02:32 +00:00
Razvan Maries
c92da124b3 Backed out 8 changesets (bug 1620621) for build bustages. CLOSED TREE
Backed out changeset 14a57e32c414 (bug 1620621)
Backed out changeset 56b2b19a9bc1 (bug 1620621)
Backed out changeset 6df42b7528ec (bug 1620621)
Backed out changeset c23703684254 (bug 1620621)
Backed out changeset 206ad824e1bc (bug 1620621)
Backed out changeset e0f3e057b311 (bug 1620621)
Backed out changeset 12817823a3c9 (bug 1620621)
Backed out changeset 80dcb089ce8e (bug 1620621)
2020-04-30 12:29:30 +03:00
Rob Wu
978c90cbf6 Bug 1620621 - Implement blocklist stashing behind pref r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D72890
2020-04-30 02:48:30 +00:00
Rob Wu
5047bb6dea Bug 1620621 - Add bloomfilter-based blocklist for addons r=Gijs,aswan
NOTE: This commit does not yet include a dump of the RemoteSettings
collection and attachment. This will be added in the near future.

Differential Revision: https://phabricator.services.mozilla.com/D72418
2020-04-30 02:48:35 +00:00
Jon Coppeard
72eac88fe9 Bug 1633752 - Calculate non-incremental threshold based on heap size and increase it for smaller heaps r=sfink
This adds a splits the non-incremental threshold parameter into one for small heaps and one for large.  What counts as large and small are controlled by the existing parameters that were previously used for dynamic heap growth.  I also renamed the parameter from "non-incremental threshold" to "incremental limit".

The small heap parameter is increased to 1.4.  This avoids non-incremental GC on facebook and reddit as reported in the dependent bugs and allows us to remove the splay latency hack that was previously necessary.

Differential Revision: https://phabricator.services.mozilla.com/D72903
2020-04-29 07:45:19 +00:00
Jon Coppeard
d92a182d73 Bug 1633457 - Rename some GC parameters for clarity r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D73012
2020-04-29 21:54:22 +00:00
Razvan Maries
668381a470 Backed out changeset 8cb47e0e268d (bug 1625363) for causing gtest failures at ImageDecoders.AVIFSingleChunk. CLOSED TREE 2020-04-30 08:26:53 +03:00
Jon Bauman
601b2f5365 Bug 1625363 - AVIF (AV1 Image File Format): experimental support. r=aosmond,necko-reviewers,valentin
There are many limitations currently, but this prototype should successfully
render most basic AVIF images. Known limitations:

- No support for any derived image items (crop, rotate, etc.)
- No support for alpha planes
- The primary image item must be an av01 (no grid support)
- HDR images aren't tone-mapped

Differential Revision: https://phabricator.services.mozilla.com/D68498
2020-04-30 01:31:17 +00:00
Daniel Varga
452acadb3b Backed out 7 changesets (bug 1621762) for causing build bustages at builds/worker/workspace/obj-build/dist/include/mozilla/dom/ProducerConsumerQueue.h
CLOSED TREE

Backed out changeset 03903e8f368e (bug 1621762)
Backed out changeset 21ef72486643 (bug 1621762)
Backed out changeset 70d103786c83 (bug 1621762)
Backed out changeset a3e1332998c3 (bug 1621762)
Backed out changeset 010f653b87d2 (bug 1621762)
Backed out changeset 0496adcb4582 (bug 1621762)
Backed out changeset 8d85420fd2e6 (bug 1621762)
2020-04-30 06:06:33 +03:00
David Parks
053f3b98ca Bug 1621762: Part 7 - Add IpdlQueue actor traits to WebGLParent/WebGLChild r=jgilbert,jld
Adds IpdlQueue capability to PWebGL actors.  The WebGLChild, used in content processes, implements SyncProducerActor and AsyncConsumerActor because it sends (sync and async) messages and receives responses to them that it reads as async messages.  The WebGLParent, used in the compositor process, is a SyncConsumerActor and AsyncProducerActor for dual reasons.

Differential Revision: https://phabricator.services.mozilla.com/D68264
2020-04-30 01:56:55 +00:00
Dorel Luca
58186c88dc Backed out 8 changesets (bug 1620621) for XPCshell failures in xpcshell/rs-blocklist/test_blocklist_mlbf_fetch.js
Backed out changeset 06fccc75c09e (bug 1620621)
Backed out changeset 8b4e286967c0 (bug 1620621)
Backed out changeset cfde27a748fd (bug 1620621)
Backed out changeset 7abf836343be (bug 1620621)
Backed out changeset 1a28d1de8f76 (bug 1620621)
Backed out changeset 90c08438be0a (bug 1620621)
Backed out changeset 723a3b4e7bbf (bug 1620621)
Backed out changeset bbc991f09d5d (bug 1620621)
2020-04-30 05:44:28 +03:00
Rob Wu
986f0753c6 Bug 1620621 - Implement blocklist stashing behind pref r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D72890
2020-04-30 00:33:39 +00:00
Rob Wu
03ec908820 Bug 1620621 - Add bloomfilter-based blocklist for addons r=Gijs,aswan
NOTE: This commit does not yet include a dump of the RemoteSettings
collection and attachment. This will be added in the near future.

Differential Revision: https://phabricator.services.mozilla.com/D72418
2020-04-29 23:08:15 +00:00
Nicholas Nethercote
00c92b3d71 Bug 1632279 - Disallow default pref definitions in user pref files. r=KrisWright
We distinguish between two kinds of pref syntax.
- "Default pref files" are the ones that come with Firefox, constructed from
  `all.js` and similar files.
- "User pref files" are the ones that get created in the user's profile.
  `prefs.js` is the one that Firefox creates and overwrites every time a pref
  changes. `user.js` is the one that users can create themselves.

We also have two basic kinds of pref.
- Default: `pref(...)` and the unfortunate `sticky_pref(...)`.
- User: `user_pref(...)`, which override but don't replace the default.

It only makes sense for user pref files to contain user prefs; users shouldn't
be able to create default prefs or change default pref values.

But it turns out that user pref files have been able to define default prefs
pretty much forever. This appears to be an oversight, and this commit restricts
things so that user pref files cannot contain default prefs.

The commit also fixes an incorrect comment in testParser.js.

Differential Revision: https://phabricator.services.mozilla.com/D73003
2020-04-29 21:47:12 +00:00
owlishDeveloper
53e87dce1e Bug 1626687 - Do not handle data URIs larger than 2M on mobile r=necko-reviewers,geckoview-reviewers,valentin,snorp
Differential Revision: https://phabricator.services.mozilla.com/D72955
2020-04-29 18:07:39 +00:00
Kris Maglione
f7e694f8cc Bug 1630691: Part 2 - Get rid of the "dom.mozBrowserFramesEnabled" pref. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D71227
2020-04-29 19:29:11 +00:00
Julian Descottes
6bd74b87a0 Bug 1630228 - Basic implementation to disable F12 until toolbox opens r=nchevobbe
In this changeset, we add a preference that will simply disable F12 when it is set.
UI and tests are in followup patches

Differential Revision: https://phabricator.services.mozilla.com/D71035
2020-04-29 06:34:22 +00:00
Bogdan Tara
606f9e2e6c Backed out changeset 9804951497f9 (bug 1625363) for bustages complaining about nsAVIFDecoder.cpp CLOSED TREE 2020-04-29 19:46:12 +03:00
Jon Bauman
1c60246bba Bug 1625363 - AVIF (AV1 Image File Format): experimental support. r=aosmond,necko-reviewers,valentin
There are many limitations currently, but this prototype should successfully
render most basic AVIF images. Known limitations:

- No support for any derived image items (crop, rotate, etc.)
- No support for alpha planes
- The primary image item must be an av01 (no grid support)
- HDR images aren't tone-mapped

Differential Revision: https://phabricator.services.mozilla.com/D68498
2020-04-29 16:30:54 +00:00
Bogdan Tara
6f459fe2a4 Backed out changeset 9b71539e316f (bug 1632098) for formautofill mochitest failures CLOSED TREE 2020-04-29 19:21:50 +03:00
julianwels
00925bd53b Bug 1631384 - Added upgrade exceptions for HTTPS Only Mode. r=ckerschb,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D72002
2020-04-29 15:52:19 +00:00
Miko Mynttinen
b29ddae63b Bug 1633842 - Enable WR item cache r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D72924
2020-04-29 13:21:52 +00:00
Jean-Yves Avenard
f94fa62011 Bug 1632098 - P3. Enable the ParentProcessDocumentChannel. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D72297
2020-04-29 13:51:19 +00:00
Kartikaya Gupta
cb79050579 Bug 1633451 - Re-disable synthetic mousemoves on Android. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D72691
2020-04-29 13:44:11 +00:00
Bogdan Tara
fe228746b1 Backed out changeset 8e7b6ae8e18d (bug 1631384) for browser_upgrade_exceptions.js failure CLOSED TREE 2020-04-29 13:32:29 +03:00
julianwels
b9779446da Bug 1631384 - Added upgrade exceptions for HTTPS Only Mode. r=ckerschb,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D72002
2020-04-29 09:25:54 +00:00
Matt Woodrow
33a15190f6 Bug 1602318 - Enable parent initiated loads pref. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D72232
2020-04-26 06:09:05 +00:00
Narcis Beleuzu
c6a90c4273 Backed out 5 changesets (bug 1630228) for bc failures on browser_startup_images.js . CLOSED TREE
Backed out changeset 92172b9cef6b (bug 1630228)
Backed out changeset 8a9c30923847 (bug 1630228)
Backed out changeset 11f6beab6bdf (bug 1630228)
Backed out changeset f9e6d07f3a90 (bug 1630228)
Backed out changeset ae64b5ffc3b5 (bug 1630228)
2020-04-29 02:20:52 +03:00
Julian Descottes
7642daff2c Bug 1630228 - Basic implementation to disable F12 until toolbox opens r=nchevobbe
In this changeset, we add a preference that will simply disable F12 when it is set.
UI and tests are in followup patches

Differential Revision: https://phabricator.services.mozilla.com/D71035
2020-04-28 20:09:15 +00:00
Narcis Beleuzu
37816e1802 Backed out changeset 3b73e8e74ebf (bug 1633451) for wpt failure on pointerevent_lostpointercapture_for_disconnected_node_in_shadow_dom.html . CLOSED TREE 2020-04-28 23:15:17 +03:00
Kartikaya Gupta
a6055fcad3 Bug 1633451 - Re-disable synthetic mousemoves on Android. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D72691
2020-04-28 17:50:39 +00:00
Valentin Gosu
eacca87c9e Bug 1633567 - Re-enabled AppCache by backing out bug 1619673 (changeset f28b42617940) r=mayhemer
The new plan is to disable it in Firefox 79

🙁

Differential Revision: https://phabricator.services.mozilla.com/D72753
2020-04-28 15:34:49 +00:00
Martin Stransky
97ba87adb1 Bug 1632519 [Wayland] Turn off widget.wayland_vsync.enabled by default, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D72813
2020-04-28 14:58:32 +00:00