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

18461 Коммитов

Автор SHA1 Сообщение Дата
Severin 85f182245d Bug 1659860 - pref on pmgr doorhanger updates in non-nightly;r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D87519
2020-08-19 17:34:04 +00:00
Emilio Cobos Álvarez f04cda9679 Bug 1602410 - Make window.print() work with tab-modal printing. r=nika,geckoview-reviewers,agi
Do this by spinning the event loop until we've done the clone for
preview as appropriate.

This should be much less risky than finishing the previous patches
which would still be nice, but realistically landing them for 81 is not
going to happen.

This just returns without doing nothing in a couple cases, like when
there's already another modal dialog or such. That seems acceptable to
me, it's not clear what better way to do would be.

Differential Revision: https://phabricator.services.mozilla.com/D87484
2020-08-19 09:27:18 +00:00
Brendan Dahl 27fda4eb28 Bug 1652145 - Only enable PDF forms for early beta or earlier. r=bgrins
To keep PDFJS's mechanism to setup default prefs from overriding values
defined in all.js, I had to add a check to see if the pref is already
defined.

Differential Revision: https://phabricator.services.mozilla.com/D87009
2020-08-18 21:20:55 +00:00
Noemi Erli e6871ebf4b Backed out changeset 25f0521ab3a1 (bug 1654459) for causing reftest crash in webgl-color-test.html CLOSED TREE 2020-08-19 02:40:31 +03:00
Jeff Gilbert 124295a23f Bug 1654459 - Default webgl.enable-surface-texture to true. r=snorp
This should match the previous behavior where non-parent processes
ignored the pref and used surface textures.

Differential Revision: https://phabricator.services.mozilla.com/D84476
2020-08-18 19:00:58 +00:00
Nika Layzell c9967fb452 Bug 1614524 - Part 3: Add a fission.remoteObjectEmbed pref, r=mattwoodrow
With these changes, there are still a number of test failures when remote
object/embed is enabled, due to svg sizing and resource timing tests. In order
to land these changes before those features are fixed, it will be placed behind
a pref.

Differential Revision: https://phabricator.services.mozilla.com/D86582
2020-08-18 16:49:45 +00:00
Jon Coppeard 911a5d3265 Bug 1657850 - Add prefs to control how many background threads are used for GC r=sfink
This adds a thread count for GC parallel tasks calculated from GC parameters
for a helper thread ratio and max helper thread count. It also adds one to
report the number of helper threads used for GC.

This is slightly complicated by the fact that the helper thread system is
per-process and there are potentially many JS runtimes in a process. I
disallowed setting these parameters from workers (i.e. child JS runtimes), but
there may be more than one non-worker JS runtime so this isn't perfect.

I had to swap the mutex order for the GC and helper thread locks.  Whatever
reason they were the other way round seems to have gone and this order makes
more sense to me (I see the GC lock as being 'coarser' than the helper thread
lock).

Differential Revision: https://phabricator.services.mozilla.com/D86725
2020-08-18 15:38:24 +00:00
Andrew McCreight 8fc99bb917 Bug 1659567 - Add a memory reporter for gAccessCounts. r=froydnj
This table is only in debug builds, but it takes up about 100kb,
so it sticks out in DMD reports taken in debug builds.

Differential Revision: https://phabricator.services.mozilla.com/D87347
2020-08-18 13:15:41 +00:00
Zeke Medley a591e69aa0 Bug 1591204 - Support forced colors media feature r=emilio
Enabled behind layout.css.forced-colors.enabled pending finalization
of the spec:

<https://drafts.csswg.org/mediaqueries-5/#forced-colors>

Differential Revision: https://phabricator.services.mozilla.com/D87147
2020-08-17 20:50:49 +00:00
Kartikaya Gupta 0d3746726f Bug 1418822 - Make mousewheel scrolling feel faster. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D87336
2020-08-17 19:51:44 +00:00
Shinichi Morimoto bc916f4b16 Bug 1659265 - remove layout.css.offset-logical-properties.enabled. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D87297
2020-08-17 17:51:31 +00:00
Denis Palmeiro efbb2a494a Bug 1659483 - Re-enable speculative JS parsing r=bas
Enable speculative JS parsing of external scripts as soon as they are fetched.

Differential Revision: https://phabricator.services.mozilla.com/D87299
2020-08-17 15:59:00 +00:00
Andrea Marchesini 6b8618a091 Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-17 09:55:56 +00:00
Bogdan Tara 694be205aa Backed out 4 changesets (bug 1658878) for blob related leaks CLOSED TREE
Backed out changeset 0288ef9ab65b (bug 1658878)
Backed out changeset a5af0e097560 (bug 1658878)
Backed out changeset 33c4b81f99a1 (bug 1658878)
Backed out changeset 16a33c7b4ff3 (bug 1658878)
2020-08-14 22:41:05 +03:00
Andrea Marchesini 8d8dfa8e36 Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-14 17:39:14 +00:00
Mihai Alexandru Michis 33c1daa575 Backed out 4 changesets (bug 1658878) for causing failures in browser_blobURLIsolation.js
CLOSED TREE

Backed out changeset f69f80e5659f (bug 1658878)
Backed out changeset 20401a2adaa6 (bug 1658878)
Backed out changeset a8620aecc29f (bug 1658878)
Backed out changeset 3609760c1e5d (bug 1658878)
2020-08-14 19:55:25 +03:00
Andrea Marchesini 2175d60f4a Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-14 15:57:02 +00:00
Kartikaya Gupta f9cb765956 Bug 1658919 - Disable one-touch-pinch on desktop. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D86959
2020-08-14 15:51:18 +00:00
Adam Vandolder c9aad0c1b1 Bug 1435826 - Add pref for private methods. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D86556
2020-08-14 14:11:02 +00:00
Lars T Hansen 9e2ed30feb Bug 1657374 - flip flags for wasm simd. r=rhunt
This should be enough to enable wasm simd on x86/x64 in all channels, but
leave it preffed-off on non-nightly.

Differential Revision: https://phabricator.services.mozilla.com/D86822
2020-08-14 12:30:43 +00:00
alwu 7bb8aecf0c Bug 1648100 - enable media control by default. r=chunmin
We're going to enable media control on Fx81.

Differential Revision: https://phabricator.services.mozilla.com/D86991
2020-08-13 21:49:01 +00:00
Csoregi Natalia c9c139cfd7 Backed out changeset fb664f6d43ed (bug 1657850) for failures on helper-thread-params.js. CLOSED TREE 2020-08-13 21:41:13 +03:00
Jon Coppeard df6a3dabdf Bug 1657850 - Add prefs to control how many background threads are used for GC r=sfink
This adds a thread count for GC parallel tasks calculated from GC parameters
for a helper thread ratio and max helper thread count. It also adds one to
report the number of helper threads used for GC.

This is slightly complicated by the fact that the helper thread system is
per-process and there are potentially many JS runtimes in a process. I
disallowed setting these parameters from workers (i.e. child JS runtimes), but
there may be more than one non-worker JS runtime so this isn't perfect.

I had to swap the mutex order for the GC and helper thread locks.  Whatever
reason they were the other way round seems to have gone and this order makes
more sense to me (I see the GC lock as being 'coarser' than the helper thread
lock).

Differential Revision: https://phabricator.services.mozilla.com/D86725
2020-08-13 17:35:04 +00:00
Dragana Damjanovic ef7dd9d933 Bug 1658362 - Add a pref to set alt-svc mapping artificially for testing. r=JuniorHsu,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86589
2020-08-13 12:12:49 +00:00
Butkovits Atila 3bac4b3e76 Backed out changeset d5bcf55ffab1 (bug 1658362) for failure at browser_networkIsolation.js. CLOSED TREE 2020-08-12 22:38:00 +03:00
Dragana Damjanovic 0f735857f4 Bug 1658362 - Add a pref to set alt-svc mapping artificially for testing. r=JuniorHsu,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86589
2020-08-12 18:23:13 +00:00
Bogdan Tara d7f1417ce1 Backed out changeset 475139fa091b (bug 1658362) for test_altsvc_pref.js failures CLOSED TREE 2020-08-12 14:36:12 +03:00
Emilio Cobos Álvarez 0c03ba166c Bug 1658471 - Remove dom.security.featurePolicy.enabled. r=baku
We've shipped it on by default since 74 (bug 1617219).

Differential Revision: https://phabricator.services.mozilla.com/D86665
2020-08-12 10:57:04 +00:00
Dragana Damjanovic 32c60292ff Bug 1658362 - Add a pref to set alt-svc mapping artificially for testing. r=JuniorHsu,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86589
2020-08-12 10:11:43 +00:00
Emilio Cobos Álvarez b20e708214 Bug 561154 - Implement :-moz-any() as an alias of :is(). r=heycam
This is strictly better and more flexible, but can change specificity so
have a pref in case it causes trouble. I doubt it will though, the
specificity rules of :is() make more sense, and my gut feeling is that
:-moz-any is not very used on the wild.

Make it early-beta-or-earlier for now to minimize risk, once this is on
nightly for a bit we can enable it everywhere.

Differential Revision: https://phabricator.services.mozilla.com/D86696
2020-08-12 04:26:07 +00:00
Valentin Gosu f901db3225 Bug 1657897 - Remove code that bypasses TRR when platform indications are triggered r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86367
2020-08-11 13:51:56 +00:00
Emilio Cobos Álvarez d276a931b8 Bug 1658525- Remove layout.css.comparison-functions.enabled. r=xidorn
Shipped since FF75 (bug 1519519).

Differential Revision: https://phabricator.services.mozilla.com/D86693
2020-08-11 10:27:42 +00:00
Emilio Cobos Álvarez 2a82d607c5 Bug 1658470 - Remove layout.css.is-where-selectors.enabled. r=heycam
Shipped since 78 (bug 1632646).

Differential Revision: https://phabricator.services.mozilla.com/D86662
2020-08-11 05:54:22 +00:00
Emilio Cobos Álvarez 906c1a7801 Bug 1658470 - Remove layout.css.shadow-parts.enabled. r=heycam
Shipped since 72 (bug 1559074).

