Commit Graph

16300 Commits

Author SHA1 Message Date
Tom Ritter
87cbad22ea Bug 1564527 - Enable AssertEvalNotUsingSystemPrincipal on Nightly builds r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D37460

--HG--
extra : moz-landing-system : lando
2019-07-18 18:22:06 +00:00
Emilio Cobos Álvarez
f34964f6bc Bug 1564466 - Make MediaSource not call Preferences::GetBool off-main-thread. r=jya
Preferences::GetBool is not thread-safe, StaticPrefs are.
Also StaticPrefs are nicer anyway.

There's a lot of Preferences:: usage in dom/media which looks suspicious, though
I don't know if all that runs on the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D38097

--HG--
extra : moz-landing-system : lando
2019-07-18 13:06:17 +00:00
Paul Adenot
838a47ae50 Bug 1566369 - Lower the audioipc thread pool thread count to 1 on Linux. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D38170

--HG--
extra : moz-landing-system : lando
2019-07-18 02:20:42 +00:00
Nicholas Nethercote
151f1c1281 Bug 1564724 - Remove the old hand-written StaticPrefList.h. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D37816

--HG--
extra : moz-landing-system : lando
2019-07-18 04:15:55 +00:00
Nicholas Nethercote
de6330a49b Bug 1564724 - Generate StaticPrefList.h from StaticPrefList.yaml. r=glandium
This commit introduces StaticPrefList.yaml, which encodes the same information
as StaticPrefList.h. The .yaml file was generated with a script, which is not
part of this commit because it only needs to be used once. (I will attach it to
the bug, however.)

The commit doesn't remove StaticPrefList.h, I will do that in the next commit.
(This makes things it easier to rerun the header-to-YAML script if/when
necessary.) The commit does modify the comment at the top of StaticPrefList.h;
that modified comment can also be seen at the top of StaticPrefList.yaml.

This commit also adds a script that converts the YAML to a header file. This
script becomes part of the build.

I have done my best to verify that the conversion is correct by comparing the
original .h file with the one generated from the YAML file. They are identical,
modulo removed comments and the processing of preprocessor directives.

Differential Revision: https://phabricator.services.mozilla.com/D37526

--HG--
extra : moz-landing-system : lando
2019-07-18 00:08:20 +00:00
Nicholas Nethercote
70de90ef56 Bug 1564724 - Tweak StaticPrefList.h. r=glandium
Minor things to ease the transition to StaticPrefList.yaml.

- Rename apz_touch_drag_enabled() to the correct apz_drag_touch_enabled(), and
  media_mwf_low_latency_force_disabled() to the correct
  media_wmf_low_latency_force_disabled().

- Change some trailing C-style comments to C++-style comments. This makes life
  easier for the script I wrote to convert StaticPrefList.h to
  StaticPrefList.yaml, which will be used for the next patch.

- Avoid comments on #define lines, because they aren't handled in the YAML
  input.

- Convert a multi-line `#if` condition to a single line, because
  Preprocessor.py doesn't handle multi-line conditions.

- Remove one unnecessary `#undef PREF_VALUE` directive.

- Move intl.charset.detector.iso2022jp.allowed to the correct section, so the
  YAML processing script won't complain.

- Change an `int` pref to `int32_t`, again so the YAML processing script won't
  complain.

