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

20 Коммитов

Автор SHA1 Сообщение Дата
Cameron McCormack 021b5a926c Bug 1642262 - Report a one-based line number in UseCounters.conf error messages. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D77626
2020-06-01 20:38:08 +00:00
Mike Shal aac5e64eae Bug 1620035 - Convert dom/base/usecounters.py to py3; r=firefox-build-system-reviewers,rstewart
Depends on D65381

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

--HG--
extra : moz-landing-system : lando
2020-03-05 17:04:02 +00:00
Edgar Chen 9bb5b96dc0 Bug 1202706 - Part 1: Add telemetry histograms for worker use counters; r=chutten,bzbarsky
This patch uses similar architecture of use counters of main thread for workers.

Which introduces the following format histograms for use counters of workers

USE_COUNTER2_*_DEDICATED_WORKER
USE_COUNTER2_*_SHARED_WORKER
USE_COUNTER2_*_SERVICE_WORKER

And add the following histograms used in conjunction with above use counter histograms

DEDICATED_WORKER_DESTROYED
SHARED_WORKER_DESTROYED
SERVICE_WORKER_DESTROYED

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

--HG--
rename : dom/base/UseCounters.conf => dom/base/UseCountersWorker.conf
extra : moz-landing-system : lando
2019-11-27 23:22:29 +00:00
Arthur Iakab 9d31553698 Backed out 4 changesets (bug 1202706) for causing mochitest assertion failures on BindingUtils.cpp
Backed out changeset 10409e01c086 (bug 1202706)
Backed out changeset 5b8427cf16b3 (bug 1202706)
Backed out changeset b8068238928b (bug 1202706)
Backed out changeset 38419ebb5494 (bug 1202706)
2019-11-28 01:13:02 +02:00
Edgar Chen 3f1d64ce15 Bug 1202706 - Part 1: Add telemetry histograms for worker use counters; r=chutten,bzbarsky
This patch uses similar architecture of use counters of main thread for workers.

Which introduces the following format histograms for use counters of workers

USE_COUNTER2_*_DEDICATED_WORKER
USE_COUNTER2_*_SHARED_WORKER
USE_COUNTER2_*_SERVICE_WORKER

And add the following histograms used in conjunction with above use counter histograms

DEDICATED_WORKER_DESTROYED
SHARED_WORKER_DESTROYED
SERVICE_WORKER_DESTROYED

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