Differential Revision: https://phabricator.services.mozilla.com/D86661
2020-08-11 05:54:17 +00:00
Valentin Gosu 5e3e1f6296 Bug 1651672 - Clear and remove DataStorageClass::TRRBlacklist r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86520
2020-08-10 09:46:32 +00:00
Martin Stransky 432226521b Bug 1657747 [Wayland] Remove DMABuf backend from SW compositor, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D86342
2020-08-08 08:50:29 +00:00
Nils Ohlmeier [:drno] ebae43cc9b Bug 1657808: Keep DTLS 1.0 in Release and restrict DTLS 1.3 to Nightly. r=dminor DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D86295
2020-08-07 13:53:13 +00:00
Martin Stransky cb686587cd Bug 1645678 [Wayland] Use DRM display for VA-API decoding by default, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D86331
2020-08-07 10:29:27 +00:00
Simon Giesecke 1e02318b49 Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D83817
2020-08-07 07:49:47 +00:00
Emma Malysz 18fe337c0c Bug 1657161, enable print.tab_modal.enabled for EARLY_BETA_OR_EARLIER and hide page range section r=mstriemer,fluent-reviewers,preferences-reviewers,flod
We want this to be turned on for nightly users by default. The page range is still a WIP,
so we should hide that section for now.
This also adds the pref to the "Nightly Experiment" panel, turned on by default.

Differential Revision: https://phabricator.services.mozilla.com/D85907
2020-08-06 23:02:13 +00:00
alwu 96afc7c19e Bug 1657224 - add a pref to control stopping media after media reaches to the end. r=chunmin
In bug1654045, we would stop controlling media once media reaches to the end. Considering some user might still want to control media by pressing media keys even if it has ended, so adding a pref to control this abilitiy.

Differential Revision: https://phabricator.services.mozilla.com/D85930
2020-08-05 23:12:16 +00:00
alwu 405d662683 Bug 1657223 - turn off deactivation timer by default. r=chunmin
The deactivation timer introduces an uncertainty of when user can control media, but instead of removing that, I want to add a pref to control it and disable it by default because I can still think of some benefit of this ability.

Differential Revision: https://phabricator.services.mozilla.com/D85928
2020-08-05 23:09:21 +00:00
Emilio Cobos Álvarez aed60cdf61 Bug 1657402 - Turn webgl.enable-debug-renderer-info into a static pref. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D86036
2020-08-05 17:43:20 +00:00
Kartikaya Gupta 49188d37ad Bug 1657316 - Fix variable used for nightly build selection. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D86005
2020-08-05 13:43:18 +00:00
Sonia Singla 7e4a582215 Bug 1528649 - Remove the context parameter from nsInputStreamPump::AsyncRead. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D85154
2020-08-05 11:21:51 +00:00
John Dai 7e2fb3fe0d Bug 1556342 - Implement customElements.define's form-associated; r=edgar,smaug
Differential Revision: https://phabricator.services.mozilla.com/D85734
2020-08-05 09:35:56 +00:00
Kartikaya Gupta 46f0d532dc Bug 1620055 - Turn on allow_zooming on nightly desktop builds. r=ktaeleman
Differential Revision: https://phabricator.services.mozilla.com/D85432
2020-08-04 17:21:38 +00:00
Anny Gakhokidze c6ab9b6229 Bug 1654922 - Part 5: Remove DocumentChannel pref from the pref list, r=mattwoodrow
Depends on D85486

Differential Revision: https://phabricator.services.mozilla.com/D85487
2020-07-30 23:25:23 +00:00
Noemi Erli 37e7a2569c Backed out 3 changesets (bug 1620055, bug 1621740) for causing leaks (DManipEventHandler)
Backed out changeset 4ed6ec0c8220 (bug 1620055)
Backed out changeset bb406c0968c5 (bug 1621740)
Backed out changeset a816301284e6 (bug 1621740)
2020-08-04 05:11:54 +03:00
Matt Woodrow 553c2d162d Bug 1653409 - Upload software decoded video directly to IOSurface on OSX. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D85105
2020-08-04 01:18:14 +00:00
Kartikaya Gupta ba116b41d6 Bug 1620055 - Turn on allow_zooming on nightly desktop builds. r=ktaeleman
Depends on D85431

Differential Revision: https://phabricator.services.mozilla.com/D85432
2020-07-30 19:06:28 +00:00
Chris Peterson 6df09f9c4c Bug 1656285 - libmar: Avoid clobbering ftello() and fseeko() declarations in MinGW's stdio.h. r=mhowell
Include stdio.h before redefining ftello and fseeko to avoid clobbering the ftello() and fseeko() function declarations in MinGW's stdio.h.

I don't know why my change to compile libmar as C11 (bug 1653182) caused this ftello/fseeko problem. From my inspection of MinGW's stdio.h, this problem should have already been happening!

Differential Revision: https://phabricator.services.mozilla.com/D85665
2020-08-03 16:05:49 +00:00
Randall E. Barker 808998e1f4 Bug 1656289 - Enable EME for all GeckoView builds. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D85426
2020-08-01 06:49:55 +00:00
Hiroyuki Ikezoe e6f2eaccfd Bug 1656418 - Enable partial prerender on Nightly. r=botond,boris
Differential Revision: https://phabricator.services.mozilla.com/D85550
2020-08-02 22:56:22 +00:00
Mihai Alexandru Michis 532d39f4a4 Backed out changeset b119f2d9cd45 (bug 1656418) for causing reftest failures in layout/reftests/bugs/1078262-1.html
CLOSED TREE
2020-08-01 21:47:12 +03:00
Hiroyuki Ikezoe 41be162396 Bug 1656418 - Enable partial prerender on Nightly. r=botond,boris
Differential Revision: https://phabricator.services.mozilla.com/D85550
2020-08-01 09:57:22 +00:00
Julien Cristau fcf34cb572 Bug 1656253 - disable security.bad_cert_domain_error.url_fix_enabled in late beta and release. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D85571
2020-07-31 19:14:31 +00:00
Emilio Cobos Álvarez 1c6be9d4fb Bug 1655859 - Unship ::-moz-focus-outer in all channels. r=boris
It was disabled on nightly in bug 1636998. It does nothing anymore.

There's no regression known and I'm hoping we can get rid of it.

Differential Revision: https://phabricator.services.mozilla.com/D85208
2020-07-31 21:14:58 +00:00
Kartikaya Gupta 668d788bfd Bug 1656071 - Record profiler stats into captures to assist with debugging talos regressions. r=kvark
This adds a profiler-stats.txt file to captures that dumps the profiler
stats, if those are being recorded. They get recorded if the profiler is
visible, or if the (newly added) PROFILER_CAPTURE debug option is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D85592
2020-07-31 18:53:56 +00:00
Butkovits Atila 9f220fdcc4 Backed out changeset 0d50962a0bb9 (bug 1656071) for wrench failures. CLOSED TREE 2020-07-31 20:50:31 +03:00
Kartikaya Gupta 4e09d8469b Bug 1656071 - Record profiler stats into captures to assist with debugging talos regressions. r=kvark
This adds a profiler-stats.txt file to captures that dumps the profiler
stats, if those are being recorded. They get recorded if the profiler is
visible, or if the (newly added) PROFILER_CAPTURE debug option is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D85592
2020-07-31 16:48:34 +00:00
Zeke Medley dc8e84e2d4 Bug 546052 - Add parsing for cross-fade from CSS Image Values and Replaced Content Module Level 4 r=emilio
This is the first of what will likely be a couple patches for
cross-fade's implementation. Bug 546052 tracks it's complete
implementation.

Differential Revision: https://phabricator.services.mozilla.com/D81889
2020-07-31 16:11:38 +00:00
Nika Layzell 3b8fc2b4eb Bug 1652144 - Part 3: Add tests for webIsolated counts over 1, r=farre
This patch also unlocks the pref which was locked in bug 1626096, as it's no
longer an issue.

Differential Revision: https://phabricator.services.mozilla.com/D84062
2020-07-30 20:27:39 +00:00
Robert Mader c80d09e4de Bug 1617002 - Rework GTK opaque region handling. r=stransky
* always update the opaque region if the toplevel window allocation
changes - this fixes opaque regions on X11 with WR and OGL renderers,
as GTK resets the opaque region in this case. The previous solution
was modeled similar to what's done on Windows - we have to follow GTK
though.
 * use `gdk_window_set_opaque_region` also for Wayland - this fixes
occasional glitches where the opaque region was not properly updated.
Let GTK handle that instead, as it has better control of the internals.
 * remove a failed attempt to work around bug 1615098 from
MozContainerWayland
 * repurpose `widget.wayland.use-opaque-region` for subsurface opaque
regions and disable it by default. We want to enable it again eventually
and not all Wayland compositors suffer from bug 1615098
 * some cleanups - some optimizations should not be needed anymore now

Unfortunately this does not cover the classic title bar yet - that will
need to be done in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D84024
2020-07-30 18:28:42 +00:00
Stephen A Pohl 09651af1bd Bug 1640195: Address UX feedback for non-native widget styling. r=geckoview-reviewers,emilio,agi
Differential Revision: https://phabricator.services.mozilla.com/D76509
2020-07-30 17:02:02 +00:00
Dragana Damjanovic d16e97fa44 Bug 1655782 - Turn on the QPACK dynamic table. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D85176
2020-07-30 06:40:37 +00:00
Tom Schuster c1bd3dfbba Bug 1569123 - Re-enable strict MIME type checking for Worker/SharedWorker everywhere. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D85138
2020-07-28 15:43:37 +00:00
Chris Peterson fd3e777d61 Bug 1652914 - Part 1: Replace MOZ_STATIC_ASSERT with static_assert in C code. r=jwalden
static_assert is available in both C++11 and C11. While C++11's static_assert is a keyword, C11's static_assert is a macro defined in assert.h (that expands to the C11 keywoard _Static_assert). libar's header files are included in both C and C++ code, so we must #include assert.h to use static_assert.

https://en.cppreference.com/w/c/language/_Static_assert

Differential Revision: https://phabricator.services.mozilla.com/D83736
2020-07-17 02:48:19 +00:00
Brindusan Cristian 56bb74ea8e Backed out changeset 3ebab9ec3685 (bug 1653182) as requested by cpeterson for being a duplicate patch. CLOSED TREE 2020-07-30 09:02:15 +03:00
Chris Peterson 623b18b9f5 Bug 1653182 - Part 1: Compile libmar as C11. r=nalexander,mhowell
Compile libmar as C11 so we can replace MOZ_STATIC_ASSERT() with static_assert() (bug 1652914).