- Change OS_OPENBSD to XP_OPENBSD, because the former isn't defined for
  preprocessor.py. (It's also only defined in C/C++ when chromium-config.h is
  included, which isn't always the case.)

Differential Revision: https://phabricator.services.mozilla.com/D37815

--HG--
extra : moz-landing-system : lando
2019-07-17 22:36:35 +00:00
Xidorn Quan
6aee66b8fb Bug 1403085 - Add a pref to use native full screen for Fullscreen API on macOS. r=spohl,dao
Differential Revision: https://phabricator.services.mozilla.com/D37151

--HG--
extra : moz-landing-system : lando
2019-07-17 13:31:41 +00:00
Markus Stange
6356d8ee08 Bug 1565668 - Add an off-by-default preference called gfx.core-animation.enabled. r=jrmuizel
This preference doesn't do anything yet but having it at this point in the
patch stack lets me untangle things a bit.

Differential Revision: https://phabricator.services.mozilla.com/D37914

--HG--
extra : moz-landing-system : lando
2019-07-17 20:46:14 +00:00
Tom Ritter
bbc642431a Bug 1560183 - Re-enable the RDD Process for MinGW builds r=jya
Bug 1557844 fixed (inadvertently) the failures we were getting with RDD

Differential Revision: https://phabricator.services.mozilla.com/D38263

--HG--
extra : moz-landing-system : lando
2019-07-17 11:40:32 +00:00
Nicholas Nethercote
381d39648e Bug 1566720 - Properly disable AV1 on Android. r=jya
`ANDROID` is a preprocessor constant; `Android` is not.

Differential Revision: https://phabricator.services.mozilla.com/D38270

--HG--
extra : moz-landing-system : lando
2019-07-17 20:41:37 +00:00
Razvan Maries
adc6758e36 Backed out 2 changesets (bug 1564466) for perma fails on EnsureMTA.h. CLOSED TREE
Backed out changeset 8011dd41d7d3 (bug 1564466)
Backed out changeset b162d0e42bee (bug 1564466)
2019-07-17 22:48:41 +03:00
Jonas Allmann
99aa2c2af6 Bug 1560915 - Hardcode minimal eval()-whitelist for test files into eval()-assertion, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D37695

--HG--
extra : moz-landing-system : lando
2019-07-17 12:21:29 +00:00
Emilio Cobos Álvarez
ec51c3a362 Bug 1564466 - Make MediaSource not call Preferences::GetBool off-main-thread. r=jya
Preferences::GetBool is not thread-safe, StaticPrefs are.
Also StaticPrefs are nicer anyway.

There's a lot of Preferences:: usage in dom/media which looks suspicious, though
I don't know if all that runs on the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D38097

--HG--
extra : moz-landing-system : lando
2019-07-17 12:56:39 +00:00
Christoph Kerschbaumer
110a817c1a Bug 1497209: Apply Meta CSP to about:sessionrestore and about:welcomeback. r=Gijs,vporof
Differential Revision: https://phabricator.services.mozilla.com/D38081

--HG--
extra : moz-landing-system : lando
2019-07-17 11:22:35 +00:00
Olli Pettay
7f18b121db Bug 1566573, Add prefs to control idle time limits, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D38242

--HG--
extra : moz-landing-system : lando
2019-07-17 09:19:44 +00:00
Mike Hommey
9f33118c8c Bug 1562952 - Always build signmar when mar is built. r=nalexander
When we build mar, there is no reason not to build signmar as well. It
used to be optional because not all platforms were supported, but they
are now.

... except when building the newly added tools/update-packaging,
which builds the mar tool as a standalone thing, and building signmar
as well causes complications.

Differential Revision: https://phabricator.services.mozilla.com/D36992

--HG--
extra : moz-landing-system : lando
2019-07-16 19:01:03 +00:00
Mike Hommey
2e02a47093 Bug 1562952 - #ifdef-out NSS and certificate-related flags with NO_SIGN_VERIFY. r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D36991

--HG--
extra : moz-landing-system : lando
2019-07-11 21:08:47 +00:00
Bogdan Tara
c1cc91034d Backed out changeset 4361f6129d9a (bug 1563313) for org.mozilla.geckoview.test.NavigationDelegateTest.bypassClassifier failures CLOSED TREE 2019-07-16 23:36:48 +03:00
Andrea Marchesini
5d380990f9 Bug 1563313 - URL-Classifier should process nsIChannel before the proxy, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D36872

--HG--
extra : moz-landing-system : lando
2019-07-16 14:16:49 +00:00
Sylvestre Ledru
e77bfc655d Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D38057

--HG--
extra : moz-landing-system : lando
2019-07-16 07:33:44 +00:00
Byron Campen [:bwc]
5498779c1d Bug 1555792: Set the socket-process-isolation prefs to true on nightly. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D33643

--HG--
extra : moz-landing-system : lando
2019-07-11 14:49:47 +00:00
Mihai Alexandru Michis
2f578529ea Backed out changeset 91f2821b4bfa (bug 1563313) for xpcshell failures CLOSED TREE 2019-07-16 00:15:17 +03:00
Andrea Marchesini
4e5ad511f5 Bug 1563313 - URL-Classifier should process nsIChannel before the proxy, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D36872

--HG--
extra : moz-landing-system : lando
2019-07-15 19:57:23 +00:00
Michael Froman
9ade78d985 Bug 1560368 - add Opus decoding on RDD. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D37620

--HG--
extra : moz-landing-system : lando
2019-07-11 14:07:24 +00:00
Ciure Andrei
6a2a7ad8b6 Backed out 3 changesets (bug 1563313) for causing various xpcshell tests to perma fail CLOSED TREE
Backed out changeset 55ecf0dacd00 (bug 1563313)
Backed out changeset 624d3e47b069 (bug 1563313)
Backed out changeset 5c7df32d9028 (bug 1563313)
2019-07-15 15:46:04 +03:00
Andrea Marchesini
4125bd28aa Bug 1563313 - URL-Classifier should process nsIChannel before the proxy, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D36872

--HG--
extra : moz-landing-system : lando
2019-07-15 11:35:59 +00:00
Christoph Kerschbaumer
5a187ae11e Bug 1497197: Apply Meta CSP to about:debugging. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D37369

--HG--
extra : moz-landing-system : lando
2019-07-15 08:01:27 +00:00
Jan de Mooij
d5de1f486e Bug 1564017 part 7 - Enable the Baseline Interpreter in the browser. r=tcampbell
The 50 threshold for Baseline is pretty arbitrary and will likely change later.

Differential Revision: https://phabricator.services.mozilla.com/D37214

--HG--
extra : moz-landing-system : lando
2019-07-13 11:21:12 +00:00
Gijs Kruitbosch
c097971fe3 Bug 1560178 - disallow unsafe loads in the parent, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D36312

--HG--
extra : moz-landing-system : lando
2019-07-12 16:29:01 +00:00
Dorel Luca
77d61d6a6f Backed out 5 changesets (bug 1560178) for Browser-chrome failures in builds/worker/workspace/build/src/dom/base/Document.cpp. CLOSED TREE
Backed out changeset 1ff8a41dd3c1 (bug 1560178)
Backed out changeset 4aaeda889656 (bug 1560178)
Backed out changeset b1dfc0b5a14c (bug 1560178)
Backed out changeset 45fca0f1b675 (bug 1560178)
Backed out changeset fc2be64e4ece (bug 1560178)
2019-07-12 18:38:34 +03:00
Honza Bambas
3f225511a3 Bug 1565518, emergency preferences to turn off individual bug fixes: 1563695, 1556491, 1562315, r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D37848

--HG--
extra : moz-landing-system : lando
2019-07-12 12:55:41 +00:00
Gijs Kruitbosch
c16328f6e2 Bug 1560178 - disallow unsafe loads in the parent, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D36312

--HG--
extra : moz-landing-system : lando
2019-07-12 12:36:33 +00:00
Christoph Kerschbaumer
d0817ff762 Bug 1497203: Apply Meta CSP to about:plugins. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37727

--HG--
extra : moz-landing-system : lando
2019-07-12 06:47:42 +00:00
Nicholas Nethercote
624de194fe Bug 1565110 - Rename abc.def and ghi.jkl prefs as dom.webidl.test[12]. r=bzbarsky
Depends on D37669

Differential Revision: https://phabricator.services.mozilla.com/D37670

--HG--
extra : moz-landing-system : lando
2019-07-12 04:39:12 +00:00
Nicholas Nethercote
513c4daee5 Bug 1565110 - Move geo.enabled pref to the right place in StaticPrefList.h. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D37669

--HG--
extra : moz-landing-system : lando
2019-07-12 04:38:42 +00:00
Csoregi Natalia
fcccd2b6b0 Merge mozilla-central to autoland. CLOSED TREE 2019-07-12 02:06:45 +03:00
Bogdan Tara
4d6dbdf94c Backed out 2 changesets (bug 1562952) for causing mar-tools failures a=backout
Backed out changeset 6b09d4c0868c (bug 1562952)
Backed out changeset 250696e18e7d (bug 1562952)
2019-07-12 00:04:53 +03:00
Michael Froman
c0b45a73e5 Bug 1560366 - add WAV decoding on RDD. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D37619

--HG--
extra : moz-landing-system : lando
2019-07-11 19:43:56 +00:00
Emilio Cobos Álvarez
2189015730 Bug 1565129 - Re-introduce plain_text.wrap_long_lines. r=bzbarsky
Looks like some users use it, and it's not too much effort to support. This is
somewhat simpler, and IMO better than what existed before bug 1514655 because:

 * It doesn't regress bidi rendering when the pref is disabled (before, the pref
   would prevent plaintext.css from applying altogether).

 * It's consistent with the way view-source docs work.

 * It doesn't use non-standard stylesheet APIs to toggle the stylesheet
   (bug 1260720).

