Bug 1388132 - Enable use counter for XMLDocument.async; r=francois,smaug
authorAryeh Gregor <ayg@aryeh.name>
Tue, 08 Aug 2017 14:00:06 +0300
changeset 425436 d5a7aa8a32eac634545788aad44117fd48c28432
parent 425435 e6fb60951529235d6bb0591e47ceaf66ff1b8044
child 425437 8fb19d60707b561c831e6dd3f7a4e1d829e774ef
push id1567
push userjlorenzo@mozilla.com
push dateThu, 02 Nov 2017 12:36:05 +0000
treeherdermozilla-release@e512c14a0406 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfrancois, smaug
bugs1388132
milestone57.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 1388132 - Enable use counter for XMLDocument.async; r=francois,smaug This API is not implemented by other browsers and we want to ensure there isn't significant usage before removing it. MozReview-Commit-ID: Kb3HyJW6hGB
dom/base/UseCounters.conf
dom/webidl/XMLDocument.webidl
--- a/dom/base/UseCounters.conf
+++ b/dom/base/UseCounters.conf
@@ -35,16 +35,17 @@
 // 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
+attribute XMLDocument.async
 
 // Push API
 method PushManager.subscribe
 method PushSubscription.unsubscribe
 
 // window.sidebar.addSearchEngine
 attribute Window.sidebar
 method External.addSearchEngine
--- a/dom/webidl/XMLDocument.webidl
+++ b/dom/webidl/XMLDocument.webidl
@@ -14,10 +14,11 @@ interface XMLDocument : Document {};
 // http://www.whatwg.org/specs/web-apps/current-work/#xmldocument
 partial interface XMLDocument {
   [Throws, NeedsCallerType]
   boolean load(DOMString url);
 };
 
 // Gecko extensions?
 partial interface XMLDocument {
+  [UseCounter]
   attribute boolean async;
 };