Differential Revision: https://phabricator.services.mozilla.com/D85119
2020-07-29 19:12:20 +00:00
Chris Peterson cbf9e68b2f Bug 1653182 - Part 1: Compile libmar as C11. r=nalexander,mhowell
Compile libmar as C11 so we can replace MOZ_STATIC_ASSERT() with static_assert() (bug 1652914).

Differential Revision: https://phabricator.services.mozilla.com/D85119
2020-07-29 19:12:20 +00:00
Noemi Erli 4d01914553 Backed out changeset 4fbc6775e743 (bug 1640195) for causing multiple failures CLOSED TREE 2020-07-30 02:58:03 +03:00
Stephen A Pohl 597bb7d3e0 Bug 1640195: Address UX feedback for non-native widget styling. r=geckoview-reviewers,emilio,agi
Differential Revision: https://phabricator.services.mozilla.com/D76509
2020-07-29 22:16:06 +00:00
Alexander Surkov d5426056b8 Bug 1655722 - implement HTML:inert attribute r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D85190
2020-07-29 17:24:04 +00:00
Sebastian Streich 9644a40740 Bug 1558394 - Block downloads in sandboxed iframes r=ckerschb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D67351
2020-07-29 11:50:09 +00:00
Dorel Luca 3714922d1b Backed out changeset 9e9c50bbb2f3 (bug 546052) for build bustage on Linux. CLOSED TREE 2020-07-29 02:12:55 +03:00
Zeke Medley 1f9a50dd97 Bug 546052 - Add parsing for cross-fade from CSS Image Values and Replaced Content Module Level 4 r=emilio
This is the first of what will likely be a couple patches for
cross-fade's implementation. Bug 546052 tracks it's complete
implementation.

Differential Revision: https://phabricator.services.mozilla.com/D81889
2020-07-28 22:18:31 +00:00
Ryan Hunt d03c6c2687 Bug 1651799 - Don't set reference-types pref when compile-flag is not set. r=bbouvier
The pref will have no effect if the compile-flag isn't set, but this can confuse
some users who will see the pref in about:config.

Differential Revision: https://phabricator.services.mozilla.com/D83422
2020-07-27 21:12:25 +00:00
Tim Nguyen f4e86cd6e4 Bug 558594 - Implement layout for <input type='search'>. r=emilio,masayuki
Differential Revision: https://phabricator.services.mozilla.com/D56302
2020-07-27 12:09:40 +00:00
Butkovits Atila cf561cece0 Backed out 5 changesets (bug 1652144, bug 1654569, bug 1652085) for assertion failure nsDocShell.cpp. CLOSED TREE
Backed out changeset 4388af0c7d95 (bug 1654569)
Backed out changeset 66d5bb2ff027 (bug 1652085)
Backed out changeset 05132c178b4f (bug 1652144)
Backed out changeset fbdc7fd9cb96 (bug 1652144)
Backed out changeset 920a06a52b8b (bug 1652144)
2020-07-26 11:12:52 +03:00
Nika Layzell b4964689b9 Bug 1652144 - Part 3: Add tests for webIsolated counts over 1, r=farre
This patch also unlocks the pref which was locked in bug 1626096, as it's no
longer an issue.

Differential Revision: https://phabricator.services.mozilla.com/D84062
2020-07-24 20:24:43 +00:00
Timothy Nikkel ee604b3f2c Bug 1655160. Disable new desktop zooming scrollbar code for now. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D84861
2020-07-24 20:10:10 +00:00
Martin Stransky ce7f53a5ec Bug 1645776 [Linux/Gtk] Workspace restore - get window manager name only when XDG_CURRENT_DESKTOP is missing and check/ship widget.disable-workspace-management to disable it, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D84515
2020-07-24 11:59:38 +00:00
Ricky Stewart 3419d4de1d Bug 1654589 - Move `libpref` Python unit test to `mozbuild` suite r=froydnj,mccr8
It could go into its own test suite, but it 1) depends on `mozbuild` code, so the `mozbuild` suite as well as this new suite would be running on any push that touches `mozbuild` code anyway, and 2) this is code that runs during the build, so it's not out of place.

Differential Revision: https://phabricator.services.mozilla.com/D84547
2020-07-23 22:00:46 +00:00
Dorel Luca b992d3ed4c Backed out changeset 9168828ce9e9 (bug 1654589) as requested by dev for breaking fuzzy on a build. CLOSED TREE 2020-07-23 22:33:52 +03:00
Ricky Stewart 72fd050de5 Bug 1654589 - Move `libpref` Python unit test to `mozbuild` suite r=froydnj
It could go into its own test suite, but it 1) depends on `mozbuild` code, so the `mozbuild` suite as well as this new suite would be running on any push that touches `mozbuild` code anyway, and 2) this is code that runs during the build, so it's not out of place.

Differential Revision: https://phabricator.services.mozilla.com/D84547
2020-07-23 17:30:18 +00:00
Andrew Osmond 4cc0447d5a Bug 1653443 - Disable the GPU process on Linux even with hardware compositing. r=nical
This effectively reverts bug 1549965 and disables the GPU
process on Linux. We would only turn it on with OpenGL and
WebRender compositing, which was for half of nightly users,
and 1-2% of release users.

See bug 1653444 for a list of bugs blocking re-enabling
the GPU process on Linux.

Differential Revision: https://phabricator.services.mozilla.com/D83871
2020-07-20 19:34:40 +00:00
prathiksha 6eb0db8b4b Bug 1593467 - Automatically restore from logins-backup.json when logins.json is missing or corrupt. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D81502
2020-07-23 06:55:09 +00:00
Timothy Nikkel 9665488d31 Bug 1651332. Create a pref to gate the new scrollbar code on. r=kats
I could have use apz.allow_zooming but using a separate pref means we can flip the pref to check if the new scrollbar code is the source of a regression. Also I haven't tested the code on Fenix at all, so we can disable it there for now.

Differential Revision: https://phabricator.services.mozilla.com/D82684
2020-07-19 10:04:04 +00:00
Narcis Beleuzu 37cb83a398 Backed out 2 changesets (bug 921504) for wpt failures on inert-retargeting-iframe.tentative.html . CLOSED TREE
Backed out changeset 8b75cd744e80 (bug 921504)
Backed out changeset a56b2d354613 (bug 921504)
2020-07-22 23:53:55 +03:00
Butkovits Atila 39f2bd0971 Backed out changeset e890ed131173 (bug 1654589) for bustage at Punion_Uncomparable.ipdl. CLOSED TREE 2020-07-22 23:01:51 +03:00
Alexander Surkov 1c382cad65 Bug 921504 - implement HTML:inert r=emilio,heycam
Differential Revision: https://phabricator.services.mozilla.com/D81701
2020-07-22 04:26:08 +00:00
Ricky Stewart 9ac27d3247 Bug 1654589 - Move `libpref` Python unit test to `mozbuild` suite r=froydnj
It could go into its own test suite, but it 1) depends on `mozbuild` code, so the `mozbuild` suite as well as this new suite would be running on any push that touches `mozbuild` code anyway, and 2) this is code that runs during the build, so it's not out of place.

Differential Revision: https://phabricator.services.mozilla.com/D84547
2020-07-22 17:05:24 +00:00
Tim Huang 748ddb821d Bug 1647825 - Part 1: Add the UI for enable reporting XFO and CSP:frame-ancestors error. r=ckerschb,nhnt11
This patch adds the UI for allowing users to enable reporting XFO error.
The reporting UI will be displayed in the error page if the error is a
XFO error.

Differential Revision: https://phabricator.services.mozilla.com/D82331
2020-07-22 15:12:38 +00:00
Mike Conley 0ecf241b5d Bug 1653663 - Add experimental Picture-in-Picture toggle variations. r=mstriemer,flod
media.videocontrols.picture-in-picture.video-toggle.mode controls the toggle variation.
Valid values are -1 (default, what we currently ship), 1 and 2.

media.videocontrols.picture-in-picture.video-toggle.position controls the toggle variation
position. Valid values are "left" and "right" (default).

Differential Revision: https://phabricator.services.mozilla.com/D84032
2020-07-22 16:02:13 +00:00
Simon Giesecke 5d84dbbe42 Bug 1653231 - Change SharedPrefMapBuilder::Add to accept a const nsCString&. r=njn
Depends on D84141

Differential Revision: https://phabricator.services.mozilla.com/D84142
2020-07-21 06:35:44 +00:00
Simon Giesecke 3397331765 Bug 1653231 - Store a nsDependentCString in Pref. r=njn
Depends on D83918

Differential Revision: https://phabricator.services.mozilla.com/D84141
2020-07-21 06:35:17 +00:00
Simon Giesecke b7f75cf860 Bug 1653231 - Pass const nsCString& rather than const char* where possible. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D83918
2020-07-20 11:43:33 +00:00
Simon Giesecke 4af01d0e97 Bug 1653231 - Use literals instead of run-time conversion to nsLiteralCString. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D83772
2020-07-17 10:34:21 +00:00
Simon Giesecke e8b19b4dda Bug 1653231 - Pass const char* argument by value. r=njn
Depends on D83916

Differential Revision: https://phabricator.services.mozilla.com/D83917
2020-07-20 07:58:58 +00:00
Simon Giesecke 3ed45c6191 Bug 1653231 - Simplify PrefName. r=njn
It doesn't need to use a Variant anymore, it always stores a nsCString.

Differential Revision: https://phabricator.services.mozilla.com/D83916
2020-07-20 07:57:49 +00:00
Severin aa01f8a3ec Bug 1654405 - pref doorhanger v2 off outside Nightly;r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D84449
2020-07-21 22:57:11 +00:00
Jeff Gilbert 35f892e782 Bug 1607940 - Stand up webgl.out-of-process:true path. r=handyman,nika,froydnj
* Use clearer pref names.
* Default (and only support) IPDL dispatching.
* Make DispatchCommands async-only.
* Sync ipdl command per sync webgl entrypoint.
  * Eat the boilerplate cost, since there's not too many.
