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

16707 Коммитов

Автор SHA1 Сообщение Дата
Kristen Wright 35c210b8ce Bug 1575983 - Remove duplicate dom.* prefs, part 2 r=njn
Removes the 9 remaining dom.* duplicate prefs. Replaces default values in StaticPrefList.yaml with their all.js counterparts where needed. Imports comments from all.js.

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

--HG--
extra : moz-landing-system : lando
2019-09-02 23:35:29 +00:00
Kristen Wright 3c38890228 Bug 1575983 - Remove duplicate dom.* prefs, part 1 r=njn
Removes 10 duplicate dom.* prefs from all.js. Imports comments from all.js.

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

--HG--
extra : moz-landing-system : lando
2019-09-02 00:50:22 +00:00
Kristen Wright 302a4fbc92 Bug 1575983 - Remove duplicate clipboard.*, fission.*, and devtools.* prefs. r=njn
Removes the duplicate clipboard.*, devtools.*, and fission.* prefs, excluding fission.autostart, devtools.console.stdout.chrome, and devtools.console.stdout.content. The two devtools prefs are using the `sticky` attribute in order to enable dumping in local artifact builds where `MOZILLA_OFFICIAL` is true. The fission pref must be overridden to add the `locked` attribute. They will be added to `ignore_prefs`.

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

--HG--
extra : moz-landing-system : lando
2019-09-02 23:21:19 +00:00
Kristen Wright c3d2663328 Bug 1575983 - Remove duplicate browser.* prefs. r=njn
Removes the 15 duplicate browser.* prefs from all.js. Replaces default values in StaticPrefList.yaml with their all.js counterparts where needed. Imports comments from all.js.

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

--HG--
extra : moz-landing-system : lando
2019-09-01 23:39:37 +00:00
Kristen Wright 945290dd1e Bug 1575983 - Remove duplicate apz.* prefs, part 7 r=njn
Removes 9 duplicate prefs from all.js. Replaces default values in StaticPrefList.yaml with their all.js counterparts where needed. Imports comments from all.js.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 20:06:15 +00:00
Kristen Wright 7eb31c93d1 Bug 1575983 - Remove duplicate apz.* prefs, part 6 r=njn
Removes 10 duplicate prefs from all.js. Replaces default values in StaticPrefList.yaml with their all.js counterparts where needed. Imports comments from all.js.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 03:12:03 +00:00
Kristen Wright 2bfbb0c6c5 Bug 1575983 - Remove duplicate apz.* prefs, part 5 r=njn
Removes 10 duplicate apz.* prefs from all.js. Replaces default values in StaticPrefList.yaml with their all.js counterparts where needed. Imports comments from all.js.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 23:25:57 +00:00
Kristen Wright 222aed4458 Bug 1575983 - Remove duplicate apz.* prefs, part 4 r=njn
Removes 10 duplicate apz.* prefs from all.js. Replaces default values in StaticPrefList.yaml with their all.js counterparts where needed. Imports comments from all.js.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 17:59:26 +00:00
Kristen Wright feffa3ef2e Bug 1575983 - Remove duplicate apz.* prefs, part 3 r=njn
Removes 10 apz.* duplicate prefs from all.js. Replaces default values in StaticPrefList.yaml with their all.js counterparts where needed. Imports comments from all.js.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 17:57:13 +00:00
Kristen Wright e6ef0917ce Bug 1575983 - Remove duplicate apz.* prefs, part 2 r=njn
Removes 10 apz.* prefs from all.js. Replaces default values in StaticPrefList.yaml with their all.js counterparts where needed. Imports comments from all.js.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 17:56:01 +00:00
Kristen Wright 3a715e7641 Bug 1575983 - Remove duplicate accessibility.* and apz.* prefs. r=njn
Removes the duplicate accessibility.* pref from all.js and 10 apz.* prefs. Replaces default values in StaticPrefList.yaml with their all.js counterparts where needed. Imports comments from all.js.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 00:59:31 +00:00
Markus Stange f08bba7374 Bug 1491456 - Split the window into "compositing tiles" sized to 1024x1024. r=mattwoodrow
The tile size is configurable with the prefs layers.compositing-tiles.width/height.

On macOS, whenever a CALayer is touched, the window server will recomposite the
entire layer to the screen. There is no API to mark parts of a layer as damaged.
So if we want the window server to only redraw a small part of the screen, we
need to only touch small layers. This patch achieves that using tiles; whenever
the compositor needs to redraw an area, all tiles that overlap this area will
be drawn to their layers and the window server will recomposite those layers.

On Intel GPUs, compositing in tiles should also help reduce GPU times if there
are multiple layers of overdraw: The overdraw will have better cache locality.
However, the magnitude of this effect is not known and requires further research.

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

