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

16705 Коммитов

Автор SHA1 Сообщение Дата
kriswright 6c57b2f2a8 Bug 1573268 - Convert layout.animated-image-layers.enabled to static pref. r=njn
Converts layout.animated-image-layers.enabled to a static pref and removes the nsLayoutUtils::AnimatedImageLayersEnabled() function, replacing it with the static pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 00:03:38 +00:00
kriswright 8c68307d03 Bug 1573268 - Convert two layers.offmainthreadcomposition.* prefs to static prefs. r=njn
Converts layers.offmainthreadcomposition.async-animations and layers.offmainthreadcomposition.log-animations to their respective static prefs. Since all IsAnimationLoggingEnabled() did was create a pref and return the variable sShouldLog, this function is removed and replaced with the static pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 00:02:12 +00:00
Charlie Marlow adbc6584d9 Bug 1572800: Part 1: Enable text-decoration-skip-ink by default on Nightly (and early-beta and earlier) r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D41881

--HG--
extra : moz-landing-system : lando
2019-08-14 17:49:19 +00:00
Charlie Marlow dea58fc0bb Bug 1573725: turn on the pref for text-decoration-thickness on by default (in early-beta and earlier) r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D41883

--HG--
extra : moz-landing-system : lando
2019-08-14 16:46:18 +00:00
Charlie Marlow 75ab192bc4 Bug 1573724: turn text-underline-offset pref on by default (in early-beta and earlier) r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D41882

--HG--
extra : moz-landing-system : lando
2019-08-14 16:45:14 +00:00
Ciure Andrei 566e7e2e28 Backed out 6 changesets (bug 1572590) for causing browser_parsable_script.js to perma fail CLOSED TREE
Backed out changeset ebe2ebcca7b3 (bug 1572590)
Backed out changeset 2b5c252ee874 (bug 1572590)
Backed out changeset 5f0649891808 (bug 1572590)
Backed out changeset fedd2e1da156 (bug 1572590)
Backed out changeset 8dc530a45e3f (bug 1572590)
Backed out changeset 1bba9cf0078b (bug 1572590)
2019-08-14 16:40:02 +03:00
Sebastian Streich d9aecc626c Bug 1570658 - Add a Flag for Navigation-Nosniff r=ckerschb
***
Revert Changes to Test

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

--HG--
extra : moz-landing-system : lando
2019-08-14 07:07:33 +00:00
Nicholas Nethercote 38472db4fd Bug 1572590 - Indent conditionally-defined prefs in all.js. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D41304

--HG--
extra : moz-landing-system : lando
2019-08-14 08:18:52 +00:00
Nicholas Nethercote 4d30f455e5 Bug 1572590 - Indent conditionally-defined prefs in StaticPrefList.yaml. r=KrisWright
The patch also indents some comments within conditional blocks, which improves
readability.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 08:18:43 +00:00
Olli Pettay 1373bb3701 Bug 1563587, Make history.back/forward/go asynchronous, r=farre
The main part of the change is the change to ChildSHistory - make it possible to have Go() to be called asynchronously
and also let one to cancel pending history navigations. History object (window.history) can then use either the sync or
async Go(), depending on the dom.window.history.async pref.

LoadDelegate, which is used by GeckoView, needs special handling, since
it spins event loop nestedly. With session history loads and same-document loads we can just
bypass it.
To deal with same-document case, MaybeHandleSameDocumentNavigation is split to IsSameDocumentNavigation,
which collects relevant information about the request and returns true if same-document navigation should happen,
and then later HandleSameDocumentNavigation uses that information to trigger the navigation.
SameDocumentNavigationState is used to pass the information around.

referrer-policy-test-case.sub.js is buggy causing tests to pass only on Firefox with sync history API.

nested-context-navigations-iframe.html.ini is added because of https://bugzilla.mozilla.org/show_bug.cgi?id=1572932

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

--HG--
extra : moz-landing-system : lando
2019-08-14 06:38:47 +00:00
Nicholas Nethercote dd9bd0a9f7 Bug 1572622 - Merge remote.js into all.js. r=ato
This makes prefs definition simpler, more consistent, and less error-prone.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 23:49:39 +00:00
Nicholas Nethercote 3aa9f46986 Bug 1572336 - Merge marionette.js into all.js. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41151

--HG--
extra : moz-landing-system : lando
2019-08-13 23:49:39 +00:00
Hiroyuki Ikezoe a2a3c33989 Bug 1508177 - Expand the minimum scale height even if the expanded area doesn't contain any contents. r=botond
As a result of the expansion, position:fixed elements are attached to the
expanded layout viewport.

The expanded value is used behind a pref which is enabled by default on nightly
initially, and the pref will be fliped in bug 1571599 on other channels.

scrollbars-in-landscape-content.html still fails since the vertical overlay
scrollbar doesn't appear since we are not yet using the expanded value during
reflow to tell whether we need overlay scrollbars or not.  This will be fixed
by the next commit.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:37:57 +00:00
Jan Andre Ikenmeyer e92e3d02f6 Bug 1560699 - Download FTP resources instead of rendering them. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D39702

--HG--
extra : moz-landing-system : lando
2019-08-11 20:46:06 +00:00
Coroiu Cristina 3745a4a26f Backed out 2 changesets (bug 1563587) for junit failures on a CLOSED TREE
Backed out changeset d07f2e7d6f5e (bug 1563587)
Backed out changeset a365d3c43261 (bug 1563587)
2019-08-13 22:33:52 +03:00
Olli Pettay 924f5f1a55 Bug 1563587, Make history.back/forward/go asynchronous, r=farre
The main part of the change is the change to ChildSHistory - make it possible to have Go() to be called asynchronously
and also let one to cancel pending history navigations. History object (window.history) can then use either the sync or
async Go(), depending on the dom.window.history.async pref.

LoadDelegate, which is used by GeckoView, needs special handling, since
it spins event loop nestedly. With session history loads and same-document loads we can just
bypass it.
To deal with same-document case, MaybeHandleSameDocumentNavigation is split to IsSameDocumentNavigation,
which collects relevant information about the request and returns true if same-document navigation should happen,
and then later HandleSameDocumentNavigation uses that information to trigger the navigation.
SameDocumentNavigationState is used to pass the information around.

referrer-policy-test-case.sub.js is buggy causing tests to pass only on Firefox with sync history API.

nested-context-navigations-iframe.html.ini is added because of https://bugzilla.mozilla.org/show_bug.cgi?id=1572932

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

--HG--
extra : moz-landing-system : lando
2019-08-13 17:11:35 +00:00
Masayuki Nakano 8870cb5d53 Bug 1572681 - part 5: Get rid of `TextEditRules::mDeleteBidiImmediately` r=m_kato
`TextEditRules::mDeleteBidiImmediately` is cache of
`bidi.edit.delete_immediately` pref value at creation time of `TextEditRules`.
However, this is referred when user removes selection.  So, there is no
reason to keep same behavior starting from editor creation.  In other words,
it must be better to take same behavior in all editor instances.

Therefore, we should remove it and the pref value should be referred directly
when user tries to remove selection.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 04:41:51 +00:00
Nicholas Nethercote 89e8b16702 Bug 1573364 - Convert svg.context-properties.content.enabled to a static pref. r=heycam
Depends on D41698

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

--HG--
extra : moz-landing-system : lando
2019-08-13 04:58:06 +00:00
Nicholas Nethercote 516383ef66 Bug 1573364 - Convert svg.new-getBBox.enabled to a static pref. r=heycam
Also remove nsSVGUtils::Init(), which is no longer necessary.

