Files
palemoon27/dom/base/UseCounters.conf
T
roytam1 5e37efec1a import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1068087: Add a simple mechanism for content pages to communicate with chrome. r=mconley (b6ce7f0be2e)
- Bug 1184626 - Add a per-process push message listener. r=smaug (0d65907e786)
- Bug 1188686 - Clear push subscriptions when forgetting about site. r=kitcambridge (ff8d40a053)
- Bug 1188450 - Add an empty EXPORTED_SYMBOLS array to PushServiceChildPreload.jsm; r=nsm (7d2274ddef)
- Bug 1190661 - Send push only to child processes when in e10s mode. r=smaug (bcdc3b4207)
- Bug 1192441: Disable Push service debug logging by default. r=doug (d66aebc97d)
- Bug 1196512 - Use principals to test for push permissions. r=nsm (c41ba7be28)
- Bug 1197998 - Use counters for Push subscribe, unsubscribe and permission query. r=froydnj,kitcambridge,jst (e3bbaddfef)
- Bug 1172502 - Add message encription for WebPush. r=mt r=kitcambridge r=keeler r=smaug (ae571ed395)
- Bug 914481 - Patch 1 - Push usage and permissions telemetry. r=kitcambridge (d3a69bf4f0)
- Bug 914481 - Patch 2 - Track subscribe and unsubscribe success/failure. r=kitcambridge (aa049e0804)
- Bug 914481 - Patch 3 - Subscription and quota expiration times. r=kitcambridge, p=ally (d9dd4a3dcc)
- Bug 914481 - Patch 4 - Track why we fail to deliver notifications to Service Workers. r=kitcambridge (9d8e7f0d38)
- Back out bug 1100863 and bug 1152264 for causing bug 1189729 (5bd65ff786)
- Bug 1185544 - Add data delivery to the WebSocket backend. r=dragana,nsm (2c3242e712)
- Bug 1149195 - Expose push message data accessors. r=nsm,dragana,smaug (52333cbc9bc)
2022-10-17 10:05:12 +08:00

49 lines
1.9 KiB
Plaintext

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// This file defines a list of use counters, which are things that can
// record usage of Web platform features and then report this information
// through Telemetry.
//
// The format of this file is very strict. Each line can be:
//
// (a) a blank line
//
// (b) a comment, which is a line that begins with "//"
//
// (c) an #if/ifdef/else/endif preprocessor directive
//
// (d) one of three possible use counter declarations:
//
// method <IDL interface name>.<IDL operation name>
// attribute <IDL interface name>.<IDL attribute name>
// property <CSS property method name>
//
// The |CSS property method name| should be identical to the |method|
// argument to CSS_PROP and related macros. The method name is
// identical to the name of the property, except that all hyphens are
// removed and CamelCase naming is used. See nsCSSPropList.h for
// further details.
//
// To actually cause use counters to be incremented, DOM methods
// and attributes must have a [UseCounter] extended attribute in
// the Web IDL file. CSS properties require no special treatment
// beyond being listed below.
//
// You might reasonably ask why we have this file and we require
// annotating things with [UseCounter] in the relevant WebIDL file as
// well. Generating things from bindings codegen and ensuring all the
// dependencies were correct would have been rather difficult, and
// annotating the WebIDL files does nothing for identifying CSS
// property usage, which we would also like to track.
method SVGSVGElement.getElementById
attribute SVGSVGElement.currentScale
property Fill
property FillOpacity
// Push API
method PushManager.subscribe
method PushSubscription.unsubscribe