--HG--
extra : moz-landing-system : lando
2019-08-31 16:00:16 +00:00
Nicholas Nethercote ec3db23501 Bug 1573731 - Remove a diagnostic assertion in InitStaticPrefsFromShared(). r=jya
Because it's violated when updates occur, and when the violation occurs it's
safe to continue, for reasons explained in the patch. This should fix a top
crash.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 09:21:33 +00:00
Boris Chiou c8dba8c886 Bug 1575062 - Support css use counters for unimplemented properties. r=emilio
For developing properties, we will handle them in an other bug.

Besides, I use an iframe for the test because we create a use counter in
the constructor of Document, which use the prefs to decide what kind of
properties we want to record. So, in the test, we have to reload iframe
to make sure we re-create the document, so does the use counter, to make
sure the prefs work properly.

The two prefs affect the css use counters:
1. layout.css.use-counters.enabled: Allocate use counters, and record
   non-custom properties.
2. layout.css.use-counters-unimplemented.enabled: Record all unimplmented
   properties into the use counters.

If we disable layout.css.use-counters.enblaed, we don't create use counters
object, so layout.css.use-counters-unimplemented.enabled doesn't work,
either.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 23:40:13 +00:00
Eric Rahm fe87a982e0 Bug 1547108 - Remove warnings where we expect failures in nsJARChannel. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D43828

--HG--
extra : moz-landing-system : lando
2019-08-29 16:38:34 +00:00
Dan Minor 6c6b65f876 Bug 1554976 - Add plumbing to enable/disable host address obfuscation; r=mjf
This only enables mDNS on OS X for now. Some versions of Windows lack mDNS
support, there are some oddities with resolving IPv6 addresses on Linux, and
Android has not yet been tested. All of these will be addressed in follow on
bugs.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 19:50:06 +00:00
Joel Olsson 00e5276301 Bug 1565562: Media Query - Enable single <number> and <number>/<number> for <aspect-ratio>. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D41557

--HG--
extra : moz-landing-system : lando
2019-08-29 10:48:52 +00:00
Andreea Pavel f652361ce2 Backed out changeset f20ce5c7a25c (bug 1575870) for assertion failure at nsNavHistory.cpp on a CLOSED TREE 2019-08-29 13:45:54 +03:00
Frederic Wang ea067f91f0 Bug 1575870. Remove support for XLink on MathML elements. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/70NFnet82cU

This commit introduces a new mathml.xlink.disabled option to disable support
for XLink attributes on MathML elements together with a use counter and
deprecation warning when support is enabled. For now, support is only disabled
in Nighly.

In the past, we relied on custom MathML deprecation warnings but those are
removed here. Corresponding tests for these legacy warning messages are
also removed from test_bug553917.html.

link-1.xhtml is run with XLink support enabled (since it check xlink:href)
while browser_contentAltClick.js is updated to check whether XLink has any
effect on MathML, depending on whether the option is enabled.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 08:20:01 +00:00
Julian Descottes 5e92caeefc Bug 1575766 - Use chrome preferences for DevTools documents r=emilio
Depends on D43639

This will avoid applying High Contrast mode colors to devtools documents even when DevTools are loaded in a frame with type=content
This behavior can be disabled by setting devtools.toolbox.force-chrome-prefs to false

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

--HG--
extra : moz-landing-system : lando
2019-08-28 13:09:36 +00:00
Andrew Creskey 7134be5031 Bug 1575938 Convert dom/JSEnvironment GC timing constants to StaticPref r=edgar
Converted the following to StaticPrefs so that we can easily test variations:

NS_GC_DELAY
NS_SHRINK_GC_BUFFERS_DELAY
NS_FIRST_GC_DELAY
NS_FULL_GC_DELAY
NS_INTERSLICE_GC_DELAY

NS_USER_INTERACTION_INTERVAL

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

--HG--
extra : moz-landing-system : lando
2019-08-26 15:51:01 +00:00
Frederic Wang 3f8a2878fa Bug 1548524 - Remove attributes deprecated from MathML3. r=emilio
See https://github.com/mathml-refresh/mathml/issues/5#issuecomment-475506856
and https://groups.google.com/forum/#!topic/mozilla.dev.platform/kl5c87mBlO0

This patch introduces a new preference
mathml.deprecated_style_attributes.disabled in order to disable legacy support
for attributes background, color, fontfamily, fontsize, fontstyle and
fontweight. Note that xlink:href will be handled separately in bug 1575870.

* A new counter and deprecation message is introduced for these attributes.
  In nsMathMLElement, the old WarnDeprecated calls are replaced with a single
  call to WarnOnceAbout for the deprecate attributes. Notice that for some
  reason, the color attribute used to send warning in both ParseAttribute and
  MapMathMLAttributesInto.
* sMtableStyles is removed and replaced with a simple comparison.
* sMathML3Attributes is split into two tables: one for script attributes which
  will be handled in bug 1548471 and one for style attributes, handled here.
  The attributes in this second table is now ignored when the feature flag is
  disabled.