Depends on D41697

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

--HG--
extra : moz-landing-system : lando
2019-08-13 04:55:09 +00:00
Nicholas Nethercote efead97995 Bug 1573364 - Convert svg.display-lists.*.enabled to static prefs. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D41697

--HG--
extra : moz-landing-system : lando
2019-08-13 04:53:58 +00:00
Jon Coppeard 992d6b6ce5 Bug 1570905 - Rework the GC triggers to make the incremental trigger the default and the non-incremental trigger some factor of this r=sfink?
Differential Revision: https://phabricator.services.mozilla.com/D41606

--HG--
extra : moz-landing-system : lando
2019-08-13 08:40:36 +00:00
dlee 56a1409a1d Bug 1573176 - Fix SafeBrowsing doesn't use correct preference name for social tracking and cryptoming. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41645

--HG--
extra : moz-landing-system : lando
2019-08-13 07:51:50 +00:00
Sylvestre Ledru 645f2d5773 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-08-13 07:15:25 +00:00
Ehsan Akhgari 64cd489087 Bug 1560741 - Part 1: Disallow notification permission requests from cross-origin iframes; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41305

--HG--
extra : moz-landing-system : lando
2019-08-12 21:38:58 +00:00
Brindusan Cristian 29eb45c017 Backed out 2 changesets (bug 1560741) for mochitest failures at test_permission_isHandlingUserInput.xul. CLOSED TREE
Backed out changeset c08aa2078829 (bug 1560741)
Backed out changeset 9dc1d39d2786 (bug 1560741)
2019-08-13 00:23:59 +03:00
Ehsan Akhgari e4baf25054 Bug 1560741 - Part 1: Disallow notification permission requests from cross-origin iframes; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41305

--HG--
extra : moz-landing-system : lando
2019-08-12 19:34:35 +00:00
Nicholas Nethercote d138bffba8 Bug 1572582 - Merge healthreport-prefs.js into all.js. r=chutten
This makes prefs definition simpler, more consistent, and less error-prone.

The patch also changes the form of the "not Android" condition to one used more
widely in all.js.

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

--HG--
extra : moz-landing-system : lando
2019-08-11 23:31:30 +00:00
Nicholas Nethercote 0f5a239170 Bug 1572582 - Merge datareporting-prefs.js into all.js. r=chutten
This makes prefs definition simpler, more consistent, and less error-prone.

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

--HG--
extra : moz-landing-system : lando
2019-08-11 23:31:12 +00:00
Botond Ballo 84e43ba944 Bug 1528775 - Disable immediate handoff on all platforms. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D41434

--HG--
extra : moz-landing-system : lando
2019-08-09 19:45:57 +00:00
Christoph Kerschbaumer 813386bebb Bug 1497189: Apply Meta CSP to about:addons. r=Ehsan,robwu
Differential Revision: https://phabricator.services.mozilla.com/D39918

--HG--
extra : moz-landing-system : lando
2019-08-09 12:31:15 +00:00
Nicholas Nethercote 41a012cce7 Bug 1572621 - Merge services-sync.js into all.js. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D41323

--HG--
extra : moz-landing-system : lando
2019-08-09 09:18:41 +00:00
Nicholas Nethercote 73d5a12400 Bug 1572621 - Merge services-common.js into all.js. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D41322

--HG--
extra : moz-landing-system : lando
2019-08-09 09:18:27 +00:00
Nicholas Nethercote 187ada3c7d Bug 1569526 - Remove CacheData. r=froydnj
A `CacheData` object holds two things: a VarCache/mirror variable address, and
a default value. The previous patch removed the use of the default value.
Therefore, `CacheData` now only holds an address, so there's no need for a
distinct heap object for it, and we can eliminate `CacheData` entirely and just
use the mirror variable address (a `void*`) directly.

The removal of the `CacheData` objects removes one reason for `gCacheData` to
exist (which is to have an owner for those objects). The other reason is to
detect if two or more prefs get VarCached onto a single variable. But given
that VarCaches are on the way out in favour of static prefs (bug 1448219) this
checking is no longer important. So the commit removes `gCacheData` as well.

The above changes save 20-32 KiB per process on 64-bit platforms.

The patch also removes `gCacheDataDesc`, a diagnostic thing from bug 1276488
that isn't relevant with `gCacheData` removed. This means the return type of
`InitInitialObjects` can be simplified.

Finally, the commit renames a few things, taking another step along the path of
renaming VarCache prefs as mirrored prefs, a much better name.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 00:59:46 +00:00
Nicholas Nethercote ec0336e701 Bug 1569526 - Don't use default values as fallbacks for VarCache prefs. r=froydnj
This patch changes how a VarCache pref works when deleted (in some cases) --
the VarCache variable keeps its existing value instead of being reset to a
pre-specified default.

In bug 1570212 I have made sure that no VarCache prefs exhibit this behaviour
in practice any more, so this change should not affect functionality. There is
an assertion that checks this.

The next patch will take advantage of this change by removing the need to
store the pre-specified defaults, which will save memory.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 00:59:34 +00:00
Nicholas Nethercote 18a61c2721 Bug 1570212 - Remove `privacy.resistFingerprinting.*` VarCache prefs. r=tjr
The patch:
- changes `privacy.resistFingerprinting.target_video_res` to a static pref;
- changes `privacy.resistFingerprinting.video_frames_per_sec` and
  `privacy.resistFingerprinting.video_dropped_ratio` to code constants;
- removes the unused `RFP_TIMER_VALUE_DEFAULT` and `RFP_JITTER_VALUE_DEFAULT`
  constants.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 00:59:21 +00:00
Nicholas Nethercote 55893303ab Bug 1570212 - Clean up `privacy.*` static pref definitions. r=tjr
Fix overly-long lines, add '.' to the end of sentences, put things in a more
sensible order, etc. (No functional changes.)

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

--HG--
extra : moz-landing-system : lando
2019-08-09 00:59:07 +00:00
Nicholas Nethercote c07a7357a2 Bug 1570212 - Convert content.cors.disable to a static pref. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D40341

--HG--
extra : moz-landing-system : lando
2019-08-09 00:58:31 +00:00
Ehsan Akhgari 54f399c914 Bug 1569224 - Part 2: Add a unit test for examining the alt-svc cache isolation for third-party trackers; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D41141

--HG--
rename : toolkit/components/antitracking/test/browser/browser_tlsSessionTickets.js => toolkit/components/antitracking/test/browser/browser_networkIsolation.js
extra : moz-landing-system : lando
2019-08-08 22:04:25 +00:00
alwu 4f341cb99b Bug 1565689 - part3 : use static pref to control audio competing. r=baku
We don't want to enable audio competing by default, so hide this feature behind a static pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 01:46:06 +00:00
Tom Ritter fdb3fb1c9e Bug 1572557 - Clarify a confusing comment in two security prefs
Differential Revision: https://phabricator.services.mozilla.com/D41286