* Run SerializedSize off same path as Serialize.
* All shmem uploads go through normal DispatchCommands.
* Defer pruning of dead code for now so we can iterate quickly.
* Use Read/Write(begin,end) instead of (begin,size).
  * This would have prevented a bug where we read/wrote N*sizeof(T)*sizeof(T).

Differential Revision: https://phabricator.services.mozilla.com/D81495
2020-07-21 22:56:52 +00:00
Michael Kaply f6b4b8e27c Bug 436200 - Add a pref to turn off warning submitting secure to insecure. r=dveditz,pbz
Differential Revision: https://phabricator.services.mozilla.com/D83863
2020-07-21 22:12:40 +00:00
James Willcox ecaad75230 Bug 1639577 - Only suspend GeckoView tabs that are alone in their BrowsingContextGroup r=nika,geckoview-reviewers,agi
This avoids problems where a foreground tab tries to communicate with a background
tab via `window.opener`, but is unable to because the background tab
is suspended.

Differential Revision: https://phabricator.services.mozilla.com/D83693
2020-07-21 21:04:53 +00:00
Gijs Kruitbosch 5d84e2b8f0 Bug 1654325 - disable the parent process slow script dialog, r=esmyth
Differential Revision: https://phabricator.services.mozilla.com/D84396
2020-07-21 19:23:19 +00:00
Eugen Sawin f36309192d Bug 1654369 - [1.0] Enable new-password generation heuristics for GeckoView. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D84416
2020-07-21 20:23:30 +00:00
Denis Palmeiro fb0dfdd2f7 Bug 1654357 - Disable speculative omt JS parsing r=smaug
Disable speculative js parsing temporarily until a race condition in bug 1652126  is resolved.

Differential Revision: https://phabricator.services.mozilla.com/D84412
2020-07-21 20:09:57 +00:00
Matthew Gaudet b56bdc1e4b Bug 1652744 - Add browser pref for private fields support r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D83511
2020-07-20 13:49:14 +00:00
Narcis Beleuzu 0ac1595a1a Backed out 2 changesets (bug 921504) for mochitest failures on test_animation-type-longhand.html . CLOSED TREE
Backed out changeset e87edffd46b9 (bug 921504)
Backed out changeset eb53880e5f0e (bug 921504)
2020-07-20 17:37:32 +03:00
Butkovits Atila 77046ebd2b Backed out 6 changesets (bug 1644160, bug 1652744) for failure at proxy-ccw.js CLOSED TREE
Backed out changeset ce53b1934083 (bug 1644160)
Backed out changeset 36ea51123a56 (bug 1652744)
Backed out changeset bc43898badcd (bug 1644160)
Backed out changeset 09df89442319 (bug 1644160)
Backed out changeset 3c88625982cf (bug 1644160)
Backed out changeset 598d65b8afb5 (bug 1644160)
2020-07-20 16:46:17 +03:00
Alexander Surkov cf6cccf0ef Bug 921504 - implement HTML:inert r=emilio,heycam
Differential Revision: https://phabricator.services.mozilla.com/D81701
2020-07-20 04:22:36 +00:00
Matthew Gaudet dea4a801a1 Bug 1652744 - Add browser pref for private fields support r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D83511
2020-07-17 21:21:57 +00:00
Valentin Gosu 846a198de3 Bug 1653201 - Remove internal nsStandardURL punycode pref r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84105
2020-07-19 19:40:05 +00:00
prathiksha 78c662789a Bug 1617987 - Fix URLs by prefixing www. when users encounter bad cert domain errors. r=nika,keeler
Differential Revision: https://phabricator.services.mozilla.com/D82024
2020-07-18 13:38:59 +00:00
Molly Howell fea4aee447 Bug 1653371 - Don't used a signed type for a length parameter. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D84031
2020-07-17 22:25:54 +00:00
James Willcox 28273f27f7 Bug 1652474 - Enable EME on all channels for Android r=rbarker,bryce
Differential Revision: https://phabricator.services.mozilla.com/D83355
2020-07-17 19:06:03 +00:00
Paul Adenot 7fb73b1d6c Bug 1653113 - Backed out changeset cc82aacadf80. r=achronop
Depends on D83805

Differential Revision: https://phabricator.services.mozilla.com/D83806
2020-07-17 09:40:27 +00:00
Brian Birtles aad61ccfa5 Bug 1652676 - Enable Web Animations API compositing operations on release channels; r=boris
Differential Revision: https://phabricator.services.mozilla.com/D83727
2020-07-16 18:00:55 +00:00
Mark Striemer 2027ee64c6 Bug 1652627 - Setup a pref for tab modal print UI r=Gijs,sfoster
This creates the print.modal_print_preview.enabled pref to manage
whether the tab modal print UI should be used and creates some
files we'll need for the UI to use.

Differential Revision: https://phabricator.services.mozilla.com/D83445
2020-07-16 22:16:22 +00:00
Dale Harvey 321521cfd5 Bug 1651124 - Enable region cachebusting on release r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D83780
2020-07-16 14:09:00 +00:00
Alex Chronopoulos bf93baaaad Bug 1644566 - Enable AV1 and dav1d by default on Android. r=padenot
Depends on D83763

Differential Revision: https://phabricator.services.mozilla.com/D83764
2020-07-16 10:28:52 +00:00
Randell Jesup 4083132374 Bug 1642772: Add fission process renaming to eTLD+1 for Nightly (only) via a pref r=smaug,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D77924
2020-07-15 17:59:36 +00:00
Frederik Braun a7153982e8 Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +00:00
Michal Novotny 0e25e01126 Bug 1645051 - Calculated smart max cache size shouldn't overwrite browser.cache.disk.capacity pref r=necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D83377
2020-07-14 16:54:22 +00:00
Sean Feng de666f6644 Bug 1652496 - Enable DOM arena allocation in Release r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D83346
2020-07-14 05:41:55 +00:00
Miko Mynttinen 5c6954fa0d Bug 1652550 - Disable RenderExternalTextureHost when BufferTextureHost is wrapped with GPUVideoTextureHost r=mattwoodrow
This patch also re-enables client storage for Nightly builds (gfx.webrender.enable-client-storage=true).

Differential Revision: https://phabricator.services.mozilla.com/D83375
2020-07-14 13:31:32 +00:00
Julian Descottes a595fcea96 Bug 1651605 - Disable Service Worker support in DevTools Debugger r=Honza
We ran an experiment to assess the impact of the feature.
We could verify a significant performance impact on the opening times for the debugger.
It also led to a decrease in overall devtools usage and retention.
Therefore we are disabling the feature until we can implement it with better performance.
This should be implemented with https://bugzilla.mozilla.org/show_bug.cgi?id=1651522

Differential Revision: https://phabricator.services.mozilla.com/D83312
2020-07-14 08:44:59 +00:00
Alexis Beingessner d966b93086 Bug 1644466 - Convert dom.storage.next_gen into a StaticPref. r=janv
The kinda hacky mutex latch is preserved to avoid concerns with AtStartup prefs having
potential to deadlock when used in this subsystem.

Differential Revision: https://phabricator.services.mozilla.com/D83403
2020-07-14 02:57:57 +00:00
Marco Bonardo 14784dc42d Bug 1650201 - Fix mozStorage prefs read before profile and fallback to a non-exclusive VFS when it can't get an exclusive lock. r=asuth,geckoview-reviewers,agi
mozStorage used to read prefs on service init, because they could only be read
on the main-thread. When service init was moved earlier, it started trying
to read prefs too early, before the profile was set up, thus it ended up always
reading the default value.

This patch moves the only relevant pref to mirrored StaticPrefs that can be accessed
from different threads, and removes two preferences that apparently are not necessary
(they have been broken from a long time) for now.
In particular, providing a global synchronous setting is a footgun, each consumer should
decide about their synchronous needs, rather than abusing a dangerous "go fast" setting.
The page size is something we don't change from quite some time, and it's unlikely to be
used to run experiments in the wild before doing local measurements first, for which Try
builds are enough.

The remaining exclusiveLock pref is a bit controversial, because in general exclusive lock
is better for various reasons, and mostly it is necessary to use WAL on network shares.
Though developers may find it useful for debugging, and some third parties are doing
dangerous things (like copying over databases) to work around it, for which it's safer to
provide a less dangerous alternative.
Note exclusive lock only works on Unix-derived systems for now (no Windows implementation).

Finally, this introduces a fallback to exclusive lock, so that if a third party is using our
databases, so that we can't get an exclusive lock, we'll fallback to normal locking.