Differential Revision: https://phabricator.services.mozilla.com/D37742

--HG--
extra : moz-landing-system : lando
2019-07-11 18:49:50 +00:00
Bogdan Tara
42dd9fda24 Backed out changeset 93cfc2131ea5 (bug 1497203) for config/tests/test_mozbuild_reading.py related build bustages CLOSED TREE 2019-07-11 21:40:20 +03:00
Bogdan Tara
fa0329b09b Backed out changeset 6f468ad73df2 (bug 1565129) for causing leaks CLOSED TREE 2019-07-11 21:00:59 +03:00
Christoph Kerschbaumer
595d08b747 Bug 1497203: Apply Meta CSP to about:plugins. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37727

--HG--
extra : moz-landing-system : lando
2019-07-11 16:36:11 +00:00
Emilio Cobos Álvarez
f75dd725f5 Bug 1565129 - Re-introduce plain_text.wrap_long_lines. r=bzbarsky
Looks like some users use it, and it's not too much effort to support. This is
somewhat simpler, and IMO better than what existed before bug 1514655 because:

 * It doesn't regress bidi rendering when the pref is disabled (before, the pref
   would prevent plaintext.css from applying altogether).

 * It's consistent with the way view-source docs work.

 * It doesn't use non-standard stylesheet APIs to toggle the stylesheet
   (bug 1260720).