--HG--
extra : moz-landing-system : lando
2019-08-08 21:42:16 +00:00
Nicholas Nethercote 0c1c7fcd20 Bug 1563555 - Rename sVarCache_* as sMirror_*. r=KrisWright
Another step in the renaming of VarCache variables as mirror variables,
matching the 'mirror' field used in StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 21:33:22 +00:00
Nicholas Nethercote 4ee7b811de Bug 1563555 - Don't bindgen static prefs. r=emilio
Bindgen is no longer necessary now that Rust bindings are generated by
generate_static_pref_list.py.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 21:33:15 +00:00
Kristen Wright 8f762fbd63 Bug 1571544 - Convert privacy.fuzzyfox.clockgrainus to static pref. r=njn
Converts privacy.fuzzyfox.clockgrainus varcache pref to a static pref. This pref used two #define values, which I also removed.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 17:00:19 +00:00
Kristen Wright b7b95930c5 Bug 1571544 - Convert mozilla.widget.disable-native-theme to static pref. r=njn
Converts mozilla.widget.disable-native-theme varcache pref to a static pref and updates uses of its associated global variable with the pref. This also renames the pref to widget.disable-native-theme to group with other widget prefs.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 23:05:05 +00:00
Kristen Wright 5855268c8e Bug 1571544 - Convert the two layout.framevisibility.amountscrollbeforeupdate* prefs to static prefs. r=njn
Converts layout.framevisibility.amountscrollbeforeupdatevertical and layout.framevisibility.amountscrollbeforeupdatehorizontal to static prefs.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 23:30:33 +00:00
Kristen Wright 24117f02d3 Bug 1571544 - Convert dom.largeAllocation.testing.allHttpLoads to static pref. r=njn
Converts dom.largeAllocation.testing.allHttpLoads varcache pref to a static pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 23:28:34 +00:00
Kristen Wright a4cb27d0c6 Bug 1571544 - Convert two dom.ipc.processPriorityManager.* prefs to static prefs. r=njn
Converts dom.ipc.processPriorityManager.backgroundPerceivableGracePeriodMS and dom.ipc.processPriorityManager.backgroundGracePeriodMS to static prefs and removes the initializer function they were in, as they were the last prefs initialized there.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 23:26:45 +00:00
Kristen Wright 96dd3a5524 Bug 1571544 - Convert dom.ipc.processPreLaunch.delayms to static pref. r=njn
Converts dom.ipc.processPreLaunch.delayms varcache pref to a static pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 22:58:15 +00:00
Junior Hsu 2247427ef2 Bug 1543068 - P1 Substitute Cross-Origin header with COEP r=nika
(a) Substitute Cross-Origin header with COEP
(b) Forcing cors in FetchDriver is removed since COEP doesn't need to IIUC

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

--HG--
extra : moz-landing-system : lando
2019-08-08 18:38:03 +00:00
Mark Banner ae67ac398a Bug 1572141 - Add nsISearchService.originalDefaultPrivateEngine to return the private browsing engine from the configuration. r=daleharvey
test_list_json_searchdefault.js is repurposed, as the tests in the searchconfig sub-directory already check the default engine.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 15:55:32 +00:00
Tom Ritter b405904dfb Bug 1572092 - Improve pref documentation for sync r=njn
Differential Revision: https://phabricator.services.mozilla.com/D41008

--HG--
extra : moz-landing-system : lando
2019-08-08 00:51:39 +00:00
L. David Baron 85cac89c70 Bug 1561792 - Rename the pref gfx.font_ahem_antialias_none to gfx.font_rendering.ahem_antialias_none to avoid the additional pref observer added in the previous patch. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D41068

--HG--
extra : moz-landing-system : lando
2019-08-07 20:46:04 +00:00
Nicholas Nethercote 30218bffe1 Bug 1571961 - Shrink InitAll(). r=KrisWright
Avoiding lots of `if (isParent)` conditions reduces code size by 2016 bytes for
a local build on my Linux64 box.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 21:39:08 +00:00
Nicholas Nethercote fb2718ab08 Bug 1571934 - Remove redundant security.tls.enable_0rtt_data definition. r=mbirghan
It's defined first as false, and again later in the file as true. This patch
removes the first definition, which is currently overridden by the second.

Depends on D40919

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

--HG--
extra : moz-landing-system : lando
2019-08-07 17:35:33 +00:00
Nicholas Nethercote b256ece713 Bug 1571934 - Inline security-prefs.js into all.js. r=keeler
security-prefs.js is #included into greprefs.js, but there's no good reason for
it to be separate from all.js. Having it separate makes it easier to overlook,
and all.js has a bunch of `security.*` prefs in it anyway.

This patch inlines it into all.js. It inlines it at the start of the file to
minimize the risk of the change, so that the prefs end up in greprefs.js in the
same order as before.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 17:41:22 +00:00
Nicholas Nethercote 2c0b69fee1 Bug 1563555 - Use `static_prefs::pref!` in Stylo. r=emilio
It's much nicer.

One nice thing about this is that the new code is subject to the existing
threadedness checking, which identified that several of these should be atomic
because they're accessed off the main thread.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 22:58:55 +00:00
Tom Schuster 0e913c22c4 Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D40677

--HG--
extra : moz-landing-system : lando
2019-08-07 19:49:40 +00:00
Ehsan Akhgari ea6d504d63 Bug 1572139 - Enable sending UI notifications for ETP on mobile; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D41036

--HG--
extra : moz-landing-system : lando
2019-08-07 16:44:36 +00:00
Ehsan Akhgari b05ce1a78b Bug 1571893 - Remove the prefs that can cause Gecko to stop honouring the Content Blocking allow list; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D40895

--HG--
extra : moz-landing-system : lando
2019-08-07 15:54:54 +00:00
Andrea Marchesini bf1c4bb4a2 Bug 1570805 - [stp] Turn on Social Tracking Protection Prefs, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40928

--HG--
extra : moz-landing-system : lando
2019-08-07 15:02:50 +00:00
Andy Wingo 673d9945f5 Bug 1570886 - Remove enableBigInt run-time flag r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D40389

--HG--
extra : moz-landing-system : lando
2019-08-07 14:41:36 +00:00
Mihai Alexandru Michis 3a79d43224 Backed out changeset a529c02c2e94 (bug 1570805) for causing failures in test_socialtracking_annotate.html 2019-08-07 16:20:53 +03:00
Andrea Marchesini 30180ae909 Bug 1570805 - [stp] Turn on Social Tracking Protection Prefs, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40928

--HG--
extra : moz-landing-system : lando
2019-08-07 09:14:55 +00:00
Cosmin Sabou c3430326e6 Backed out changeset ca88862d6b63 (bug 1558915) for causing build bustages on StartupCacheUtils. CLOSED TREE 2019-08-07 13:20:32 +03:00
Tom Schuster 8bc1f5ada8 Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D40677

--HG--
extra : moz-landing-system : lando
2019-08-07 09:36:56 +00:00
Cosmin Sabou 9453cf60bf Backed out 2 changesets (bug 1563555) for causing marionette failures on test_profile_management.py.
Backed out changeset 2559f5ddf8e0 (bug 1563555)
Backed out changeset e3c86ffa168c (bug 1563555)

--HG--
extra : histedit_source : 8569cceff2845f697109e2077a00c96074c7fe83
2019-08-07 12:09:13 +03:00
Nicholas Nethercote d5bd89d9a0 Bug 1563555 - Don't bindgen static prefs. r=emilio
Bindgen is no longer necessary now that Rust bindings are generated by
generate_static_pref_list.py.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 04:17:22 +00:00
Nicholas Nethercote b723ddbe42 Bug 1563555 - Use `static_prefs::pref!` in Stylo. r=emilio
It's much nicer.

One nice thing about this is that the new code is subject to the existing
threadedness checking, which identified that several of these should be atomic
because they're accessed off the main thread.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 04:17:08 +00:00
Nicholas Nethercote 12640bca82 Bug 1563555 - Generate static pref getters usable from Rust code. r=glandium
This patch introduces a new Rust crate called `static_prefs`.