Differential Revision: https://phabricator.services.mozilla.com/D82717
2020-07-10 21:45:53 +00:00
Randell Jesup f1e4e6aed0 Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor
Also we drop support for an independent-of-scroll/viewport capture, which
the old Tab Sharing supported, for security reasons (and we don't need it).

Differential Revision: https://phabricator.services.mozilla.com/D80974
2020-07-11 12:31:49 +00:00
Dorel Luca 19042532b3 Backed out changeset ef25e5648b14 (bug 1112392) for causing build bustage on media/systemservices/video_engine/tab_capturer 2020-07-11 13:30:06 +03:00
J.C. Jones 8d808a0da4 Bug 1641356 - Unhide RSA-AES-GCM ciphersuite preferences r=kjacobs
In Bug 1638369 we added two new RSA-AES-GCM ciphersuites for web compatibility, but
did not add them to `all.js` so they weren't visible in about:config.

Since these are not mandatory ciphersuites to the TLS specification, they
should be configurable.

Differential Revision: https://phabricator.services.mozilla.com/D83192
2020-07-10 21:11:51 +00:00
Kagami Sascha Rosylight 5052c19940 Bug 1637624 - Part 2: Use StaticPrefs for layout.word_select.* r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D83090
2020-07-10 21:21:30 +00:00
Randell Jesup 33bfc03435 Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor
Also we drop support for an independent-of-scroll/viewport capture, which
the old Tab Sharing supported, for security reasons (and we don't need it).

Differential Revision: https://phabricator.services.mozilla.com/D80974
2020-07-10 21:22:10 +00:00
Bogdan Tara b2ea557fcf Backed out changeset 6dea878aaf36 (bug 1112392) for tab_capturer.cc related bustage CLOSED TREE 2020-07-10 23:30:41 +03:00
Randell Jesup 109ef2a1dd Bug 1112392: Move webrtc Tab Sharing to work in e10s/fission r=dminor
Also we drop support for an independent-of-scroll/viewport capture, which
the old Tab Sharing supported, for security reasons (and we don't need it).

Differential Revision: https://phabricator.services.mozilla.com/D80974
2020-07-10 18:11:02 +00:00
Narcis Beleuzu d27be427c9 Backed out changeset 83749e9e67bd (bug 1220810) for bc failures on browser_fall_back_to_https.js . CLOSED TREE 2020-07-10 18:42:17 +03:00
Dan Minor 48ee13bd24 Bug 1651722 - Enable transport-cc and rtx and let them ride the trains; r=drno
Meet seems to be working with RTX enabled now, so I'm removing it from the blocklist
while I'm here.

Differential Revision: https://phabricator.services.mozilla.com/D82937
2020-07-09 19:37:04 +00:00
Andrea Marchesini 23052342cb Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 14:30:58 +00:00
Mihai Alexandru Michis b62be4d15f Backed out changeset 1b035d80fb9f (bug 1220810) for causing bustages in netwerk/dns/DNS.cpp
CLOSED TREE
2020-07-10 17:17:20 +03:00
Andrea Marchesini f498accc17 Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 13:08:14 +00:00
Mihai Alexandru Michis 44cad01e29 Backed out changeset 1b44f13206d0 (bug 1220810) for causing gecko decision task bustages.
CLOSED TREE
2020-07-10 15:37:45 +03:00
Andrea Marchesini 2144af13e9 Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 12:23:46 +00:00
Mihai Alexandru Michis 61006875dd Backed out changeset 36f368ba214c (bug 1220810) for causing gecko decision task bustages.
CLOSED TREE
2020-07-10 15:00:15 +03:00
Andrea Marchesini f36d351374 Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 11:34:10 +00:00
Butkovits Atila 02e9ce4012 Merge mozilla-central to autoland. a=merge CLOSED TREE 2020-07-10 06:54:20 +03:00
Jeff Muizelaar f03aaa6c2e Bug 1651594. Disable client storage for breaking YouTube. r=mstange a=fix
Differential Revision: https://phabricator.services.mozilla.com/D83026
2020-07-10 03:11:35 +00:00
Chun-Min Chang 1ed88894b6 Bug 1598148 - P1: Remove the cubeb backend preference on macos in all.js. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D54054
2020-07-08 23:44:05 +00:00
Kris Maglione 6a39211860 Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D81419
2020-07-09 21:42:25 +00:00
Andrea Marchesini 3c1b71a6e4 Bug 1651618 - Use cookie 'SameSite' attribute with capital 'S' everywhere, r=flod,fluent-reviewers,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,whimboo,sparky
Differential Revision: https://phabricator.services.mozilla.com/D82872
2020-07-09 20:40:15 +00:00
Csoregi Natalia b355fcc4bf Backed out 6 changesets (bug 1464542) for xpcshell failures on test_Services.js. CLOSED TREE
Backed out changeset b50af9005851 (bug 1464542)
Backed out changeset 9d3a0ea2cf65 (bug 1464542)
Backed out changeset 71c3475fcbc2 (bug 1464542)
Backed out changeset 51ff93220a95 (bug 1464542)
Backed out changeset e84de1547c09 (bug 1464542)
Backed out changeset bbecc16d08eb (bug 1464542)
2020-07-09 23:19:26 +03:00
Kris Maglione d09458dc51 Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D81419
2020-07-09 17:59:16 +00:00
Jed Davis 3bfc3ec49f Bug 1640345 - Add a hidden pref to prevent sandboxed content processes from connecting to the X server. r=gcp
This adds the boolean pref security.sandbox.content.headless (on Linux
only) which does two things:

1. Sets the MOZ_HEADLESS env var for content processes, so that they
don't initialize GTK and don't connect to the X server.

2. Disallows brokered access to parts of the filesystem used only for
graphics -- most critically connecting to the X11 socket itself, but
also opening GPU device nodes and the parts of sysfs used by Mesa, for
example.

This is experimental; use at your own risk.

Setting this pref will break native widgets, so it's also necessary to
set widget.disable-native-theme-for-content

Additionally, it breaks Flash and WebGL; see bug 1638466 for the latter.

Differential Revision: https://phabricator.services.mozilla.com/D81425
2020-07-01 21:10:36 +00:00
Mark Banner 6cd1a39735 Bug 1632448 - Remove AddSearchProvider implementation. r=baku,daleharvey
Depends on D82350

Differential Revision: https://phabricator.services.mozilla.com/D82524
2020-07-09 09:52:24 +00:00
Dana Keeler 97b8c4eeb3 Bug 1651155 - disable intermediate preloading healer in late beta and release r=jcj
While we figure out the crashes we're seeing on beta (bug 1650654), this will
disable the intermediate preloading healer in late beta and release.

Differential Revision: https://phabricator.services.mozilla.com/D82588
2020-07-08 22:41:06 +00:00
Michael Froman 27399f92bf Bug 1651235 - enable webrtc usage of socket process on early beta and earlier. r=drno
Differential Revision: https://phabricator.services.mozilla.com/D82623
2020-07-08 18:53:35 +00:00
Sebastian Streich 8ccf28a8ba Bug 1614969 - Check download with MixedContentBlocker r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D73302
2020-07-08 15:25:43 +00:00
Frederik Braun 9cf407544a Bug 1644671 - systemprincipal restrictions telemetry r=tjr,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D79142
2020-07-08 13:11:57 +00:00
Bogdan Tara ecb7c0ac10 Backed out changeset 1e15fd6bbf25 (bug 1644671) for telemetry related bustages CLOSED TREE 2020-07-08 15:34:15 +03:00
Frederik Braun ae8dc932e1 Bug 1644671 - systemprincipal restrictions telemetry r=tjr,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D79142
2020-07-08 12:06:05 +00:00
Mike Hommey 1c697d5065 Bug 1651263 - Avoid spending > 2 minutes compiling Preferences.cpp r=njn
Not inlining AddMirror brings compilation time of this file, on my
machine, from 2:14 to 13.5s.

Differential Revision: https://phabricator.services.mozilla.com/D82633
2020-07-08 04:16:26 +00:00
Doug Thayer b274aafa4b Bug 1627075 - Route Omnijar requests through StartupCache r=froydnj
This should be a relatively straightforward patch. Essentially, we implement
a wrapper class (and friends) around nsZipArchive (and friends), which transparently
caches entries from the underlying zip archive in the StartupCache. This will break
without changes to the StartupCache, made in the patch after this, which allow it
to be used off of the main thread, and outside the main process.

Depends on D77635

Differential Revision: https://phabricator.services.mozilla.com/D77634
2020-07-08 02:46:34 +00:00
Doug Thayer 3a305bb054 Bug 1627075 - Allow lazily initializing nsZipArchives r=froydnj
Opening our Omnijars can be expensive, and it should be deferrable until after
startup is completed, provided we have a startup cache. In a previous patch in this
stack, we implemented caching of the zip central directory for omnijars, but we
still have to open the file in order to hand the object off to various omnijar
consumers. In a later patch, we will wrap nsZipArchive access in a class which
will allow us to transparently cache nsZipArchive results. These two get us
most of the way to not needing to read from the underlying omnijar files during
startup, but there are still nontrivial pieces, like nsZipFind for instance,
which we don't want to just duplicate inside of a wrapper class, so we would
like to sort out a way in which we can use an nsZipArchive class, but not
actually back it up with the real underlying file until we really need data
from it which we can't find in a cache.

Depends on D77633

Differential Revision: https://phabricator.services.mozilla.com/D78584
2020-07-08 02:44:13 +00:00
Doug Thayer d9fd460e11 Bug 1627075 - Build Omnijar file list from startup cache r=froydnj
We would like to be able to defer opening the omnijar files until after startup
if the StartupCache has already been populated. Opening the omnijar files takes
a nontrivial time, at least on Windows, and almost everything in the omnijar
should be fairly compressible, and thus makes sense to live in the StartupCache.
See the last patch in this series for a little more discussion on numbers, but
tl;dr: we saw a 12% improvement in time to about:home being finished on reference
hardware with these changes together with the changes from the descendant patches.

Differential Revision: https://phabricator.services.mozilla.com/D77632
2020-07-08 02:43:02 +00:00
Andrew McCreight ddcceedd1a Bug 1649331 - toolkit.shutdown.fastShutdownStage should be 0 in ASan builds. r=dthayer
We do leak checking in AddressSanitizer builds. This runs as processes exit,
so we can't exit early. NS_FREE_PERMANENT_DATA should be set in any kind of
build that cares about leak checking.

Differential Revision: https://phabricator.services.mozilla.com/D82459
2020-07-07 21:02:04 +00:00
Narcis Beleuzu a182c015f5 Backed out 6 changesets (bug 1627075) for bustages on startupcache/StartupCache.cpp . CLOSED TREE
Backed out changeset 21605186687e (bug 1627075)
Backed out changeset e29b15980da2 (bug 1627075)
Backed out changeset eb5265addd5e (bug 1627075)
Backed out changeset dfd71f4ecb81 (bug 1627075)
Backed out changeset 13ecd68b3c0d (bug 1627075)
Backed out changeset 333d035afe92 (bug 1627075)
2020-07-07 23:30:48 +03:00
Doug Thayer a2595a8402 Bug 1627075 - Route Omnijar requests through StartupCache r=froydnj
This should be a relatively straightforward patch. Essentially, we implement
a wrapper class (and friends) around nsZipArchive (and friends), which transparently
caches entries from the underlying zip archive in the StartupCache. This will break
without changes to the StartupCache, made in the patch after this, which allow it
to be used off of the main thread, and outside the main process.

Depends on D77635

Differential Revision: https://phabricator.services.mozilla.com/D77634
2020-07-07 17:04:27 +00:00
Doug Thayer 2046625fac Bug 1627075 - Allow lazily initializing nsZipArchives r=froydnj
Opening our Omnijars can be expensive, and it should be deferrable until after
startup is completed, provided we have a startup cache. In a previous patch in this
stack, we implemented caching of the zip central directory for omnijars, but we
still have to open the file in order to hand the object off to various omnijar
consumers. In a later patch, we will wrap nsZipArchive access in a class which
will allow us to transparently cache nsZipArchive results. These two get us
most of the way to not needing to read from the underlying omnijar files during
startup, but there are still nontrivial pieces, like nsZipFind for instance,
which we don't want to just duplicate inside of a wrapper class, so we would
like to sort out a way in which we can use an nsZipArchive class, but not
actually back it up with the real underlying file until we really need data
from it which we can't find in a cache.

Depends on D77633

Differential Revision: https://phabricator.services.mozilla.com/D78584
2020-07-07 17:02:42 +00:00
Doug Thayer 7915db05b2 Bug 1627075 - Build Omnijar file list from startup cache r=froydnj
We would like to be able to defer opening the omnijar files until after startup
if the StartupCache has already been populated. Opening the omnijar files takes
a nontrivial time, at least on Windows, and almost everything in the omnijar
should be fairly compressible, and thus makes sense to live in the StartupCache.
See the last patch in this series for a little more discussion on numbers, but
tl;dr: we saw a 12% improvement in time to about:home being finished on reference
hardware with these changes together with the changes from the descendant patches.

Differential Revision: https://phabricator.services.mozilla.com/D77632
2020-07-07 17:02:30 +00:00
Miko Mynttinen 0d02beff03 Bug 1536515 - Part 3: Add RenderExternalTextureHost r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D80506
2020-07-07 17:57:22 +00:00
Narcis Beleuzu 339d33ec67 Backed out changeset 627f9b4fea56 (bug 1644671) for bustages on TelemetryEventData.h.stub . CLOSED TREE 2020-07-07 20:33:53 +03:00
Narcis Beleuzu 8aa587a3c0 Backed out changeset ade40e37fbff (bug 1649331) for M12 plain leakchecks. CLOSED TREE 2020-07-07 20:17:32 +03:00
Frederik Braun 71de7e32d5 Bug 1644671 - systemprincipal restrictions telemetry r=tjr,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D79142
2020-07-07 14:17:05 +00:00
Andrew McCreight 301cc4e9a7 Bug 1649331 - toolkit.shutdown.fastShutdownStage should be 0 in ASan builds. r=dthayer
We do leak checking in AddressSanitizer builds. This runs as processes exit,
so we can't exit early. NS_FREE_PERMANENT_DATA should be set in any kind of
build that cares about leak checking.

Differential Revision: https://phabricator.services.mozilla.com/D82459
2020-07-07 11:23:07 +00:00
Nicholas Nethercote ba1e98b7ca Bug 1648348 - Fix formatting errors in the prefs parser's rustdocs. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D81962
2020-07-07 07:38:10 +00:00
Perry Jiang 03a1a1da06 Bug 1588154 - remove invalid comment for SW pref r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D75318
2020-05-14 20:57:57 +00:00
Mihai Alexandru Michis 87cb0ad6fa Backed out 6 changesets (bug 1627075) for causing bustages in StartupCache.cpp
CLOSED TREE

Backed out changeset fc144caf5d06 (bug 1627075)
Backed out changeset a345e05df151 (bug 1627075)
Backed out changeset 288a67aed661 (bug 1627075)
Backed out changeset 2cb021a493d8 (bug 1627075)
Backed out changeset 920398d1c3d3 (bug 1627075)
Backed out changeset ebdcd96a9d20 (bug 1627075)
2020-07-07 08:47:14 +03:00
Doug Thayer e3f3b7b80b Bug 1627075 - Route Omnijar requests through StartupCache r=froydnj
This should be a relatively straightforward patch. Essentially, we implement
a wrapper class (and friends) around nsZipArchive (and friends), which transparently
caches entries from the underlying zip archive in the StartupCache. This will break
without changes to the StartupCache, made in the patch after this, which allow it
to be used off of the main thread, and outside the main process.

Depends on D77635

Differential Revision: https://phabricator.services.mozilla.com/D77634
2020-07-07 04:36:27 +00:00
Doug Thayer 51a40f3027 Bug 1627075 - Allow lazily initializing nsZipArchives r=froydnj
Opening our Omnijars can be expensive, and it should be deferrable until after
startup is completed, provided we have a startup cache. In a previous patch in this
stack, we implemented caching of the zip central directory for omnijars, but we
still have to open the file in order to hand the object off to various omnijar
consumers. In a later patch, we will wrap nsZipArchive access in a class which
will allow us to transparently cache nsZipArchive results. These two get us
most of the way to not needing to read from the underlying omnijar files during
startup, but there are still nontrivial pieces, like nsZipFind for instance,
which we don't want to just duplicate inside of a wrapper class, so we would
like to sort out a way in which we can use an nsZipArchive class, but not
actually back it up with the real underlying file until we really need data
from it which we can't find in a cache.

Depends on D77633

Differential Revision: https://phabricator.services.mozilla.com/D78584
2020-07-07 04:34:19 +00:00
Doug Thayer 5b755bb7f3 Bug 1627075 - Build Omnijar file list from startup cache r=froydnj
We would like to be able to defer opening the omnijar files until after startup
if the StartupCache has already been populated. Opening the omnijar files takes
a nontrivial time, at least on Windows, and almost everything in the omnijar
should be fairly compressible, and thus makes sense to live in the StartupCache.
See the last patch in this series for a little more discussion on numbers, but
tl;dr: we saw a 12% improvement in time to about:home being finished on reference
hardware with these changes together with the changes from the descendant patches.

Differential Revision: https://phabricator.services.mozilla.com/D77632
2020-07-07 04:33:49 +00:00
Doug Thayer 1ed75f202c Bug 1623943 - Advance fastShutdownStage to 3 on Nightly r=froydnj
See https://bugzilla.mozilla.org/show_bug.cgi?id=1623943#c10 for more info,
but in short, this should be ready - there are a very small number of late
writes coming in via telemetry. I have gone through them, and the vast
majority of them are clearly nonissues. Of those remaining, which is on the
order of one hundredth of one percent of shutdowns, they are all going
through atomic file streams.

Differential Revision: https://phabricator.services.mozilla.com/D81609
2020-07-06 17:56:33 +00:00
Dana Keeler 8b5037b2d1 Bug 1649518 - 3/3: enable osclientcerts by default in nightly r=jcj,johannh
Differential Revision: https://phabricator.services.mozilla.com/D81890
2020-07-06 19:29:17 +00:00
Emilio Cobos Álvarez 77e8fe49d3 Bug 1650444 - Remove browser.find.anonymous_content.enabled. r=jfkthame
Other than this, there hasn't been any other major regression since we
introduced that switch. I don't think there's a point in keeping it
around.

Differential Revision: https://phabricator.services.mozilla.com/D82297
2020-07-06 15:05:49 +00:00
Hiroyuki Ikezoe d32459e2c0 Bug 1650686 - Drop layout.viewport_contains_no_contents_area. r=botond
I suppose it's been well tested on Fenix.

Differential Revision: https://phabricator.services.mozilla.com/D82305
2020-07-06 09:53:34 +00:00
Christoph Kerschbaumer 402b0a5c46 Bug 1647719: Introduce Pref for HTTS-Only in Private Browsing Mode. r=JulianWels,jcj
Differential Revision: https://phabricator.services.mozilla.com/D80873
2020-07-06 08:52:02 +00:00
Hiroyuki Ikezoe 4205879729 Bug 1324591 - Report janked animations to the main-thread and update them on the main-thread. r=botond,boris
The machinery to report janked animations is;

1) Store the partial pre-rendered animation id and the Animation object in a
   hashtable in LayerManager
2) Store the animation id in the Animation object as well
3) When we detect jank, we send the animation id to the main-thread via an IPC
   call
