Bug 1596573 - Correct the documentation for custom use counters; r=froydnj
authorEdgar Chen <echen@mozilla.com>
Fri, 15 Nov 2019 13:39:13 +0000
changeset 502172 7b0f2fb77033c4eb66cd8ffbfdf7dcc52b7802eb
parent 502171 5a0c33a890beb2edfde816a966cba0605858c5d9
child 502173 6c468a5b599635fc091ea77b888283ada23abfae
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1596573
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1596573 - Correct the documentation for custom use counters; r=froydnj Differential Revision: https://phabricator.services.mozilla.com/D53083
dom/base/UseCounters.conf
--- a/dom/base/UseCounters.conf
+++ b/dom/base/UseCounters.conf
@@ -13,18 +13,18 @@
 //   (b) a comment, which is a line that begins with "//"
 //
 //   (c) one of four possible use counter declarations:
 //
 //         method <IDL interface name>.<IDL operation name>
 //         attribute <IDL interface name>.<IDL attribute name>
 //         custom <any valid identifier> <description>
 //
-// The <description> for custom counters will be appended to "When a document "
-// or "When a page ", so phrase it appropriately.  For instance, "constructs a
+// The <description> for custom counters will be appended to "Whether a document "
+// or "Whether a page ", so phrase it appropriately.  For instance, "constructs a
 // Foo object" or "calls Document.bar('some value')".  It may contain any
 // character (including whitespace).
 //
 // To actually cause use counters to be incremented, DOM methods
 // and attributes must have a [UseCounter] extended attribute in
 // the Web IDL file.
 // Custom counters are incremented when
 // SetUseCounter(eUseCounter_custom_MyName) is called on a Document object.