* test_bug553917.html is updated so that it no longer checks the old warning
  messages for these attributes. New warning messages have been verified
  manually.
* Reftests checking support for these attributes are run with the support
  enabled.
* Finally, WPT tests are run with the support disabled and a new test
  is added to verify that these attributes are no longer mapped to CSS.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 14:59:55 +00:00
Gurzau Raul a6c5c5e3ac Backed out 14 changesets (bug 1554976) for Windows build bustages on a CLOSED TREE.
Backed out changeset a9b209d9d880 (bug 1554976)
Backed out changeset 27b4dddf9597 (bug 1554976)
Backed out changeset 3e16c10bb966 (bug 1554976)
Backed out changeset 6a404fca61dc (bug 1554976)
Backed out changeset 77c4e76c8130 (bug 1554976)
Backed out changeset 24f146b86cc4 (bug 1554976)
Backed out changeset b49b4326dcfd (bug 1554976)
Backed out changeset e2c837d1e0a0 (bug 1554976)
Backed out changeset 24728144c263 (bug 1554976)
Backed out changeset a099e69241a0 (bug 1554976)
Backed out changeset 0e34595c2680 (bug 1554976)
Backed out changeset a506bb40047e (bug 1554976)
Backed out changeset 513026415092 (bug 1554976)
Backed out changeset e0fc6a1d4332 (bug 1554976)
2019-08-28 18:10:11 +03:00
Dan Minor 2da923ff0b Bug 1554976 - Add plumbing to enable/disable host address obfuscation; r=mjf
This only enables mDNS on OS X for now. Some versions of Windows lack mDNS
support, there are some oddities with resolving IPv6 addresses on Linux, and
Android has not yet been tested. All of these will be addressed in follow on
bugs.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 13:11:33 +00:00
Chris H-C fe1174bfe7 Bug 1570307 - Allow telemetry.batchDurationMS pref to be accessed on multiple threads. r=janerik
With the new StaticPrefsList (and possibly earlier?) prefs accessed on non-main
threads must now be atomic or assert-fail.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 19:07:32 +00:00
Ehsan Akhgari 0e4ddb04a3 Bug 1540117 - Part 2: Add a pref to allow turning off the lazy reporting off anti-tracking warnings to the web console; r=baku
This pref will be used in tests only.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 15:10:43 +00:00
Noemi Erli d6af4c1426 Backed out 3 changesets (bug 1540117) for failures in browser_storageAccessPrivateWindow.js
Backed out changeset 1dcf5956a3f1 (bug 1540117)
Backed out changeset 1dc867e1d4b2 (bug 1540117)
Backed out changeset c93e83feda5e (bug 1540117)
2019-08-27 18:06:58 +03:00
Ehsan Akhgari e3ed73da0e Bug 1540117 - Part 2: Add a pref to allow turning off the lazy reporting off anti-tracking warnings to the web console; r=baku
This pref will be used in tests only.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 09:26:44 +00:00
Kristen Wright 3cba0c7ada Bug 1573992 - Convert dom.w3c_pointer_events.dispatch_by_pointer_messages to static pref. r=njn
Converts dom.w3c_pointer_events.dispatch_by_pointer_messages to a static pref and removes its mirror variable.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 00:13:25 +00:00
Kristen Wright 8d6b5f31a4 Bug 1573992 - Convert findbar.modalHighlight to static pref. r=njn
Converts findbar.modalHighlight to a static pref and updates its usages.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 00:09:29 +00:00
Kristen Wright f25c87b636 Bug 1573992 - Convert ui.use_native_colors to static pref. r=njn
Converts ui.use_native_colors to a static pref and updates its usages.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 00:07:34 +00:00
Kristen Wright cff2295408 Bug 1573992 - Convert ui.context_menus.after_mouseup to static pref. r=njn
Converts ui.context_menus.after_mouseup varcache pref to a static pref and removes its associated function.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 00:07:49 +00:00
kriswright 943e049dcc Bug 1573992 - Convert layout.css.devPixelsPerPx to static pref. r=njn
Converts layout.css.devPixelsPerPx to a static pref. This one was one of the slightly odd ones; some values were expecting an atomic float, so instead of defining a regular type float it is defined in StaticPrefList.yaml as an AtomicFloat. I am assuming this was the intent of the pref value all along.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 21:02:43 +00:00
kriswright 533fc20279 Bug 1573992 - Convert android.widget_paints_background to static pref. r=njn
Converts android.widget_paints_background to a static pref. From my understanding, this pref only matters on android, and the overridden function in nsIWidget defaults to `false`. Based on that I replaced the entire WidgetPaintsBackground() function with a static pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 20:25:43 +00:00
kriswright c99009c207 Bug 1573992 - Convert ui.scrolling.negate_wheel_scroll to static pref. r=njn
Converts ui.scrolling.negate_wheel_scroll to a static pref and updates its usages. This one is only enabled on android, so I used the IS_ANDROID value to fill it.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 20:25:43 +00:00
kriswright d489024871 Bug 1573992 - Convert intl.ime.hack.on_any_apps.fire_key_events_for_composition to static pref. r=njn
Converts intl.ime.hack.on_any_apps.fire_key_events_for_composition to a static pref and updates its usages.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 20:25:42 +00:00
kriswright be316b6bf9 Bug 1573992 - Convert 3 ui.key.* prefs to static prefs. r=njn
Converts ui.key.generalAccessKey, ui.key.chromeAccess, and ui.key.contentAccess to static prefs. Updates usages.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 20:25:42 +00:00
kriswright 6f43a49b41 Bug 1573992 - Convert two dom.keyboardevent.* prefs to staticprefs. r=njn
Converts dom.keyboardevent.dispatch_during_composition and dom.keyboardevent.keypress.dispatch_non_printable_keys_only_system_group_in_content to static prefs. Removes the dispatch_during_composition entry from mobile.js, since it just redefines the same pref value.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 20:25:42 +00:00
kriswright fa50c7828f Bug 1573992 - Convert browser.tabs.remote.desktopBehavior to static pref. r=njn
Converts browser.tabs.remote.desktopBehavior to a static pref. Updates usages.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 20:25:42 +00:00
Michal Novotny 390918caab Bug 1567616 - network id based on default gateway is wrong when VPN overrides default gateway by more specific routes r=dragana
This patch implements NetlinkService which communicates with kernel via netlink socket. It keeps track of addresses, default routes, interfaces and neighbors and uses it to calculate network ID.

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