4) Find the Animation object with the id in the hashtable and update the
   Animaiton
5) Whenever the partial pre-rendered Animation stop running on the compositor
   i.e. the Animation finished normally, the Animation's target element is
   changed, etc. etc., remove the Animation from the hashtable

Depends on D75731

Differential Revision: https://phabricator.services.mozilla.com/D75732
2020-07-05 11:45:01 +00:00
Brindusan Cristian 7f75410fd7 Backed out 9 changesets (bug 1324591) for linux build bustages on central on nsDisplayList.h.
Backed out changeset 75966ee1fe65 (bug 1324591)
Backed out changeset d6a01c6bc40e (bug 1324591)
Backed out changeset fef36ff2ea3d (bug 1324591)
Backed out changeset 4a4ae4bd95d1 (bug 1324591)
Backed out changeset 732804c83add (bug 1324591)
Backed out changeset 84657a3522fb (bug 1324591)
Backed out changeset e6c74ba41007 (bug 1324591)
Backed out changeset 8e6d4e9f5aa0 (bug 1324591)
Backed out changeset 6bc284863aff (bug 1324591)
2020-07-05 13:45:35 +03:00
Hiroyuki Ikezoe 92208a9c28 Bug 1324591 - Report janked animations to the main-thread and update them on the main-thread. r=botond,boris
The machinery to report janked animations is;

1) Store the partial pre-rendered animation id and the Animation object in a
   hashtable in LayerManager
2) Store the animation id in the Animation object as well
3) When we detect jank, we send the animation id to the main-thread via an IPC
   call
4) Find the Animation object with the id in the hashtable and update the
   Animaiton
5) Whenever the partial pre-rendered Animation stop running on the compositor
   i.e. the Animation finished normally, the Animation's target element is
   changed, etc. etc., remove the Animation from the hashtable

Differential Revision: https://phabricator.services.mozilla.com/D75732
2020-07-05 02:21:01 +00:00
sefeng 80e3e377d1 Bug 1645046 - Enable HTML5 dialog in Nightly r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D80045
2020-07-03 19:48:59 +00:00
Nils Ohlmeier [:drno] e5646896c7 Bug 1641308: increasing minimum DTLS version from 1.0 to 1.2. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D77130
2020-07-01 19:20:09 +00:00
Cosmin Sabou 5d6a0462a3 Backed out changeset 0f5653007c41 (bug 1645046) for wpt failures. CLOSED TREE 2020-07-03 18:19:17 +03:00
sefeng 383b8d065d Bug 1645046 - Enable HTML5 dialog in Nightly r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D80045
2020-07-02 20:36:37 +00:00
Luca Greco c87982167d Bug 1609920 - part 2: Guard ServiceWorkerContainer::Register to allow/disallow moz-extension scheme based on prefs. r=dom-workers-and-storage-reviewers,asuth,webidl,smaug
- Adds a new "extensions.serviceWorkerRegister.allowed" pref (defaults to false)
- Makes ServiceWorkerContainer::Register to throw NS_ERROR_DOM_SECURITY_ERR if the
  script url is a moz-extension url and the caller is a non-system caller
  (but do not throw NS_ERROR_DOM_SECURITY_ERR if the caller is a moz-extension
  and the new pref is set to true)

