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

16317 Коммитов

Автор SHA1 Сообщение Дата
Jeff Walden c6fca8a83a Bug 1543517 - Enable UTF-8 parsing of external (non-inline) and worker scripts unconditionally. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D38784

--HG--
extra : moz-landing-system : lando
2019-07-22 19:36:24 +00:00
Masayuki Nakano 1c2108934c Bug 1548389 - part 6: Add automated tests for new API and rendering of password fields r=m_kato,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D38010

--HG--
extra : moz-landing-system : lando
2019-07-22 03:55:13 +00:00
Nicholas Nethercote 7974362afd Bug 1567329 - Append `_AtStartup` to `once` static pref getters. r=erahm
Currently it's completely unclear at use sites that the getters for `once`
static prefs return the pref value from startup, rather than the current pref
value. (Bugs have been caused by this.) This commit improves things by changing
the getter name to make it clear that the pref value obtained is from startup.

This required changing things within libpref so it distinguishes between the
"base id" (`foo_bar`) and the "full id" (`foo_bar` or
`foo_bar_DoNotUseDirectly` or `foo_bar_AtStartup` or
`foo_bar_AtStartup_DoNotUseDirectly`; the name used depends on the `mirror` and
`do_not_use_directly` values in the YAML definition.) The "full id" is used in
most places, while the "base id" is used for the `GetPrefName_*` and
`GetPrefDefault_*` functions.

(This is a nice demonstration of the benefits of the YAML file, BTW. Making
this change with the old code would have involved adding an entry to every
single pref in StaticPrefList.h.)

The patch also rejigs the comment at the top of StaticPrefList.yaml, to clarify
some things.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 02:10:14 +00:00
Nicholas Nethercote 77d69c5853 Bug 1567329 - Change `_do_not_use_directly` suffixes to `_DoNotUseDirectly`. r=erahm
This better distinguishes it from the pref name part of the getter, which uses
snake case.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 02:09:55 +00:00
Nicholas Nethercote 7a3878cec2 Bug 1567329 - Change some mentions of StaticPrefList.h to StaticPrefList.yaml. r=erahm
This is fall-out from bug 1564724.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 02:09:36 +00:00
Emilio Cobos Álvarez 394f88d9ae Bug 1562749 - media.hls.enabled should be atomic, since it can be accessed from workers. 2019-07-21 22:02:34 +02:00
Emilio Cobos Álvarez 681bfa133c No bug - Fix an error in StaticPrefList documentation.
The right value is `always`, not `live`.
2019-07-20 17:44:54 +02:00
Ciure Andrei 5c3acc71ee Backed out changeset 3b2470f9ae71 (bug 1566369) for causing high frequency failure on test_peerConnection_replaceTrack.html CLOSED TREE 2019-07-20 12:22:35 +03:00
Mihai Alexandru Michis 84f48db8a1 Merge autoland to mozilla-central. a=merge 2019-07-20 00:53:19 +03:00
Tom Ritter e1cf674e11 Bug 1567499 - Re-allow eval with system principal on Nightly while we investigate crashes. r=smaug, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D38682
2019-07-19 13:20:40 -04:00
Bogdan Tara 52d02305c2 Backed out changeset db7b66954bde (bug 1507495) for ES lint failure on geckoview.js CLOSED TREE 2019-07-19 19:42:47 +03:00
Charlie Marlow f66a867469 Bug 1567282: renamed text-decoration-width to text-decoration-thickness r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D38586

--HG--
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-computed.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-computed.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-initial.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-initial.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-invalid.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-invalid.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-linethrough-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-linethrough-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-overline-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-overline-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-scroll-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-scroll-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-underline-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-underline-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-valid.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-valid.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-vertical-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-vertical-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-vertical-002.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-vertical-002.html.ini
rename : testing/web-platform/meta/css/css-typed-om/the-stylepropertymap/properties/text-decoration-width.html.ini => testing/web-platform/meta/css/css-typed-om/the-stylepropertymap/properties/text-decoration-thickness.html.ini
rename : testing/web-platform/tests/css/css-text-decor/reference/text-decoration-width-001-notref.html => testing/web-platform/tests/css/css-text-decor/reference/text-decoration-thickness-001-notref.html
rename : testing/web-platform/tests/css/css-text-decor/reference/text-decoration-width-green-rect-ref.html => testing/web-platform/tests/css/css-text-decor/reference/text-decoration-thickness-green-rect-ref.html
rename : testing/web-platform/tests/css/css-text-decor/reference/text-decoration-width-scroll-001-ref.html => testing/web-platform/tests/css/css-text-decor/reference/text-decoration-thickness-scroll-001-ref.html
rename : testing/web-platform/tests/css/css-text-decor/reference/text-decoration-width-vertical-green-rect-ref.html => testing/web-platform/tests/css/css-text-decor/reference/text-decoration-thickness-vertical-green-rect-ref.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-computed.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-computed.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-initial.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-initial.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-invalid.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-invalid.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-linethrough-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-linethrough-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-overline-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-overline-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-scroll-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-scroll-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-underline-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-underline-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-valid.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-valid.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-vertical-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-vertical-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-vertical-002.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-vertical-002.html
rename : testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-decoration-width.html => testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-decoration-thickness.html
extra : moz-landing-system : lando
2019-07-19 16:33:08 +00:00
Olli Pettay 345ad4ab17 Bug 1507495, Enable Pointer events on GeckoView by default, r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D38528

--HG--
extra : moz-landing-system : lando
2019-07-19 13:31:56 +00:00
Brendan Dahl 05313e0a99 Bug 1567352 - Whitelist about:devtools-toolbox for not having CSP yet. r=ckerschb
When about:devtools-toolbox is loaded as XHTML the CSP assertion triggers.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 06:35:19 +00:00
sotaro 8f7c96a032 Bug 1567347 - Add option of using DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL without DirectComposition r=nical
Differential Revision: https://phabricator.services.mozilla.com/D38588

--HG--
extra : moz-landing-system : lando
2019-07-19 09:26:03 +00:00
Oana Pop Rus eec75f66cd Merge inbound to mozilla-central. a=merge 2019-07-19 06:57:32 +03:00
Olli Pettay 7c88ba1685 Bug 1539497, navigator.maxTouchPoints returns 0 in child process, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D38583

--HG--
extra : amend_source : 52f1fdbf79f18a6c3ff52eab0a45b397cee76baf
2019-07-19 01:45:16 +03:00
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