--HG--
rename : netwerk/system/linux/nsNotifyAddrListener_Linux.cpp => netwerk/system/linux/nsNetworkLinkService.cpp
rename : netwerk/system/linux/nsNotifyAddrListener_Linux.h => netwerk/system/linux/nsNetworkLinkService.h
extra : moz-landing-system : lando
2019-08-26 21:46:32 +00:00
Nicholas Nethercote 378dc68bcc Bug 1576546 - Add various explanatory comments to the top of prefs files. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D43391

--HG--
extra : moz-landing-system : lando
2019-08-26 16:40:10 +00:00
Andreea Pavel f042d32425 Backed out changeset 22469090e93e (bug 1567616) for build bustages on a CLOSED TREE
--HG--
rename : netwerk/system/linux/nsNetworkLinkService.cpp => netwerk/system/linux/nsNotifyAddrListener_Linux.cpp
rename : netwerk/system/linux/nsNetworkLinkService.h => netwerk/system/linux/nsNotifyAddrListener_Linux.h
2019-08-27 00:30:40 +03:00
Michal Novotny 128254f45e Bug 1567616 - network id based on default gateway is wrong when VPN overrides default gateway by more specific routes r=dragana
This patch implements NetlinkService which communicates with kernel via netlink socket. It keeps track of addresses, default routes, interfaces and neighbors and uses it to calculate network ID.

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

--HG--
rename : netwerk/system/linux/nsNotifyAddrListener_Linux.cpp => netwerk/system/linux/nsNetworkLinkService.cpp
rename : netwerk/system/linux/nsNotifyAddrListener_Linux.h => netwerk/system/linux/nsNetworkLinkService.h
extra : moz-landing-system : lando
2019-08-26 20:03:33 +00:00
Dragana Damjanovic 2826398670 Bug 1575780 - We need a long request's timeout for trronly mode. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D43410

--HG--
extra : moz-landing-system : lando
2019-08-26 19:52:20 +00:00
Cameron McCormack 870501672b Bug 1533569 - Part 2: Enable shared UA style sheets. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D36255

--HG--
extra : moz-landing-system : lando
2019-08-23 19:36:47 +00:00
Nicholas Nethercote 66a26ccca9 Bug 1572332 - Move non-debugger devtools prefs into all.js and firefox.js. r=jdescottes
This makes prefs definition simpler, more consistent, and less error-prone.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 01:44:59 +00:00
Kershaw Chang 89ca1976ab Bug 1570732 - Skip trr when parental control is enabled r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D42489

--HG--
extra : moz-landing-system : lando
2019-08-23 21:17:15 +00:00
Jan Varga 3e97ea2f34 Bug 1563023 - Part 7: Implement caching functionality; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D38817

--HG--
extra : moz-landing-system : lando
2019-08-25 01:34:37 +00:00
Brian Hackett 611fa8b9db Bug 1575056 - Control record/replay logging with preference, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D42556