Depends on D60244

Differential Revision: https://phabricator.services.mozilla.com/D60245
2020-07-03 10:14:42 +00:00
Luca Greco 82aa5fed3a Bug 1609920 - part 1: Allow the WebExtension Framework to register a moz-extension service worker. r=dom-workers-and-storage-reviewers,asuth,mixedpuppy
- Adds the new about:config pref "extensions.backgroundServiceWorker.enabled" (currently defaults to false).
- Adds the background.service_worker property to the manifest JSON schema definition
- Locks background.service_worker manifest property behind the new preference
- Adds a new BackgroundWorker class to ext-backgroundPage.js (responsible for managing the background
  service worker for the extension, e.g. make sure that the expected worker script is registered
  as expected when the extension is starting up)
- Adds to the ServiceWorkerManager a new method to allow the WebExtension Framework to register the
  background service worker without an existing extension page
- Allows the "moz-extension" schema in the dom/serviceworkers and dom/cache internals

Depends on D63697

Differential Revision: https://phabricator.services.mozilla.com/D60244
2020-07-03 10:14:24 +00:00
sotaro ce3a41744b Bug 1648411 - Add AHardwareBuffer layer buffer support on android r=jnicol
AHardwareBuffer is supported since Android O(APIVersion 26). Implementation of AndroidHardwareBufferTextureData referred AndroidNativeWindowTextureData. Implementation of AndroidHardwareBufferTextureHost referred obsoleted GrallocTextureHost.

android fence is not supported yet.

Differential Revision: https://phabricator.services.mozilla.com/D81808
2020-07-02 13:43:19 +00:00
Noemi Erli b13f2bcb47 Backed out 7 changesets (bug 1627075) for causing @nsZipArchive crashes CLOSED TREE
Backed out changeset 9705b2759d45 (bug 1627075)
Backed out changeset 699212a443c3 (bug 1627075)
Backed out changeset 7ae4df10749c (bug 1627075)
Backed out changeset ece9a4223349 (bug 1627075)
Backed out changeset 6c4eedaa0d04 (bug 1627075)
Backed out changeset f5106898239f (bug 1627075)
Backed out changeset b6029c7c0016 (bug 1627075)
2020-07-02 14:05:53 +03:00
Doug Thayer 3742aac030 Bug 1627075 - Route Omnijar requests through StartupCache r=froydnj
This should be a relatively straightforward patch. Essentially, we implement
a wrapper class (and friends) around nsZipArchive (and friends), which transparently
caches entries from the underlying zip archive in the StartupCache. This will break
without changes to the StartupCache, made in the patch after this, which allow it
to be used off of the main thread, and outside the main process.

Depends on D77635

Differential Revision: https://phabricator.services.mozilla.com/D77634
2020-07-02 02:51:41 +00:00
Doug Thayer 45d135813f Bug 1627075 - Allow lazily initializing nsZipArchives r=froydnj
Opening our Omnijars can be expensive, and it should be deferrable until after
startup is completed, provided we have a startup cache. In a previous patch in this
stack, we implemented caching of the zip central directory for omnijars, but we
still have to open the file in order to hand the object off to various omnijar
consumers. In a later patch, we will wrap nsZipArchive access in a class which
will allow us to transparently cache nsZipArchive results. These two get us
most of the way to not needing to read from the underlying omnijar files during
startup, but there are still nontrivial pieces, like nsZipFind for instance,
which we don't want to just duplicate inside of a wrapper class, so we would
like to sort out a way in which we can use an nsZipArchive class, but not
actually back it up with the real underlying file until we really need data
from it which we can't find in a cache.

Depends on D77633

Differential Revision: https://phabricator.services.mozilla.com/D78584
2020-07-02 03:12:49 +00:00
Doug Thayer 10f4af3f14 Bug 1627075 - Build Omnijar file list from startup cache r=froydnj
We would like to be able to defer opening the omnijar files until after startup
if the StartupCache has already been populated. Opening the omnijar files takes
a nontrivial time, at least on Windows, and almost everything in the omnijar
should be fairly compressible, and thus makes sense to live in the StartupCache.
See the last patch in this series for a little more discussion on numbers, but
tl;dr: we saw a 12% improvement in time to about:home being finished on reference
hardware with these changes together with the changes from the descendant patches.

Differential Revision: https://phabricator.services.mozilla.com/D77632
2020-07-02 02:49:31 +00:00
Jeff Gilbert 80a2030fe4 Bug 1649894 - Add webgl.debug.incomplete-tex-color. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D81920
2020-07-02 01:42:21 +00:00
Mihai Alexandru Michis bab20702a8 Backed out 6 changesets (bug 1627075) for causing failures regarding startupcache.
CLOSED TREE

Backed out changeset cf23b456ba12 (bug 1627075)
Backed out changeset b07887474f51 (bug 1627075)
Backed out changeset 65c0e6790a33 (bug 1627075)
Backed out changeset 6cd31f17a931 (bug 1627075)
Backed out changeset 0f0d1bd2a8ac (bug 1627075)
Backed out changeset 763a5a7b43a0 (bug 1627075)
2020-07-01 22:16:28 +03:00
Doug Thayer ab4b703a53 Bug 1627075 - Route Omnijar requests through StartupCache r=froydnj
This should be a relatively straightforward patch. Essentially, we implement
a wrapper class (and friends) around nsZipArchive (and friends), which transparently
caches entries from the underlying zip archive in the StartupCache. This will break
without changes to the StartupCache, made in the patch after this, which allow it
to be used off of the main thread, and outside the main process.

Depends on D77635

Differential Revision: https://phabricator.services.mozilla.com/D77634
2020-07-01 17:09:53 +00:00
Doug Thayer b52c9d39c1 Bug 1627075 - Allow lazily initializing nsZipArchives r=froydnj
Opening our Omnijars can be expensive, and it should be deferrable until after
startup is completed, provided we have a startup cache. In a previous patch in this
stack, we implemented caching of the zip central directory for omnijars, but we
still have to open the file in order to hand the object off to various omnijar
consumers. In a later patch, we will wrap nsZipArchive access in a class which
will allow us to transparently cache nsZipArchive results. These two get us
most of the way to not needing to read from the underlying omnijar files during
startup, but there are still nontrivial pieces, like nsZipFind for instance,
which we don't want to just duplicate inside of a wrapper class, so we would
like to sort out a way in which we can use an nsZipArchive class, but not
actually back it up with the real underlying file until we really need data
from it which we can't find in a cache.

Depends on D77633

Differential Revision: https://phabricator.services.mozilla.com/D78584
2020-07-01 18:04:48 +00:00
Doug Thayer b19fd0dabb Bug 1627075 - Build Omnijar file list from startup cache r=froydnj
We would like to be able to defer opening the omnijar files until after startup
if the StartupCache has already been populated. Opening the omnijar files takes
a nontrivial time, at least on Windows, and almost everything in the omnijar
should be fairly compressible, and thus makes sense to live in the StartupCache.
See the last patch in this series for a little more discussion on numbers, but
tl;dr: we saw a 12% improvement in time to about:home being finished on reference
hardware with these changes together with the changes from the descendant patches.

Differential Revision: https://phabricator.services.mozilla.com/D77632
2020-07-01 17:07:17 +00:00
Valentin Gosu 722b5f1b24 Bug 1618271 - Move network.proxy.type to StaticPrefList.yaml r=mayhemer,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D80888
2020-07-01 16:49:05 +00:00
Sebastian Hengst 255c22186f Backed out 4 changesets (bug 1609920) for leaks in browser-chrome. CLOSED TREE
Backed out changeset 1c8faab05606 (bug 1609920)
Backed out changeset eaa0bb2cf36b (bug 1609920)
Backed out changeset fd1e4db7cf78 (bug 1609920)
Backed out changeset 0e68db4ad6af (bug 1609920)
2020-07-01 17:10:13 +02:00
Martin Stransky bd18fc33e3 Bug 1649120 [Linux] Rename dmabuf/vaapi preferences, r=jya
As DMABuf is going to be used under X11 let's remove Wayland keyword from the preferences
and also use media.ffmpeg key.

Wayland specific preferences rename:
    widget.wayland-dmabuf-textures.enabled to widget.dmabuf-textures.enabled
    widget.wayland-dmabuf-webgl.enabled to widget.dmabuf-webgl.enabled

Change dmabuf preferences to media.ffmpeg ones:
    widget.wayland-dmabuf-vaapi.enabled to media.ffmpeg.vaapi.enabled
    widget.wayland-dmabuf-video-textures.enabled to media.ffmpeg.dmabuf-textures.enabled

Implement media.ffmpeg.vaapi-drm-display.enabled preference to use DRM VA-API display
instead of the native one.

Differential Revision: https://phabricator.services.mozilla.com/D81512
2020-07-01 11:22:07 +00:00
Simon Giesecke 9364b353d4 Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80631
2020-07-01 08:42:31 +00:00
Simon Giesecke cd8b8939b9 Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Luca Greco ac67fbe999 Bug 1609920 - part 2: Guard ServiceWorkerContainer::Register to allow/disallow moz-extension scheme based on prefs. r=dom-workers-and-storage-reviewers,asuth,webidl,smaug
- Adds a new "extensions.serviceWorkerRegister.allowed" pref (defaults to false)
- Makes ServiceWorkerContainer::Register to throw NS_ERROR_DOM_SECURITY_ERR if the
  script url is a moz-extension url and the caller is a non-system caller
  (but do not throw NS_ERROR_DOM_SECURITY_ERR if the caller is a moz-extension
  and the new pref is set to true)

Depends on D60244