It also changes generate_static_pref_list.py to generate two new files.

- StaticPrefsCGetters.cpp: contains C getters, which are just wrappers around
  the C++ getters. This is included into Preferences.cpp.

- static_prefs.rs: contains declarations for the C getters, plus the `pref!`
  macro which provides nice syntax for calling the C getters. This is included
  into static_prefs/src/lib.rs.

The new code is only generated for prefs marked with the new `rust` field in
the YAML. It's opt-in because there's no point generating additional code for
900+ static prefs when only about 20 are currently used from Rust.

This patch only marks a single pref (`browser.display.document_color_use`) with
`rust: true`. That pref isn't accessed from Rust code in this patch, but it's
necessary because the generated Rust code is invalid if there are zero
Rust-accessed prefs. (The next patch will access that pref and others from Rust
code.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 05:16:55 +00:00
Nicholas Nethercote fb3388ccf2 Bug 1563555 - Improve structure of generate_static_pref_list.py. r=glandium
generate_static_pref_list currently has two functions:
- generate_header(): this checks the YAML and generates most of the code.
- emit_header(): this does a bit of additional code generation and writes the
  code to file.

This patch gives it a cleaner structure:
- check_pref_list(): this checks the YAML.
- generate_code(): this generates all the code. (It calls check_pref_list()
  first.)
- emit_code(): this just writes the code to file.

The patch also improves the testing in test_generate_static_pref_list.py,
so that it checks the full contents of all generated files.

All these improvements will help with the next patch, which adds two additional
generated files.

The patch also fixes a couple of minor errors in the comment at the top of
StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 05:08:09 +00:00
Andreea Pavel eb6f2642fa Backed out 7 changesets (bug 1565689) for assertion failures at MediaControlUtils.h on a CLOSED TREE
Backed out changeset 9ebf6f8a4fda (bug 1565689)
Backed out changeset 49c41a9238f9 (bug 1565689)
Backed out changeset 9014276e070a (bug 1565689)
Backed out changeset d9f7fcbef3ee (bug 1565689)
Backed out changeset d3db3285e933 (bug 1565689)
Backed out changeset 1ca26f550f4b (bug 1565689)
Backed out changeset 1d27d083e974 (bug 1565689)
2019-08-07 04:40:52 +03:00
alwu a212936957 Bug 1565689 - part3 : use static pref to control audio competing. r=baku
We don't want to enable audio competing by default, so hide this feature behind a static pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 01:13:09 +00:00
Andreea Pavel 8f56db01f7 Backed out changeset d0aae34d9b95 (bug 1529068) for failing form-redirected-blocked.sub.html on a CLOSED TREE
--HG--
extra : rebase_source : 4d7a73e1f40de001031c61fba240c57961a902d8
2019-08-07 01:39:29 +03:00
Razvan Maries eedbf1137f Backed out changeset b197ca57677a (bug 1558915) for build bustages. CLOSED TREE 2019-08-07 01:04:43 +03:00
Tom Schuster 03c7998ef2 Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D40677

--HG--
extra : moz-landing-system : lando
2019-08-06 20:19:41 +00:00
Benjamin 455d7a7789 Bug 1529068 - navigate-to r=ckerschb,mccr8
Implementation of the navigate-to CSP directive as defined in CSP Level 3, https://www.w3.org/TR/CSP3/#directive-navigate-to

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

--HG--
extra : moz-landing-system : lando
2019-08-06 18:27:45 +00:00
Tom Ritter 20c32a0175 Bug 1570738 - Record Telemetry if eval() is used in the Parent Process r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D40332

--HG--
extra : moz-landing-system : lando
2019-08-06 19:56:23 +00:00
Razvan Maries 2d23034c48 Backed out changeset 145b187e750f (bug 1570886) for perma xpcshell fails on test_objectgrips-08.js. CLOSED TREE 2019-08-06 20:12:16 +03:00
Andy Wingo 0f20ca98c4 Bug 1570886 - Remove enableBigInt run-time flag r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D40389

--HG--
extra : moz-landing-system : lando
2019-08-06 10:36:09 +00:00
Mihai Alexandru Michis 4bcc3ac00a Backed out changeset 8de4baa1dee3 (bug 1570658) for causing mochitest failures. CLOSED TREE 2019-08-06 14:19:31 +03:00
Alex Chronopoulos db7dd624ec Bug 1530996 - Use the benchmark class from MediaCapabilities. r=jya
Make use of the new DecoderBenchmark class in MediaCapabilities instead of the old Benchmark mechanism.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 09:24:40 +00:00
Sebastian Streich 6f2b641d45 Bug 1570658 - Add a Flag for Navigation-Nosniff r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D40618

--HG--
extra : moz-landing-system : lando
2019-08-05 14:58:13 +00:00
Coroiu Cristina 37c688712e Backed out changeset 596ae187c20b (bug 1570886) for xpcshell failures at devtools/server/tests/unit/test_objectgrips-08.js on a CLOSED TREE 2019-08-06 12:47:50 +03:00
Nicholas Nethercote c6ce52db91 Bug 1571621 - Convert VarCache prefs in HTMLEditor.cpp to static prefs. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D40775

--HG--
extra : moz-landing-system : lando
2019-08-06 08:49:32 +00:00
Andy Wingo 3f1bd1cb5a Bug 1570886 - Remove enableBigInt run-time flag r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D40389

--HG--
extra : moz-landing-system : lando
2019-08-05 13:00:28 +00:00
Bogdan Tara a252740d31 Backed out 7 changesets (bug 1565689) for browser chrome failures CLOSED TREE
Backed out changeset 36ea91bf28f7 (bug 1565689)
Backed out changeset 278340adf69c (bug 1565689)
Backed out changeset 4f508252b015 (bug 1565689)
Backed out changeset faaa4e9ba8d3 (bug 1565689)
Backed out changeset 177f2b26c892 (bug 1565689)
Backed out changeset ba665f96330d (bug 1565689)
Backed out changeset 0de7b1db3ef9 (bug 1565689)
2019-08-06 04:09:19 +03:00
alwu 03eb5ac7ab Bug 1565689 - part3 : use static pref to control audio competing. r=baku
We don't want to enable audio competing by default, so hide this feature behind a static pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 18:53:54 +00:00
Kristen Wright 672241f230 Bug 1570084 - Remove accessibility.AOM.enabled from all.js. r=njn
This removes accesibility.AOM.enabled from all.js, as the previous patch defines it in staticpreflist.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 22:56:20 +00:00
kriswright 7273ad2f62 Bug 1570084 - Convert accessibility.AOM.enabled varcache pref to static pref. r=njn
Converts accessibility.AOM.enabled to static pref and removes the related mirror variable and static flag used to initially generate the varcache pref

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

--HG--
extra : moz-landing-system : lando
2019-08-01 20:08:09 +00:00
Andrew McCreight b4b41c012d Bug 1571121 - Change Window.print() from using Func to Pref. r=bzbarsky
This can be done by changing the pref from being enable instead of disable.

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

--HG--
extra : moz-landing-system : lando
2019-08-03 02:17:00 +00:00
Ting-Yu Lin 83d9aa16f4 Bug 1571135 - Remove the preference that controls breaking floats inside columns. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D40587

--HG--
extra : moz-landing-system : lando
2019-08-05 17:39:19 +00:00
Andrea Marchesini 01a1f139a1 Bug 1570971 - Enable all the annotation URL-Classifier features and remove their prefs, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D40420

--HG--
extra : moz-landing-system : lando
2019-08-05 11:34:24 +00:00
Nicholas Nethercote 98864cc3ec Bug 1570212 - Convert media.video_stats.enabled to a static pref. r=jya
Also remove HTMLVideoElement::InitStatics(), which is no longer needed.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 12:35:01 +00:00
Nicholas Nethercote 581ca41a65 Bug 1570212 - Convert media.cloneElementVisually.testing to a static pref. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D40339

--HG--
extra : moz-landing-system : lando
2019-08-02 12:34:11 +00:00
Nicholas Nethercote fcb4a59f7d Bug 1570212 - Convert layout.reflow.synthMouseMove to a static pref. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D40338

--HG--
extra : moz-landing-system : lando
2019-08-02 11:59:06 +00:00
Nicholas Nethercote a3cf276f46 Bug 1570562 - Remove unnecessary checking in InitInitialObjects(). r=jya
Differential Revision: https://phabricator.services.mozilla.com/D40151

--HG--
extra : moz-landing-system : lando
2019-08-04 23:04:09 +00:00
Nicholas Nethercote 83f0e39a49 Bug 1570212 - Convert browser.tabs.remote.force-paint to a static pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40162

--HG--
extra : moz-landing-system : lando
2019-08-02 11:59:06 +00:00
Nicholas Nethercote dd63fcde4e Bug 1570212 - Convert dom.securecontext.whitelist_onions to a static pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40160

--HG--
extra : moz-landing-system : lando
2019-08-02 11:59:06 +00:00
Nicholas Nethercote cdffde3415 Bug 1570212 - Convert device.sensors.test.events to a static pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40159

--HG--
extra : moz-landing-system : lando
2019-08-02 11:59:05 +00:00
Nicholas Nethercote eb6de3be4d Bug 1570212 - Convert dom.disable_window_print to a static pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40158

--HG--
extra : moz-landing-system : lando
2019-08-02 11:59:05 +00:00
Nicholas Nethercote af1a8f2d27 Bug 1570212 - Convert dom.events.dataTransfer.protected.enabled to a static pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40157

--HG--
extra : moz-landing-system : lando
2019-08-02 11:59:05 +00:00
Nicholas Nethercote 0de3df67cd Bug 1570212 - Convert geo.timeout to a static pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40156

--HG--
extra : moz-landing-system : lando
2019-08-02 11:59:05 +00:00
Nicholas Nethercote 1814e8c4b2 Bug 1570212 - Convert dom.testing.sync-content-blocking-notifications to a static pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40155

--HG--
extra : moz-landing-system : lando
2019-08-02 11:59:04 +00:00
Nicholas Nethercote 2bdd4bbfd0 Bug 1570212 - Convert media.webrtc.net.force_disable_rtcp_reception to a static pref. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D40154

--HG--
extra : moz-landing-system : lando
2019-08-02 12:33:17 +00:00
Nicholas Nethercote 0fea42328a Bug 1570212 - Convert dom.allow_XUL_XBL_for_file to a static pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40153

--HG--
extra : moz-landing-system : lando
2019-08-02 11:59:04 +00:00
Brian Hackett 54df72bc76 Bug 1569835 - Don't record accesses to static preference atomics, r=njn.
Differential Revision: https://phabricator.services.mozilla.com/D40526

--HG--
extra : moz-landing-system : lando
2019-08-03 05:14:07 +00:00
Emilio Cobos Álvarez 0f118f30e5 Bug 1404140 - Remove the GetCSNeedsLayoutFlush flag, as it is unneeded now. r=heycam
MANUAL PUSH: Would need to reorder the stack manually (https://bugzilla.mozilla.org/show_bug.cgi?id=1481539)

Differential Revision: https://phabricator.services.mozilla.com/D40300
2019-08-03 04:10:55 +02:00
Ryan Alderete 41872c8747 Bug 1452713 - Update webRTCIPHandlingPolicy to match Chrome r=bwc,mixedpuppy
Previously, the network.webRTCIPHandlingPolicy "disable_non_proxied_udp" only
enabled the use of WebRTC if a proxy was configured and the WebRTC service
supported TURN TCP.

This aims to match Chrome's behavior by forcing the use of a proxy if one is
configured, otherwise falling back to mode 3 (no host candidates and default
route only).

Also, remove some dead code left over from the old way of routing TURN
communications through an HTTP proxy.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 21:33:46 +00:00
Emilio Cobos Álvarez 68491304a9 Bug 1570566 - Don't block reloading during a resize event handler on Android and Nightly. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D40430

--HG--
extra : moz-landing-system : lando
2019-08-02 16:30:41 +00:00
Olli Pettay cb7e7c1dd1 Bug 1570797, Add a pref to control the time when certain tasks are deprioritized during page load, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D40330

--HG--
extra : moz-landing-system : lando
2019-08-02 08:52:42 +00:00
Tom Ritter 86568bf421 Bug 1387894 - Resolve timer intermittents when reduceTimerPrecision is disabled. r=smaug
We unconditionally clamp all times to 20us and not just performance.now()
This will consistently apply a 'safe' minimal clamping (it's not safe but
I guess it's safer than ns-level precision) to all timestamps, and remove
intermittents that are caused by comparing a clamped performance.now() to
an unclamped [something else].

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

--HG--
extra : rebase_source : 85f42a69cc88101c460acf784962076d39813627
2019-08-02 07:35:59 +02:00
Tom Ritter 787b3bb495 Bug 1387894 - Move all Resist Fingerprinting/Reduce Time Precision prefs to StaticPrefs. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D39212

--HG--
extra : rebase_source : 95dfbe3e7a2362c82e8816a9429313a31864c658
2019-08-02 07:35:48 +02:00
Tom Ritter ef67c0b08b Bug 1567623 - Update AssertEvalNotUsingSystemPrincipal and re-enable it r=ckerschb
We now correctly handle the following cases:
 - Thunderbird
 - the Browser Toolbox/Console
 - Two safe and common idioms
 - when general.config.filename is set and userChromeJS does shenanigans

We also change the function to only crash in Debug mode, and for Release channels
we report diagnostic information in a way that does not reveal user data.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 20:45:01 +00:00
Nicholas Nethercote e3aa875efe Bug 1570575 - Remove `MirrorKind`. r=KrisWright
This commit removes `MirrorKind` by splitting the `VARCACHE_PREF` macros in
two, giving `ALWAYS_PREF` and `ONCE_PREF` macros. This is good because most of
the time the generated code is quite different for the two cases.

The commit also removes the examples of code produced by the macros in
comments. These are kind of useful, but also quite verbose and a pain to
maintain.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 06:31:05 +00:00
Nicholas Nethercote 605fd328b4 Bug 1570575 - Some libpref tidy-ups. r=KrisWright
This commit:

- improves the wording of some comments;

- renames `UpdatePolicy` as `MirrorKind`, to reflect the new terminology we are
  starting to use;

- does a couple of other minor clean-ups.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 06:36:14 +00:00
kriswright f76ee44521 Bug 1570082 - Convert content.sink.enable_perf_mode to static pref r=njn
Converts content.sink.enable_perf_mode to a static pref. Also removes nsContentSink::InitializeStatics(), since this is the last varcache pref in the function.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 16:09:11 +00:00
kriswright 6f0aabcf43 Bug 1570082 - Convert content.sink.initial_perf_time to static pref. r=njn
Converts content.sink.initial_perf_time to a static pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 17:38:26 +00:00
kriswright ddd05566e3 Bug 1570082 - Convert content.sink.interactive_time to static pref. r=njn
Converts varcache pref content.sink.interactive_time to a static pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 17:37:18 +00:00
kriswright a6e61ca131 Bug 1570082 - Convert content.sink.*_parse_time to static pref. r=njn
Converts varcache prefs content.sink.interactive_parse_time and content.sink.perf_parse_time to static prefs.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 17:15:49 +00:00
kriswright 838f415ab4 Bug 1570082 - Convert content.sink.event_probe_rate to static pref. r=njn
Converts content.sink.event_probe_rate to a static pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 16:08:27 +00:00
kriswright b6290674d4 Bug 1570082 - Convert content.sink.pending_event_mode to static pref. r=njn
Converts VarCache pref content.sink.pending_event_mode to a static pref and removes the all.js value. Since the value in all.js is only set in the `ifndef XP_WIN` condition, the pref favors that value only as needed.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 17:08:05 +00:00
kriswright 4e66b9f614 Bug 1570082 - Convert content.sink.*_deflect_count to static pref. r=njn
Converts the varcache prefs 'content.sink.interactive_deflect_count' and 'content.sink.perf_deflect_count' to static prefs.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 17:05:57 +00:00
kriswright f1b12f5aa9 Bug 1570082 - Convert content.notify.interval to static pref. r=njn
Converts content.notify.interval varcache pref to a static pref. Rewords the description, which referenced 'gNotificationInterval' which no longer existed.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 16:07:25 +00:00
kriswright 9783b23738 Bug 1570082 - Convert content.notify.backoffcount to static pref. r=njn
Converts content.notify.backoffcount varcache pref to static pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 16:06:56 +00:00
kriswright f22377c729 Bug 1570082 - Convert content.notify.ontimer to static pref and add content group to prefs groups. r=njn
Converts content.notify.ontimer varcache pref to static pref. Also adds a new pref group, 'content'.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 16:05:49 +00:00
Chris H-C 51b6c6553e Bug 1566366 - Redirect GV Streaming Telemetry to a delegate r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D38740

--HG--
extra : moz-landing-system : lando
2019-08-01 14:19:57 +00:00
Chris H-C a12921a1dd Bug 1566352 - Support 'geckoview_streaming' product for Telemetry r=janerik
This introduces a pref "toolkit.telemetry.isGeckoViewStreaming" to control
whether gecko view products (those with "toolkit.telemetry.isGeckoViewMode"
set) are of the variety that use the upcoming streaming Telemetry API.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 14:16:33 +00:00
Bob Owen 6a19f3eb75 Bug 1569139: Add a static pref to enable win32k lockdown in the Windows content process sandbox policy. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D39870

--HG--
extra : moz-landing-system : lando
2019-08-01 10:55:54 +00:00
Jon Coppeard 2d89bbf3df Bug 1569564 - Remove the original malloc counter infrastructure r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D39735

--HG--
extra : moz-landing-system : lando
2019-07-31 09:13:36 +00:00
Nicholas Nethercote dd8024d316 Bug 1570212 - Convert toolkit.telemetry.ipcBatchTimeout to a static pref. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D40006

--HG--
extra : moz-landing-system : lando
2019-08-01 06:01:44 +00:00
Nicholas Nethercote 1e23726d7b Bug 1570212 - Convert three dom.ipc.* prefs into static prefs. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40005

--HG--
extra : moz-landing-system : lando
2019-08-01 06:01:42 +00:00
Nicholas Nethercote c27392026e Bug 1570212 - Convert security.all_resource_uri_content_accessible to a static pref. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D40004

--HG--
extra : moz-landing-system : lando
2019-08-01 06:01:40 +00:00
Nicholas Nethercote de6c6401b1 Bug 1570212 - Convert dom.quotaManager.temporaryStorage.* to static prefs. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D40003

--HG--
extra : moz-landing-system : lando
2019-08-01 06:00:52 +00:00
Nicholas Nethercote 7d1b516ac2 Bug 1570212 - Convert dom.quotaManager.testing to a static pref. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D40002

--HG--
extra : moz-landing-system : lando
2019-08-01 06:00:35 +00:00
Nicholas Nethercote c0069262ff Bug 1570212 - Convert privacy.firstparty.isolate* prefs to static prefs. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D40001

--HG--
extra : moz-landing-system : lando
2019-08-01 06:00:22 +00:00
Ehsan Akhgari 7aed858e28 Bug 1566836 - Respect the Content Blocking allow list for ETP interventions on all platforms; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D40106

--HG--
extra : moz-landing-system : lando
2019-08-01 11:12:07 +00:00
Nicholas Nethercote cb9400e186 Bug 1567074 - Document libpref properly. r=jya
This is a combination of the All About Prefs google doc and kmag's description
of the shared memory work in
https://bugzilla.mozilla.org/show_bug.cgi?id=1471025#c95, with some updates and
tweaks.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 02:11:07 +00:00
Ehsan Akhgari bea0b67d17 Bug 1568341 - Part 1: Add a component for consuming the anti-tracking-url-decoration remote settings bucket and making it available to content processes; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D39919

--HG--
extra : moz-landing-system : lando
2019-07-31 19:32:01 +00:00
Ehsan Akhgari 29cce9a268 Bug 1569996 - Enable setting the default referrer policy for third-party tracking resources to strict-origin-when-cross-origin when Enhanced Tracking Protection is turned on; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D39885

--HG--
extra : moz-landing-system : lando
2019-07-31 10:50:20 +00:00
Thomas Wisniewski 694c55b677 Bug 1504344 - Remove the pref dom.xhr.lowercase_header.enabled; r=baku
Remove the pref dom.xhr.lowercase_header.enabled, as we are unaware of any actionable compat concerns now that bug 1540688 landed, and an ESR had been spun off.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 11:16:25 +00:00
Olli Pettay 85a74a85cd Bug 1507495, Enable Pointer events on GeckoView by default, r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D39965

--HG--
extra : moz-landing-system : lando
2019-07-31 01:02:32 +00:00
Nicholas Nethercote 49bcf3c657 Bug 1568869 - Disallow double definitions in StaticPrefList.yaml. r=glandium
Some double definitions would have caused C++ compile errors, but some would
not, and I'm not even sure what the runtime behaviour would have been in those
latter cases...

The patch also removes a duplicated definition of privacy.resistFingerprinting,
which snuck in recently.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 22:48:41 +00:00
Dylan Roeh 1e945a8dd6 Bug 1553603 - Support "capture" attribute in Gecko and expose in GV. r=geckoview-reviewers,smaug,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D38746

--HG--
extra : moz-landing-system : lando
2019-07-30 18:13:05 +00:00
Daniel Varga c7ecfc9e12 Backed out 9 changesets (bug 1387894) for wpt failures at /web-animations/timing-model/animations/finishing-an-animation.html on a CLOSED TREE
Backed out changeset 998582bf083d (bug 1387894)
Backed out changeset cd58aae7d47b (bug 1387894)
Backed out changeset a51919fb2062 (bug 1387894)
Backed out changeset ef7b589d751b (bug 1387894)
Backed out changeset 75c0249b594a (bug 1387894)
Backed out changeset 4a75f2556242 (bug 1387894)
Backed out changeset 0bff9ba4237c (bug 1387894)
Backed out changeset 80040c0a275e (bug 1387894)
Backed out changeset 02814f69872d (bug 1387894)
2019-07-30 21:05:59 +03:00
Tom Ritter 83a41908c3 Bug 1387894 - Resolve timer intermittents when reduceTimerPrecision is disabled r=smaug
We unconditionally clamp all times to 20us and not just performance.now()
This will consistently apply a 'safe' minimal clamping (it's not safe but
I guess it's safer than ns-level precision) to all timestamps, and remove
intermittents that are caused by comparing a clamped performance.now() to
an unclamped [something else].

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

--HG--
extra : moz-landing-system : lando
2019-07-30 15:11:41 +00:00
Tom Ritter 11011497a9 Bug 1387894 - Move all Resist Fingerprinting/Reduce Time Precision prefs to StaticPrefs r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D39212

--HG--
extra : moz-landing-system : lando
2019-07-30 15:11:32 +00:00
Andreea Pavel 8cbd06b810 Backed out 8 changesets (bug 1387894) for build bustages on a CLOSED TREE
Backed out changeset 09785dc4c5aa (bug 1387894)
Backed out changeset 05728160b89e (bug 1387894)
Backed out changeset 01e5b31bcc17 (bug 1387894)
Backed out changeset c5e16646ddb1 (bug 1387894)
Backed out changeset d1f09b772bac (bug 1387894)
Backed out changeset de538a48f455 (bug 1387894)
Backed out changeset d49cd8ef0825 (bug 1387894)
Backed out changeset fcfe77fab0ec (bug 1387894)
2019-07-30 17:17:39 +03:00
Tom Ritter b3e9fe99de Bug 1387894 - Resolve timer intermittents when reduceTimerPrecision is disabled r=smaug
We unconditionally clamp all times to 20us and not just performance.now()
This will consistently apply a 'safe' minimal clamping (it's not safe but
I guess it's safer than ns-level precision) to all timestamps, and remove
intermittents that are caused by comparing a clamped performance.now() to
an unclamped [something else].

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

--HG--
extra : moz-landing-system : lando
2019-07-30 13:19:05 +00:00
Tom Ritter 1a2f32cd2d Bug 1387894 - Move all Resist Fingerprinting/Reduce Time Precision prefs to StaticPrefs r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D39212

--HG--
extra : moz-landing-system : lando
2019-07-30 13:37:28 +00:00
Christoph Kerschbaumer ad40847192 Bug 1567877: Apply Meta CSP to about:devtools-toolbox. r=jdescottes,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D39328

--HG--
extra : moz-landing-system : lando
2019-07-30 07:14:09 +00:00
Nicholas Nethercote cd426e3ad2 Bug 1569526 - Remove return values from `Add*VarCache()`. r=KrisWright
They're infallible in practice and always `NS_OK`. (This stems from
`AddVarCacheNoAssignment()` always returning `NS_OK`.)

As a result, the commit removes lots of unnecessary checks.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 06:19:46 +00:00
Nicholas Nethercote 670a5bfd26 Bug 1569526 - Rename `PreferencesInternalMethods`. r=KrisWright
It's an annoyingly long name that causes lots of line breaking, and it's not
exposed outside of libpref.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 06:14:48 +00:00
Nicholas Nethercote a7d5766bb8 Bug 1569526 - Remove PrefsIter::Remove. r=KrisWright
It's unused.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 06:14:29 +00:00
Nicholas Nethercote 49ad1ba06b Bug 1569526 - Rename `SetPref_*()` as `InitPref_*()`. r=KrisWright
This makes it clear that these run when prefs are initialized (like
`InitVarCache()`) rather than being vanilla `set` calls that happen at any
point during runtime.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 06:14:17 +00:00
Nicholas Nethercote 42b4ba2041 Bug 1569526 - Add more thread/process assertions to libpref. r=KrisWright
Lots of operations in Preferences.cpp can only occur in the parent process
and/or on the main thread. It has a bunch of assertions to enforce/document
this. This commit adds some more, because they're really useful for
understanding the code.

The commit also removes an unnecessary `XRE_IsParentProcess()` check in
`pref_SetPref()` (because that condition is always true, as the added assertion
indicates), and renames a parameter in `InitVarCachePrefs()`.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 06:14:05 +00:00
Kristen Wright 05b0ade9f4 Bug 1569004 - Convert dom.timeout.enable_budget_timer_throttling to static pref. r=njn
Converts dom.timeout.enable_budget_timer_throttling from varcache pref to static pref, removes entry from all.js, adds entry to StaticPrefList.yaml. Uses the all.js value and not the value declared in TimeoutManager.cpp. Since this removes the last varcache pref from TimeoutManager::Initialize(), I also removed the Initialize() function and its call in nsGlobalWindowInner.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 20:14:48 +00:00
Kristen Wright c6f7b5dbfa Bug 1569004 - Convert dom.timeout.budget_throttling_max_delay to static pref. r=njn
Converts dom.timeout.budget_throttling_max_delay varcache pref to static pref, removes entry from all.js, and adds entry to StaticPrefList.yaml

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

--HG--
extra : moz-landing-system : lando
2019-07-26 21:11:41 +00:00
kriswright 340d7a78d1 Bug 1569004 - Convert dom.timeout.foreground_throttling_max_budget to static pref. r=njn
Converts dom.timeout.foreground_throttling_max_budget to static pref, removes all.js entry, updates usage, adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 20:09:34 +00:00
kriswright 17e79b1478 Bug 1569004 - Convert dom.timeout.background_throttling_max_budget to static pref. r=njn
Converts dom.timeout.background_throttling_max_budget varcache pref to static pref, removes all.js entry, adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 20:06:08 +00:00
kriswright f9c7a23a96 Bug 1569004 - Convert dom.timeout.foreground_budget_regeneration_rate to StaticPref. r=njn
Converts dom.timeout.foreground_budget_regeneration_rate varcache pref in TimeoutManager.cpp to static pref, removes entry in all.js, adds entry in StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 20:32:25 +00:00
kriswright a717c209a1 Bug 1569004 - Convert dom.timeout.background_budget_regeneration_rate to StaticPref. r=njn
Converts dom.timeout.background_budget_regeneration_rate varcache pref in TimeoutManager.cpp to static pref, removes entry in all.js, adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:42 +00:00
kriswright 8e4a9f02c1 Bug 1569004 - convert dom.disable_open_click_delay to StaticPref. r=njn
Converts dom.disable_open_click_delay from a VarCache pref in TimeoutManager.cpp to StaticPref, removes all.js entry, and corrects a typo where the value was mentioned in nsGlobalWindowInner.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 19:28:30 +00:00
kriswright 3d34dc8c5b Bug 1569004 - Convert dom.timeout.max_consecutive_callbacks_ms to static pref. r=njn
Converts dom.timeout.max_consecutive_callbacks_ms varcache pref in TimeoutManager.cpp to static pref, removes associated variables and all.js entry, and adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:41 +00:00
kriswright 7c1f644ceb Bug 1569004 - Convert dom.timeout.throttling_delay to static pref. r=njn
Converts dom.timeout.throttling_delay in TimeoutManager.cpp from varcache pref to static pref, removes entry in all.js, and adds entry in StaticPrefList.yaml. Favors the all.js value over the declared value in TimeoutManager.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:41 +00:00
kriswright 90656e48ae Bug 1569004 - Remove dom.min_tracking_timeout_value and dom.min_tracking_background_timeout_value varcache prefs. r=njn
Removes dom.min_tracking_timeout_value and dom.min_tracking_background_timeout_value, because they are never used.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 03:07:41 +00:00
kriswright 49f219f27c Bug 1569004 - Convert dom.min_background_timeout_value to StaticPref. r=njn
Converts dom.min_background_timeout_value in TimeoutManager.cpp to static pref, removes entry in all.js, adds entry to StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 19:21:47 +00:00
kriswright 0f96a859f0 Bug 1569004 - Convert dom.min_timeout_value to StaticPref r=njn
Converts dom.min_timeout_value varcache pref from TimeoutManager::Initialize() to a static pref, and removes its entry and associated constants from TimeoutManager.cpp and all.js

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

--HG--
extra : moz-landing-system : lando
2019-07-26 19:15:44 +00:00
Jonathan Kew 112c636e6e Bug 1437367 - Remove the layout.css.paint-order.enabled pref, this feature is always enabled. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D39340

--HG--
extra : moz-landing-system : lando
2019-07-26 14:07:17 +00:00
Andrea Marchesini 7044fec84c Bug 1566961 - Integrate SocialTracking and ETP, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D38451

--HG--
extra : moz-landing-system : lando
2019-07-29 12:20:39 +00:00
Dragana Damjanovic 6bb0ea26c5 Bug 1567133 - Call ForceRecv if there is data in the tunnel buffer. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D38989

--HG--
extra : moz-landing-system : lando
2019-07-29 10:58:08 +00:00
Csoregi Natalia 755219489e Backed out 3 changesets (bug 1566961) for eslint failure on browser_socialtracking.js. CLOSED TREE
Backed out changeset a85686cb5dfa (bug 1566961)
Backed out changeset 9cb916e52712 (bug 1566961)
Backed out changeset 4c747eb1c370 (bug 1566961)
2019-07-29 15:17:28 +03:00
Andrea Marchesini 7f34a5abc1 Bug 1566961 - Integrate SocialTracking and ETP, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D38451

--HG--
extra : moz-landing-system : lando
2019-07-29 11:27:23 +00:00
Tom Schuster c90eade61e Bug 1569122 - Limit Worker/SharedWorker MIME type blocking to Beta/Nightly. r=ckerschb
Depends on D39634

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

--HG--
extra : moz-landing-system : lando
2019-07-29 07:25:37 +00:00
Tom Schuster bc9bb616f7 Bug 1569122 - Use StaticPrefs for our MIME type script blocking prefs. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D39634

--HG--
extra : moz-landing-system : lando
2019-07-29 07:25:05 +00:00
Nicholas Nethercote 7774e3aaea Bug 1569036 - Remove all the `aSkipAssignment` parameters. r=KrisWright
`AddVarCache()` has a `bool aSkipAssignment` parameter. This patch removes that
parameter by splitting the function in two: `AddVarCache()` and
`AddVarCacheNoAssignment()`. (The former calls the latter.)

There are also tons of `Add*VarCache()` functions with `aSkipAssignment`
parameters that default to `false`. These defaults are never overridden, so
this patch removes the unnecessary arguments.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 21:11:18 +00:00
Nicholas Nethercote 18fae65f38 Bug 1563139 - Remove StaticPrefs.h. r=glandium
This requires replacing inclusions of it with inclusions of more specific prefs
files.

The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.

Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 01:10:23 +00:00
Nicholas Nethercote 12fb2835a9 Bug 1563139 - Generate multiple pref list headers instead of just one. r=glandium
Instead of generating a single `init/StaticPrefList.h`, we now generate:
- `init/StaticPrefListAll.h`;
- `StaticPrefsAll.h`;
- one `init/StaticPrefList_*.h` file for each pref group;
- one `StaticPrefs_*.h` file for each pref group.

`StaticPrefs.h` still exists -- it's equivalent to all the `StaticPrefs_*.h`
files combined -- so no `.cpp` files are changed by this commit. The next
commit will remove that file and replace inclusions of it with inclusions of
the new files.

The patch also adds checking of the type of the `do_not_use_directly` field.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 23:16:08 +00:00
Jim Porter ffc17053bb Bug 1562782 - Enable "cancel content JS" by default r=smaug,nalexander
For background information on what "cancel content JS" does, see bug 1493225.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 17:38:28 +00:00
Jan de Mooij ff7f0dd1f9 Bug 1565807 - Bump Baseline JIT threshold from 50 to 100. r=dpalmeiro
Detailed page load performance measurements from Denis indicate this should be okay
on the reference hardware and now we have 10/100/1000 warm-up thresholds so there's
a nice pattern there.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 16:01:47 +00:00
Nicholas Nethercote cbaaacf6ae Bug 1563139 - Remove StaticPref{s,List}_accessibility.h. r=glandium
These files exist because they were the proof-of-concept first step for
splitting the static prefs header files. Now that those header files can be
generated from a script, we need to move the `accessibility.*` prefs into the
YAML file.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 04:08:14 +00:00
Nicholas Nethercote 2c71663c5e Bug 1568516 - Allow a `uint32_t` static pref with a mirror value of `never`. r=KrisWright
There was a missing setter function for this combination, which hasn't been
used before.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 02:26:14 +00:00
Christoph Kerschbaumer a908700415 Bug 1567867: Remove about:newtab from 'not providing a CSP' whitelist.r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D38849

--HG--
extra : moz-landing-system : lando
2019-07-24 18:39:40 +00:00
Kristen Wright 84fc68c47f bug 1567063 - 3. Clean up instances of PREF_VALUE, streamline ifdefs r=njn
Streamlined ifdefs by removing the remaining instances of PREF_VALUE. Also, changed media.eme.enabled to benefit from IS_NIGHTLY_BUILD, and removed duplicate logic in media.rdd-vorbis.enabled.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 16:16:34 +00:00
Kristen Wright 53a9e9e5a1 Bug 1567063 - 2. Expand on constants for commonly-recurring patterns in StaticPrefs r=njn
Defines and uses constants for patterns that commonly recur in StaticPrefList.yaml, such as #ifdef NIGHTLY_BUILD

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

--HG--
extra : moz-landing-system : lando
2019-07-24 01:21:00 +00:00
Kristen Wright eb6bdacd58 Bug 1567063 - 1. Use existing NOT_IN_RELEASE_OR_BETA_VALUE instead of creating a PREF_VALUE r=njn
Updated repetitive #ifdef RELEASE_OR_BETA pattern to use the existing constant at the top of the file. Renamed NOT_IN_RELEASE_OR_BETA_VALUE to IS_NOT_RELEASE_OR_BETA, to follow naming conventions in child revisions.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 17:55:00 +00:00
Paul Adenot f57ad1f88d 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-23 15:33:13 +00:00
Nicholas Nethercote e54f4ead1e Bug 1560820 - Remove `sGfxLogLevel`. r=nical
`sGfxLogLevel` is a global variable whose value mirrors the value of the
"gfx.logging.level" pref in the prefs table, and is kept up to date by a
prefs callback.

But "gfx.logging.level" is a static pref that already has a mirror variable,
accessible via `StaticPrefs::gfx_logging_level()`.

So we can use the latter and remove the former, and this patch does that. The
patch also removes a sentence in a comment that refers to special treatment of
LOG_DEBUG and LOG_DEBUG_PRLOG, because that sentence appears to be referring to
something (another comment?) that is no longer present.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 00:05:23 +00:00
Tom Schuster a207353360 Bug 1523706 - Consider strictly enforcing MIME checks for Worker scripts. r=ckerschb
No test changes yet.

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

--HG--
extra : moz-landing-system : lando
2019-07-16 20:40:03 +00:00
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
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