--HG--
extra : moz-landing-system : lando
2019-08-24 23:34:11 +00:00
Noemi Erli abea3666f6 Backed out 3 changesets (bug 1533569) for permafailing in text-decoration-color.html CLOSED TREE
Backed out changeset 70e4542f1434 (bug 1533569)
Backed out changeset 216edfe6b998 (bug 1533569)
Backed out changeset 43c411ccf445 (bug 1533569)
2019-08-23 22:31:41 +03:00
Will Hawkins 9e72ec1f8d Bug 1551313: Insert profiler markers when preferences are accessed. r=squib,gregtatum
Reviewers: squib, mstange, gregtatum

Reviewed By: squib, gregtatum

Subscribers: julienw, Fallen, reviewbot, mixedpuppy, mstange

Bug #: 1551313

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

--HG--
extra : rebase_source : e7e0b41b2a4c6f7228f3d6c19ede1fe2e4e42343
extra : histedit_source : 55daf5b19e4f262f522339b5b00ee31130abbf1b
2019-08-23 13:12:51 +03:00
Cameron McCormack 10462ec72c Bug 1533569 - Part 2: Enable shared UA style sheets. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D36255

--HG--
extra : moz-landing-system : lando
2019-08-23 02:33:07 +00:00
Brindusan Cristian bfbfab85eb Backed out changeset 92a2a3bc9f07 (bug 1456995) for bc failures at browser_devtools_serviceworker_interception.js and xpcshell failures. CLOSED TREE 2019-08-23 04:25:11 +03:00
Brindusan Cristian 103921e690 Backed out 1 changesets (bug 1551313) for build bustages at ProfilerMarkerPayload.cpp. CLOSED TREE
Backed out changeset 7fd9b797a83e (bug 1551313)
2019-08-23 04:22:03 +03:00
Will Hawkins 282a19afbf Bug 1551313: Insert profiler markers when preferences are accessed. r=squib,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D39796

--HG--
extra : moz-landing-system : lando
2019-08-23 00:21:53 +00:00
Perry Jiang 7f3dfe28f8 Bug 1456995 - enable Service Workers' parent-intercept mode on Nightly r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D43170

--HG--
extra : moz-landing-system : lando
2019-08-23 00:01:53 +00:00
Sebastian Streich 444eb9179d Bug 1536058 - Add Cache-Isolation behind a pref r=ckerschb,Ehsan
***

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

--HG--
extra : moz-landing-system : lando
2019-08-22 15:20:53 +00:00
Markus Stange edcb49355b Bug 1574538 - Enable CoreAnimation by default. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D42377

--HG--
extra : moz-landing-system : lando
2019-08-21 22:43:46 +00:00
Frédéric Wang 90172bae44 Bug 1575596 - MathML Lengths: Do not accept numbers ending with a dot. r=emilio
See https://github.com/mathml-refresh/mathml/issues/23
and https://groups.google.com/forum/#!topic/mozilla.dev.platform/wIjm9JjVHNg

This commit introduces a new preference option
mathml.legacy_number_syntax.disabled to disable legacy MathML numbers
(e.g. "1234.") that are not supported by CSS. This feature is now disabled by
default.

* test_bug553917.html is updated to check that such legacy values now cause an
  error message to be logged into the console when the feature is disabled.
* Legacy MathML features are now disabled for WPT mathml test in a global
  __dir__.ini file. Removing legacy numbers allow to pass
  mathml/relations/css-styling/lengths-2.html

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

--HG--
extra : moz-landing-system : lando
2019-08-21 23:49:36 +00:00
Nathan Froyd 4e9c8ebeb6 Bug 1575532 - avoid constructing needless strings in InitAlwaysPref; r=njn
Because `InitAlwaysPref` is an internal function, we can reasonably take
`const nsCString&` parameters, which avoids having to needlessly flatten
the already-flattened literal strings being passed to `InitAlwaysPref`.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 20:37:51 +00:00
Jan Varga dc66b57d8b Bug 1574569 - Don't abort LocalStorage requests when a sync message from parent is detected; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D42796