Differential Revision: https://phabricator.services.mozilla.com/D60245
2020-06-30 20:40:53 +00:00
Luca Greco 665d0662d8 Bug 1609920 - part 1: Allow the WebExtension Framework to register a moz-extension service worker. r=dom-workers-and-storage-reviewers,asuth,mixedpuppy
- Adds the new about:config pref "extensions.backgroundServiceWorker.enabled" (currently defaults to false).
- Adds the background.service_worker property to the manifest JSON schema definition
- Locks background.service_worker manifest property behind the new preference
- Adds a new BackgroundWorker class to ext-backgroundPage.js (responsible for managing the background
  service worker for the extension, e.g. make sure that the expected worker script is registered
  as expected when the extension is starting up)
- Adds to the ServiceWorkerManager a new method to allow the WebExtension Framework to register the
  background service worker without an existing extension page
- Allows the "moz-extension" schema in the dom/serviceworkers and dom/cache internals

Depends on D63697

Differential Revision: https://phabricator.services.mozilla.com/D60244
2020-06-10 12:13:29 +00:00
Zeke Medley 83e9191999 Bug 1506364 - Implement the prefers-contrast media-query. r=morgan,emilio
Differential Revision: https://phabricator.services.mozilla.com/D79553
2020-06-29 17:46:12 +00:00
Butkovits Atila e6f3141f9a Backed out changeset 2df0c2a2f866 (bug 1614969) for asertion failure on base/LoadInfo.cpp. 2020-06-30 21:47:17 +03:00
Sebastian Streich 5bb89780fa Bug 1614969 - Check download with MixedContentBlocker r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D73302
2020-06-30 16:29:22 +00:00
Matt Woodrow 7d65de1298 Bug 1647557 - Add preffed-off code for controlling document loads directly from CanonicalBrowsingContext. r=nika,jya,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D70629
2020-06-30 01:19:15 +00:00
Noemi Erli 9c9875dead Backed out 4 changesets (bug 1644917, bug 1640345) for causing failures in browser_preferences_usage.js CLOSED TREE
Backed out changeset 0f8b6494d3eb (bug 1640345)
Backed out changeset 4da77f0a0687 (bug 1644917)
Backed out changeset 54904fe41df8 (bug 1644917)
Backed out changeset ef0321787c8f (bug 1644917)
2020-06-30 05:27:44 +03:00
Paul Bone e89722580c Bug 1649125 - Browsing context preservation should not ride the trains r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D81622
2020-06-30 01:10:54 +00:00
Jed Davis 0940e5ba82 Bug 1640345 - Add a hidden pref to prevent sandboxed content processes from connecting to the X server. r=gcp
This adds the boolean pref security.sandbox.content.headless (on Linux
only) which does two things:

1. Sets the MOZ_HEADLESS env var for content processes, so that they
don't initialize GTK and don't connect to the X server.

2. Disallows brokered access to parts of the filesystem used only for
graphics -- most critically connecting to the X11 socket itself, but
also opening GPU device nodes and the parts of sysfs used by Mesa, for
example.

This is experimental; use at your own risk.

Setting this pref will break native widgets, so it's also necessary to
set widget.disable-native-theme-for-content

Additionally, it breaks Flash and WebGL; see bug 1638466 for the latter.

Differential Revision: https://phabricator.services.mozilla.com/D81425
2020-06-29 22:32:10 +00:00
Noemi Erli b04c81aab3 Backed out changeset 397ad8a55255 (bug 1645046) for causing multiple wpt failures CLOSED TREE 2020-06-30 00:19:28 +03:00
sefeng 4132c41203 Bug 1645046 - Enable HTML5 dialog in Nightly r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D80045
2020-06-29 15:33:45 +00:00
Dale Harvey df928be821 Bug 1627555 - Update region if in new location for a length of time. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D79272
2020-06-27 08:14:11 +00:00
Dorel Luca d706a36326 Backed out changeset c1568e698723 (bug 1627555) for Devtools failures in /tests/browser_resources_several_resources.js. CLOSED TREE 2020-06-26 17:08:15 +03:00
Dragana Damjanovic 268766d0e7 Bug 1648532 - Add support for HTTP3 draft 29 and draft 28. r=michal,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81145
2020-06-26 11:03:07 +00:00
Dale Harvey ad16313f52 Bug 1627555 - Update region if in new location for a length of time. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D79272
2020-06-25 22:20:21 +00:00
Jonathan Kew 800ef13016 Backed out changeset ed8d5ec80203 (Bug 1533462) to revert the gfx.e10s.font-list.shared pref change.
Differential Revision: https://phabricator.services.mozilla.com/D81304
2020-06-26 09:05:00 +00:00
Cosmin Sabou e84886cc27 Backed out changeset b33756c2e334 (bug 1645046) for causing several HTML related failures. CLOSED TREE 2020-06-25 21:11:00 +03:00
Tom Tung 8b72b4c57b Bug 1619649 - Set the prefs for COOP header, COEP header, and postMessage SAB to true on all channels; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D80858
2020-06-24 18:25:06 +00:00
prathiksha bc85d62d8c Bug 1597358 - Create a backup of logins.json to use when logins.json is missing or corrupt. r=MattN
Depends on D78477

Differential Revision: https://phabricator.services.mozilla.com/D79688
2020-06-25 16:30:42 +00:00
sefeng a4e9869db7 Bug 1645046 - Enable HTML5 dialog in Nightly r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D80045
2020-06-18 22:22:21 +00:00
Narcis Beleuzu 4215791027 Backed out changeset cb9029d07271 (bug 1618013) for wr failures on will-change-fixedpos-cb-005.html 2020-06-25 12:44:21 +03:00
Erik Nordin 6b608e8023 Bug 1618013 - Enable backdrop-filter for early beta r=emilio
Resolution from intent-to-ship discussion is to release for early beta or earlier.

Differential Revision: https://phabricator.services.mozilla.com/D80528
2020-06-25 06:59:33 +00:00
Martin Stransky 4a8f96bbdc Bug 1646007 [Wayland] Check Wayland dmabuf backend and fallback to a default one, r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D79979
2020-06-25 05:57:40 +00:00
Delan Azabani 5dc229e516 Bug 1630935 - Add use counter and deprecation warning for STIXGeneral fonts. r=emilio
This patch adds the boolean pref mathml.stixgeneral_operator_stretching.disabled, which defaults to true iff nightly.

When the pref is true, stretched operators won’t be rendered with STIXGeneral, because we only use OpenType MATH tables (in fonts that have them) or the generic Unicode table.

When the pref is false, we continue to support STIXGeneral for stretched operators, but warn the author in devtools and bump the use counter (up to once per page). This only happens when a stretched operator actually uses STIXGeneral: not when we successfully render the operator with some other font earlier in the font-family stack, and not when STIXGeneral isn’t installed.

Differential Revision: https://phabricator.services.mozilla.com/D73833
2020-06-25 04:20:57 +00:00
Jason Laster 6c1b3966e2 Bug 1603204 - Enable windowless-service-workers for Release. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D80907
2020-06-24 16:44:06 +00:00
Marcos Cáceres c6692c02ca Bug 1647858 - Enable dom.manifest.enabled for all channels r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D80776
2020-06-24 08:34:44 +00:00
Tom Tung 3e754f2b5c Bug 1645943 - Override xFullPathname to avoid the use of GetFullPathNameW; r=janv,asuth
Differential Revision: https://phabricator.services.mozilla.com/D80202
2020-06-24 16:08:45 +00:00
Razvan Maries c54f50f342 Backed out changeset a10fc7b299ff (bug 1614969) for build bustages on nsContentSecurityUtils.cpp. CLOSED TREE 2020-06-24 13:23:02 +03:00
Sebastian Streich a9516ee4f5 Bug 1614969 - Check download with MixedContentBlocker r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D73302
2020-06-24 09:54:50 +00:00
Butkovits Atila c112069ef0 Backed out changeset 3685f83e0dc0 (bug 1614969) as requested by dev. 2020-06-23 15:22:21 +03:00
Sebastian Streich d8ff61ded5 Bug 1614969 - Check download with MixedContentBlocker r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D73302
2020-06-23 11:30:28 +00:00
Makoto Kato f8d53560e0 Bug 1490661 - Part 1. Support HTML.enterKeyHint in Nighly. r=webidl,smaug,hsivonen
On mobile platform, "ENTER" key on software keyboard key can sometimes
change to "Next" and etc. Although Firefox OS/Firefox Android have
`mozactionhint` attribute for its behaviour, This is standardized version
of it.

Chrome and Safari already support it now, so I would like to support this
on Firefox/GeckoView Nightly.

Differential Revision: https://phabricator.services.mozilla.com/D79641
2020-06-23 06:37:20 +00:00
Narcis Beleuzu 1a80f9b28e Backed out changeset 7549c5a5df5a (bug 1618013) for wr failures on will-change-abspos-cb-003.html . CLOSED TREE 2020-06-23 06:24:38 +03:00
Erik Nordin 3418e3aa8b Bug 1618013 - Enable backdrop-filter for early beta r=emilio
Resolution from intent-to-ship discussion is to release for early beta or earlier.

Differential Revision: https://phabricator.services.mozilla.com/D80528
2020-06-22 23:50:57 +00:00
Andrea Marchesini 7468c2f663 Bug 1642667 - Isolate alt-srv and connection pool per first-party when privacy.partition.network_state is set to true - part 2 - tests, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78083
2020-06-22 11:03:24 +00:00
Jonathan Kew 515e87f0e9 Bug 1533462 - Enable the cross-process shared font list by default on Nightly builds. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D79963
2020-06-18 22:07:44 +00:00
Kagami Sascha Rosylight 3ad076e375 Bug 1646240 - Default to visual selection direction on non-Linux Nightly r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D79939
2020-06-20 20:53:59 +00:00
Markus Stange 62a3d2cfa4 Bug 1592016 - Enable gfx.webrender.compositor by default on macOS. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D57071
2020-06-19 03:29:23 +00:00
Nihanth Subramanya 5ab95662ca Bug 1644444 - Update NextDNS endpoint URL and migrate pref values. r=valentin,prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D79627
2020-06-18 08:18:58 +00:00
Kershaw Chang 6bca92d00c Bug 1632881 - Clear gCallbackPref in Preferences::EnsureSnapshot, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D76671
2020-06-18 09:33:31 +00:00