Commit Graph

17753 Commits

Author SHA1 Message Date
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
Jon Coppeard
3f616ab772 Bug 1633405 - Remove dynamic GC options that are enabled everywhere r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D72696
2020-04-28 07:59:47 +00:00
Noemi Erli
ccaad0ebc4 Backed out changeset 1fc50aa5c6bc (bug 1633405) for causing bustages in bigint.js CLOSED TREE 2020-04-28 13:49:51 +03:00
Emilio Cobos Álvarez
a1db8a1f5c Bug 1632765 - Turn on some more :visited privacy mitigations. r=mak
We couldn't turn these on before because of perf regressions, but after bug
1626586 perf looks pretty neutral.

Differential Revision: https://phabricator.services.mozilla.com/D72301
2020-04-27 20:22:11 +00:00
Jon Coppeard
896414dfa7 Bug 1633405 - Remove dynamic GC options that are enabled everywhere r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D72696
2020-04-28 07:59:47 +00:00
Mats Palmgren
12bca02735 Bug 1607954 part 1 - [css-grid][css-align] Implement style system support for Masonry layout. r=emilio
This implements support for this CSS Masonry layout proposal:
https://github.com/w3c/csswg-drafts/issues/4650

I've intentionally left out a shorthand (place-tracks?) for now until
we have a draft CSS spec for this.

Differential Revision: https://phabricator.services.mozilla.com/D67061
2020-04-28 01:18:44 +00:00
Andreea Pavel
5d6ba63743 Backed out changeset 7b5f7ee72a6c (bug 1631384) for failing bc at browser_upgrade_exceptions.js on a CLOSED TREE 2020-04-28 01:43:57 +03:00
julianwels
9b9cb82ccc Bug 1631384 - Added upgrade exceptions for HTTPS Only Mode. r=ckerschb,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D72002
2020-04-27 17:23:43 +00:00
Edgar Chen
ff8dabe37a Bug 1633388 - Convert full-screen-api.pointer-lock.enabled pref to static pref; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D72650
2020-04-27 19:15:29 +00:00
Razvan Maries
06f153f86a Backed out changeset 29e132824d37 (bug 1632765) for Reftest failures. CLOSED TREE 2020-04-27 23:18:53 +03:00
Jan-Ivar Bruaroey
4c6caa0c3d Bug 1624181 - Omit getDisplayMedia() function on android to aid feature detection. r=dminor,snorp,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D72030
2020-04-27 15:05:29 +00:00
Emilio Cobos Álvarez
af812f0fd9 Bug 1632765 - Turn on some more :visited privacy mitigations. r=mak
We couldn't turn these on before because of perf regressions, but after bug
1626586 perf looks pretty neutral.

Differential Revision: https://phabricator.services.mozilla.com/D72301
2020-04-27 16:10:04 +00:00