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

2 Коммитов

Автор SHA1 Сообщение Дата
Chris H-C 926bf6dca9 Bug 1675277 - Support FOG Labeled Metrics in C++ and JS r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D103233
2021-02-02 16:46:40 +00:00
Jan-Erik Rediger eeb5f1a8c2 Bug 1646165 - Implement FOG's JavaScript API via WebIDL. r=chutten,webidl,emilio,smaug
This is only the basic outline.
It doesn't do anything yet, but compile.
As there are no metrics generated for it it can't look up anything.

To note: Actual metric types are implemented in XPIDL later.

The following (priviliged) JavaScript code will soon work (if the
corresponding metrics would be defined):

const { Glean } = ChromeUtils.import("resource://gre/modules/Glean.jsm");
Glean.shared.test_only.count_things.add(1);

Differential Revision: https://phabricator.services.mozilla.com/D92211
2020-10-21 11:36:46 +00:00