All calls to `profiler_add_marker()` (outside of the profilers code) are
now replaced by either:
- `PROFILER_ADD_MARKER(name, categoryPair)`
- `PROFILER_ADD_MARKER_WITH_PAYLOAD(name, categoryPair, TypeOfMarkerPayload,
(payload, ..., arguments))`
This makes all calls consistent, and they won't need to prefix the category pair
with `JS::ProfilingCategoryPair::`.
Also it will make it easier to add (and later remove) internal-profiling
instrumentation (bug 1576550), and to replace heap-allocated payloads with
stack-allocated ones (bug 1576555).
Differential Revision: https://phabricator.services.mozilla.com/D43588
--HG--
extra : moz-landing-system : lando
DocumentChannel acts as a replacement for HttpChannel where redirects are now entirely handled in the DocumentChannelParent. The ContentChild will receive the final nsIChannel once all redirects have been handled.
Differential Revision: https://phabricator.services.mozilla.com/D37490
Removes the remaining 7 duplicate gfx.* 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/D44266
--HG--
extra : moz-landing-system : lando
Removes duplicate gfx.* 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/D44265
--HG--
extra : moz-landing-system : lando
Removes 10 duplicate gfx.* 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/D44264
--HG--
extra : moz-landing-system : lando
Removes the last 12 duplicate general.* 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/D44263
--HG--
extra : moz-landing-system : lando
Removes 10 duplicate general.* 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/D44262
--HG--
extra : moz-landing-system : lando
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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