--HG--
extra : moz-landing-system : lando
2019-08-21 20:24:00 +00:00
Kristen Wright dacc355ec3 Bug 1572505 - Convert network.dns.disablePrefetchFromHTTPS to static pref. r=smaug,njn
Converts network.dns.disablePrefetchFromHTTPS to a static pref. Though the original VarCache pref default to `false`, it looks like the intended value is `true`. (see comment #0 in bug 1572505)

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

--HG--
extra : moz-landing-system : lando
2019-08-21 10:11:04 +00:00
Frédéric Wang 7a6019b9e2 Bug 1574750 - Remove support for MathML length values thinmathspace, mediummathspace, thickmathspace, etc. r=emilio
See https://github.com/mathml-refresh/mathml/issues/75
and https://groups.google.com/forum/#!topic/mozilla.dev.platform/yEMdIOo4i-0

This commit introduces a new preference option
mathml.mathspace_names.disabled to disable *mathspace names for MathML lengths.
For now, these are only disabled in Nightly builds.

* test_bug553917.html is updated to check that these values now cause an
  error message to be logged into the console when mathsize names are used
  and the feature disabled.
* mathml-negativespace-ref.html and positive-namedspace.html verify support for
  mathspace names, so force running them with the support enabled.
* The reference files for mo-lspace-rspace-2.html, mo-lspace-rspace-3.html,
  mo-lspace-rspace.html, op-dict-8.html and op-dict-9.html use explicit
  lspace/rspace attributes corresponding to the one read from the operator
  dictionary. Instead of running them with mathspace names enabled, use the
  equivalent em values from core
  https://mathml-refresh.github.io/mathml-core/#operator-dictionary
  See https://github.com/mathml-refresh/mathml/issues/75#issuecomment-523016332
* Force WPT tests
  mathml/presentation-markup/fractions/frac-linethickness-002.html and
  mathml/relations/css-styling/lengths-2.html to be run with the features
  disabled and remove corresponding failure expectation.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 12:56:30 +00:00
Sylvestre Ledru 7759b614e2 Bug 1575249 - Ride along: remove +x permissions on source files r=Ehsan
Depends on D42672

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

--HG--
extra : moz-landing-system : lando
2019-08-21 09:57:03 +00:00
Dorel Luca 19824f0717 Backed out changeset eeeb0858e706 (bug 1574538) for mochitest failures on toolkit/content/tests/widgets/test_videocontrols.html
--HG--
extra : rebase_source : 0281b9e6833c1b99a0a7d12dff7c594a707835b7
2019-08-21 10:32:49 +03:00
Markus Stange 324f4dbabb Bug 1574538 - Enable CoreAnimation by default. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D42377

--HG--
extra : moz-landing-system : lando
2019-08-20 18:44:20 +00:00
Alastor Wu 58ec457e76 Bug 1568101 - part2 : use a static pref to control the feature. r=jolin
Use a static pref to control this feature and turn it off by default.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 23:38:21 +00:00
Frédéric Wang 675225dd5a Bug 1574749 - Remove support for nonzero unitless lengths. r=emilio
See https://github.com/mathml-refresh/mathml/issues/24
and https://groups.google.com/forum/#!topic/mozilla.dev.platform/-yV6wb3klSA

This commit introduces a new preference option
mathml.nonzero_unitless_lengths.disabled to disable MathML nonzero unitless
values like "5" for 500%. MathML nonzero unitless are now disabled by default
but it could be easily enabled again later if we decide otherwise.

* test_bug553917.html is updated to check that these values now cause an error
  message to be logged into the console rather than a deprecated warning
  when nonzero unitless lengths are disabled.
  Additionally, the test checking invalid double dots "2..0" is updated not
  to use unitless syntax.
* The old test 355548-3.xml checks support for mathsize names and also uses
  several features that are going to be deprecated. So it is just run with
  the proper preference adjustment.
* mfrac-linethickness-2.xhtml and number-size-1.xhtml check support for
  unitless lengths so they are now run with that support enabled.
* WPT tests frac-linethickness-001.html and lengths-1.html are executed with
  the some MathML features disabled in order to make them pass.
  We get more assertion passing for the "Legacy numbers" test of
  lengths-2.html ; however there are still some issues to address
  (see bug 1574751).

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

--HG--
extra : moz-landing-system : lando
2019-08-19 17:10:58 +00:00
Frédéric Wang 526e469d17 Bug 1548527 - Remove values "small", "normal", "big" values of the mathsize attribute. r=emilio
See https://github.com/mathml-refresh/mathml/issues/7
    and https://groups.google.com/forum/#!topic/mozilla.dev.platform/kyB34PjYXek

    This commit introduces a new preference option
    mathml.mathsize_names.disabled to disable mathsize keyword values. For
    now, these are only disabled in Nightly builds.

    * test_bug553917.html is updated to check that these values now cause an
      error message to be logged into the console when mathsize names are used
      and the feature disabled.
    * The old test 355548-3.xml checks support for mathsize names and also uses
      several features that are going to be deprecated. So it is just run with
      the proper preference adjustment.
    * mathml/relations/css-styling/mathsize-attribute-legacy-values.html passes
      after this change so the test is run with the mathsize names disabled too
      and the failure expectation is removed.
    * mathml/relations/css-styling/mathsize-attribute-css-keywords.html is added
      to check that CSS keywords won't be supported when we switch to using the
      CSS parser in the future. This test passes now when the "small" keyword
      is not accepted so it is run with the mathsize names disabled too.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 18:28:03 +00:00
Ciure Andrei 7a76528da4 Backed out 2 changesets (bug 1533569) for causing Android and Win AArch raptors to perma fail and automation.py tier 2 perma fails CLOSED TREE
Backed out changeset 9c5be5540874 (bug 1533569)
Backed out changeset 06da212d37f5 (bug 1533569)
2019-08-17 07:40:54 +03:00
Cameron McCormack cdff391dd9 Bug 1533569 - Part 2: Enable shared UA style sheets. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D36255

--HG--
extra : moz-landing-system : lando
2019-08-16 23:45:27 +00:00
Frédéric Wang 7175f01408 Bug 1548529 - Remove values "thin", "thick", "medium" values of mfrac@linethickness. r=emilio
See https://github.com/mathml-refresh/mathml/issues/4
and https://groups.google.com/forum/#!topic/mozilla.dev.platform/G91-vBeC3Rw

This commit introduces a new preference option
mathml.mfrac_linethickness_names.disabled to disable linethickness names. For
now, these names are only disabled in Nightly builds. Announcements and actual
disabling of this and other MathML features will be considered later.

* test_bug553917.html is updated to check that these values now cause an error
  message to be logged into the console.
* mstyle-1.xhtml is updated to use a numeric linethickness since the point of
  the test is just to check that the attribute is not supported on mstyle, not
  about the actual attribute value.
* Other fractions tests relying on linethickness names are executed with the
  proper preference adjustment.
* mathml/presentation-markup/fractions/frac-linethickness-001.html is now
  closer to its expectation ; however the test still fails because nonzero
  unitless values are not removed yet. See
  https://github.com/mathml-refresh/mathml/issues/24

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

--HG--
extra : moz-landing-system : lando
2019-08-16 17:41:59 +00:00
Henri Sivonen 3201835b16 Bug 1574090 - Make fission.autostart available via StaticPrefs. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D42091

--HG--
extra : moz-landing-system : lando
2019-08-16 07:35:29 +00:00
Nicholas Nethercote adb8141652 Bug 1572633 - Document some additional details about pref files. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D41331

--HG--
extra : moz-landing-system : lando
2019-08-16 07:27:22 +00:00
Nicholas Nethercote b55ea25941 Bug 1572633 - Remove apz.overscroll.spring_{stiffness,friction}. r=botond
They are unused.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 07:28:08 +00:00
Jeff Muizelaar ade5ad48a8 Bug 1574327. Add a pref that we can use to disable d3d11 blacklist. r=aosmond
We'll use this to enable WARP on CI.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 22:39:18 +00:00
Nicholas Nethercote b634df9005 Bug 1573720 - Convert dom.storage.default.quota to a static pref. r=mccr8
This one was VarCached to two different variables in two different modules.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 05:31:38 +00:00
Nicholas Nethercote 048727ff15 Bug 1573720 - Convert canvas.image.cache.limit to a static pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D41919

--HG--
extra : moz-landing-system : lando
2019-08-15 05:31:24 +00:00
Nicholas Nethercote e3f4932e1c Bug 1573720 - Convert dom.mapped_arraybuffer.enabled to a static pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D41918

--HG--
extra : moz-landing-system : lando
2019-08-15 05:31:10 +00:00
Nicholas Nethercote 735faa5294 Bug 1573720 - Convert intl.charset.fallback.tld to a static pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D41917

--HG--
extra : moz-landing-system : lando
2019-08-15 05:30:56 +00:00
Nicholas Nethercote 14e8c9129a Bug 1573720 - Convert layers.force-active to a static pref. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D41916

--HG--
extra : moz-landing-system : lando
2019-08-15 05:30:37 +00:00
Mike Hommey 2d9d6639b7 Bug 1574058 - Backout changeset c5acba2f11e0 (bug 1418425). r=froydnj
It was remaining from an earlier iteration of bug 1418425 that uses
zlib's crc32 function, but ended up unused because in the end it was
done differently.

Interestingly, the corresponding host objects are not built currently,
and actually fail to build when built manually (or with build system
changes that make them built).

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

--HG--
extra : moz-landing-system : lando
2019-08-15 13:17:39 +00:00
Nicholas Nethercote bcfea34a74 Bug 1573720 - Convert ui.touch_activation.duration_ms to a static pref. r=botond
The commit also adds a missing StaticPrefs_dom.h include for APZEventState.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 05:30:23 +00:00
Nicholas Nethercote cb6862ab2c Bug 1573720 - Convert ui.touch_activation.delay_ms to a static pref. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D41914

--HG--
extra : moz-landing-system : lando
2019-08-15 05:30:09 +00:00
Nicholas Nethercote 281d296163 Bug 1573720 - Convert network.auth.force-generic-ntlm-v1 to a static pref. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D41913

--HG--
extra : moz-landing-system : lando
2019-08-15 05:29:49 +00:00
Nicholas Nethercote 5e22e64603 Bug 1573720 - Convert security.view-source.reachable-from-inner-protocol to a static pref. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D41912

--HG--
extra : moz-landing-system : lando
2019-08-15 05:29:35 +00:00
Nicholas Nethercote 28020e4832 Bug 1573720 - Convert dom.forms.number.grouping to a static pref. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D41911

--HG--
extra : moz-landing-system : lando
2019-08-15 05:29:16 +00:00
Nicholas Nethercote 80fa6900e1 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-15 00:02:04 +00:00
Nicholas Nethercote c18fcfff15 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-15 00:02:00 +00:00
Kristen Wright 7978cc1098 Bug 1573968 - Remove WheelTransaction::Prefs. r=njn
All of these prefs are already static prefs, so this removes the varcache pref definitions from WheelTransaction and replaces them with the existing static prefs.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 22:18:59 +00:00
Ehsan Akhgari 56e165b9ce Bug 1573236 - Part 1: Move the Storage Access API heuristics and telemetry from the front-end to Gecko; r=johannh,baku
This will allow these heuristics to be used on mobile.
This depends on GeckoView supporting a JavaScript module
at resource:///modules/BrowserUsageTelemetry.jsm with the
interface described in nsIBrowserUsage.idl.  Bug 1573238 has
been filed in order to implement this module on GeckoView.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 21:00:51 +00:00
Kristen Wright 87723c635c Bug 1573268 - Convert layout.css.outline-style-auto.enabled to static pref. r=njn
Converts layout.css.outline-style-auto.enabled to a static pref and removes nsLayoutUtils::isOutlineStyleAutoEnabled().

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

--HG--
extra : moz-landing-system : lando
2019-08-14 00:26:02 +00:00
Kristen Wright 6bfb2c7c85 Bug 1573268 - Convert two layout.idle-period.* prefs to static prefs. r=njn
Converts layout.idle_period.required_quiescent_frames and layout.idle_period.time_limit to static prefs. These are the last prefs in nsLayoutUtils::initialize(), but since the function still calls nsComputedDOMStyle::RegisterPrefChangeCallbacks() the commit retains it.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 19:36:46 +00:00
Kristen Wright e1e114c69d Bug 1573268 - Convert layout.interruptible-reflow.enabled to static pref. r=njn
Converts layout.interruptible-reflow.enabled to a static pref and updates its usage.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 00:01:27 +00:00
Kristen Wright 0766a7b011 Bug 1573268 - Convert nglayout.debug.invalidation to static pref. r=njn
Converts nglayout.debug.invalidation to a static pref. Retains the old getter function from the old static bool, because it makes an additional comparison.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 23:47:48 +00:00
Kristen Wright 49185e9481 Bug 1573268 - Convert zoom.maxPercent and zoom.minPercent to static prefs. r=njn
Converts zoom.maxPercent and zoom.minPercent to static prefs, which creates a new "zoom" category on StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 18:29:55 +00:00
Kristen Wright 1e91da4122 Bug 1573268 - Convert font.size.systemFontScale to static pref. r=njn
Converts font.size.systemFontScale to a static pref. Removes the function in nsLayoutUtils and does the float division directly in PresShell.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 18:27:11 +00:00
kriswright cccb97beb8 Bug 1573268 - Convert two font.size.inflation.* prefs to static prefs. r=njn
Converts font.size.inflation.forceEnabled and font.size.inflation.disabledInMasterProcess to static prefs. Like previous revisions, I retained the member variables in PresShell and set them to the static prefs.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 20:15:52 +00:00
kriswright 1774881905 Bug 1573268 - Convert font.size.inflation.lineThreshold to a static pref. r=njn
Converts font.size.inflation.lineThreshold varcache pref to a static pref. Like previous revisions, this retains the member variable in PresShell.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 18:23:54 +00:00
kriswright 6a396a8167 Bug 1573268 - Convert 3 font.size.inflation.* prefs to static prefs. r=njn
Converts font.size.inflation.minTwips, font.size.inflation.emPerLine, and font.size.inflation.mappingIntercept to static prefs and removes their associated functions from nsLayoutUtils. There are associated member variables in PresShell, but since documentation specified that these variables are set specifically to prevent changes to the cache from being read until page reload, I made the decision to leave these and set them to the static prefs.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 18:19:33 +00:00
kriswright c562d89e13 Bug 1573268 - Convert font.size.inflation.maxRatio to static pref. r=njn
Creates the new 'font' category in StaticPrefList.yaml and adds font.size.inflation.maxRatio to the category. Removes the old static uint in nsLayoutUtils and the function that returns it.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 00:07:32 +00:00
kriswright 2809ff7952 Bug 1573268 - Convert layout.css.ruby.intercharacter.enabled to static pref. r=njn
Converts layout.css.ruby.intercharacter.enabled to a static pref and removes the associated function nsLayoutUtils::IsInterCharacterRubyEnabled(). Also removes the macro INTERCHARACTER_RUBY_ENABLED_PREF_NAME, since it was only being used to add the varcache pref.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:52:38 +00:00
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