Differential Revision: https://phabricator.services.mozilla.com/D37742

--HG--
extra : moz-landing-system : lando
2019-07-11 16:32:08 +00:00
Jonas Allmann
3feb30bb0d Bug 1547718, Remove preferenceBindings.js from eval()-whitelist, r=Gijs
Work in progress.
Add callback infrastructure to preferenceBindings to replace XUL-attributes.

Differential Revision: https://phabricator.services.mozilla.com/D32326

--HG--
extra : moz-landing-system : lando
2019-07-11 09:37:59 +00:00
Nicholas Nethercote
2a3b9bca8d Bug 1562305 - Make privacy.sanitize.sanitizeOnShutdown and privacy.clearOnShutdown.cache static prefs. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37195

--HG--
extra : moz-landing-system : lando
2019-07-11 04:38:36 +00:00
Nicholas Nethercote
0001b36344 Bug 1562305 - Make browser.cache.max_shutdown_io_lag a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37192

--HG--
extra : moz-landing-system : lando
2019-07-11 04:38:36 +00:00
Nicholas Nethercote
0d47e90e70 Bug 1562305 - Remove browser.cache.compression_level pref. r=michal
It's unused.

Differential Revision: https://phabricator.services.mozilla.com/D37191

--HG--
extra : moz-landing-system : lando
2019-07-11 04:13:45 +00:00
Nicholas Nethercote
7f3b5b80c6 Bug 1562305 - Make browser.cache.disk.max_{,priority_}chunks_memory_usage static prefs. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37190

--HG--
extra : moz-landing-system : lando
2019-07-11 04:13:21 +00:00
Nicholas Nethercote
eb1b20a058 Bug 1562305 - Make browser.cache.memory.max_entry_size a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37189

--HG--
extra : moz-landing-system : lando
2019-07-11 04:12:59 +00:00
Nicholas Nethercote
3a80622aef Bug 1562305 - Make browser.cache.disk.max_entry_size a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37187

--HG--
extra : moz-landing-system : lando
2019-07-11 04:12:36 +00:00