--HG--
rename : dom/base/UseCounters.conf => dom/base/UseCountersWorker.conf
extra : moz-landing-system : lando
2019-11-26 17:36:44 +00:00
Emilio Cobos Álvarez 31755a845c Bug 1578661 - Remove old CSS use counters. r=boris
We only have two counters enabled, just for testing, and they just count from
the SVG mapped attribute code. That's not great, and they mostly complicate the
next few patches.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 00:20:35 +00:00
Cosmin Sabou 2978a72248 Backed out 10 changesets (bug 1578661) for linting failures on layout/style/ServoCSSPropList.py. CLOSED TREE
Backed out changeset b1b5393b1099 (bug 1578661)
Backed out changeset b87eebb0cf6e (bug 1578661)
Backed out changeset 6ba2ee45f26e (bug 1578661)
Backed out changeset 4a1d45160d60 (bug 1578661)
Backed out changeset 7a5687bebc02 (bug 1578661)
Backed out changeset 33c306c9020a (bug 1578661)
Backed out changeset 89d7e6fb24b0 (bug 1578661)
Backed out changeset 42c4943e569b (bug 1578661)
Backed out changeset 88d988a80de1 (bug 1578661)
Backed out changeset 78c90f9e9eee (bug 1578661)
2019-09-19 01:50:03 +03:00
Emilio Cobos Álvarez 6a2a92e98a Bug 1578661 - Remove old CSS use counters. r=boris
We only have two counters enabled, just for testing, and they just count from
the SVG mapped attribute code. That's not great, and they mostly complicate the
next few patches.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 15:15:19 +00:00
Andreea Pavel 7494b360c0 Backed out 10 changesets (bug 1578661) for lints failure at ServoCSSPropList.cpp on a CLOSED TREE
Backed out changeset ed3c619100e7 (bug 1578661)
Backed out changeset 027514a2eaf6 (bug 1578661)
Backed out changeset f2e228282b20 (bug 1578661)
Backed out changeset 67c36136dce7 (bug 1578661)
Backed out changeset 2280b27cc130 (bug 1578661)
Backed out changeset 445d13a2c452 (bug 1578661)
Backed out changeset 89caaa850049 (bug 1578661)
Backed out changeset 2f8be5db1786 (bug 1578661)
Backed out changeset 51a015a9a0f8 (bug 1578661)
Backed out changeset ad8e1f27a600 (bug 1578661)
2019-09-18 18:09:30 +03:00
Emilio Cobos Álvarez d880111e86 Bug 1578661 - Remove old CSS use counters. r=boris
We only have two counters enabled, just for testing, and they just count from
the SVG mapped attribute code. That's not great, and they mostly complicate the
next few patches.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 12:04:33 +00:00
Andreea Pavel 31ca3fda59 Backed out 9 changesets (bug 1578661) for lints failure at ServoCSSPropList.py a=backout
Backed out changeset d16463e5698c (bug 1578661)
Backed out changeset c6d64ac858ba (bug 1578661)
Backed out changeset db306f1467f7 (bug 1578661)
Backed out changeset 273535aab82d (bug 1578661)
Backed out changeset f643262a8c25 (bug 1578661)
Backed out changeset b0db409ada96 (bug 1578661)
Backed out changeset dc96d13728e0 (bug 1578661)
Backed out changeset 11e1e8f0a1b7 (bug 1578661)
Backed out changeset 6dd7a0d914d9 (bug 1578661)
2019-09-18 13:53:34 +03:00
Emilio Cobos Álvarez a9ba10a9bc Bug 1578661 - Remove old CSS use counters. r=boris
We only have two counters enabled, just for testing, and they just count from
the SVG mapped attribute code. That's not great, and they mostly complicate the
next few patches.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 02:32:52 +00:00
Aryeh Gregor 3fd5dfdd58 Bug 1175033 - Support custom use counters that can be incremented from C++; r=froydnj
MozReview-Commit-ID: 7uFDgmM2zqs

--HG--
extra : rebase_source : 0c456c35162d33da1c72f82ee982d0eef23f5e3d
2017-08-08 17:01:27 +03:00
Mike Hommey e225a0e389 Bug 1228467 - Don't preprocess dom/base/UseCounters.conf. r=froydnj
There is no preprocessing directive in the file. Also, the current support for
preprocessing doesn't take into account any DEFINES that would be set in the
corresponding moz.build, which would be quite surprising would someone want
to use preprocessing on that file in the future.
2015-12-01 08:25:22 +09:00
Nathan Froyd bdd4365be1 Bug 1204994 - part 2 - rename all USE_COUNTER_* histograms to USE_COUNTER2_* histograms; r=bz,vladan
We're changing the definition of each of the use counter histograms.
Therefore, they need new names, so as to not throw wrenches into the
server-side machinery.  This renaming is the most straightforward way to
do things and similar to how we have renamed other histograms before.
2015-09-15 20:44:37 -04:00
Nathan Froyd 18fd6a8393 Backout c5b25c30befc:b217dfd70e22 (bug 1204994) for browser-chrome oranges; r=me 2015-09-17 05:09:13 -04:00
Nathan Froyd 85b556763a Bug 1204994 - part 2 - rename all USE_COUNTER_* histograms to USE_COUNTER2_* histograms; r=bz,vladan
We're changing the definition of each of the use counter histograms.
Therefore, they need new names, so as to not throw wrenches into the
server-side machinery.  This renaming is the most straightforward way to
do things and similar to how we have renamed other histograms before.
2015-09-15 20:44:37 -04:00
Cameron McCormack 57f66406e3 Bug 968923 - part 4 - hook up use counters to WebIDL bindings; r=bz 2015-02-05 12:53:01 -05:00
Cameron McCormack 81c7895606 Bug 968923 - part 3d - record use counter information from the CSS parser; r=dbaron 2015-06-03 15:21:24 -04:00
Nathan Froyd 1f278968fd Bug 968923 - part 1 - add infrastructure for defining use counters from UseCounters.conf; original-author=heycam; r=heycam,gfritzsche,mshal
This patch adds UseCounter.conf for defining use counters along with
infrastructure to generate enums and telemetry identifiers from
UseCounter.conf.
2015-02-04 17:00:00 -05:00