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

16626 Коммитов

Автор SHA1 Сообщение Дата
Gerald Squelart 95f77c2409 Bug 1576819 - Use PROFILER_ADD_MARKER{,_WITH_PAYLOAD} everywhere - r=gregtatum
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
2019-09-04 07:56:51 +00:00
Tom Ritter d922064696 Bug 1547519 - Rename NS_STRINGIFY to MOZ_STRINGIFY, move to mfbt, and unify stragglers r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D39961

--HG--
extra : moz-landing-system : lando
2019-09-04 02:40:32 +00:00
Anny Gakhokidze 2d96c35cff Bug 1345192 - Remove gecko-only DataTransfer APIs for non-chrome code, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D44508

--HG--
extra : moz-landing-system : lando
2019-09-03 17:16:12 +00:00
Cosmin Sabou d6435fae32 Backed out 4 changesets (bug 1456995) for OSX mochitest failures on test_serviceworkerinfo.xul. CLOSED TREE
Backed out changeset e4deba1aa285 (bug 1456995)
Backed out changeset 03db4932e3ca (bug 1456995)
Backed out changeset 962b6affd688 (bug 1456995)
Backed out changeset 5fbed7d37ac0 (bug 1456995)
2019-09-03 22:27:03 +03:00
Perry Jiang 4875d42d23 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-09-03 18:08:47 +00:00
arthur.iakab 4ea120b5cb Backed out changeset e3f06f11de62 (bug 1237782) for causing browser-chrome failure on automation.py CLOSED TREE 2019-09-03 21:04:49 +03:00
Jonathan Kingston dbfd29b586 Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-03 16:44:13 +00:00
Christoph Kerschbaumer 08753eb725 Bug 1497191: Apply Meta CSP to about:config.r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41526

--HG--
extra : moz-landing-system : lando
2019-09-03 11:03:30 +00:00
Andrea Marchesini d5803b5f62 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-09-03 10:50:40 +00:00
Daosheng Mu d156723473 Bug 1577977 - Making ui.scrolling.negate_wheel_scroll to be RelaxedAtomicBool. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D44299

--HG--
extra : moz-landing-system : lando
2019-09-03 08:30:00 +00:00
Dorel Luca f8f63b82ff Merge mozilla-central to autoland 2019-09-03 07:07:09 +03:00
Dorel Luca 15fefbe415 Merge mozilla-inbound to mozilla-central. a=merge 2019-09-03 07:03:04 +03:00
Matt Woodrow 1b5f7c772a Bug 1556489 - P18. Add DocumentChannel and hook it up. r=nika,mayhemer
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
2019-09-03 10:19:38 +10:00
Markus Stange ae164c9304 Bug 1576263 - Conditionally include profiler functionality only where it's supported. r=whawkins,njn
Differential Revision: https://phabricator.services.mozilla.com/D44343

--HG--
extra : moz-landing-system : lando
2019-09-02 20:35:48 +00:00
Kristen Wright 2880e3e378 Bug 1575983 - Remove duplicate gfx.* prefs, part 3 r=njn
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
2019-09-02 23:46:41 +00:00
Kristen Wright a692b7d4a0 Bug 1575983 - Remove duplicate gfx.* prefs, part 2 r=njn
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
2019-09-02 04:17:15 +00:00
Kristen Wright 58015f95e1 Bug 1575983 - Remove duplicate gfx.* prefs, part 1 r=njn
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
2019-09-02 03:40:06 +00:00
Kristen Wright fecc5451aa Bug 1575983 - Remove duplicate general.* prefs, part 2 r=njn
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
2019-09-02 03:35:49 +00:00
Kristen Wright 4111a05e39 Bug 1575983 - Remove duplicate general.* prefs, part 1 r=njn
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
2019-09-02 03:30:18 +00:00
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