Bug 1509543 - Add missing option parameter comment to devtools/server/actors/styles.js::getComputed() r=rcaliman
authorMichael Ratcliffe <mratcliffe@mozilla.com>
Mon, 26 Nov 2018 09:41:36 +0000
changeset 507205 b15134c683ba5b2b05554ea6e4c358bd2108028d
parent 507204 b1b57d2da9b146a2953afb27746515c36e862877
child 507206 ebe007c97c5dd1a6d9153f2b8cea84e27601470e
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrcaliman
bugs1509543
milestone65.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 1509543 - Add missing option parameter comment to devtools/server/actors/styles.js::getComputed() r=rcaliman Rasvan, if you could r+ this for me then that would be great. Differential Revision: https://phabricator.services.mozilla.com/D12779
devtools/server/actors/styles.js
--- a/devtools/server/actors/styles.js
+++ b/devtools/server/actors/styles.js
@@ -209,16 +209,18 @@ var PageStyleActor = protocol.ActorClass
    *   `filter`: A string filter that affects the "matched" handling.
    *     'user': Include properties from user style sheets.
    *     'ua': Include properties from user and user-agent sheets.
    *     Default value is 'ua'
    *   `markMatched`: true if you want the 'matched' property to be added
    *     when a computed property has been modified by a style included
    *     by `filter`.
    *   `onlyMatched`: true if unmatched properties shouldn't be included.
+   *   `filterProperties`: An array of properties names that you would like
+   *     returned.
    *
    * @returns a JSON blob with the following form:
    *   {
    *     "property-name": {
    *       value: "property-value",
    *       priority: "!important" <optional>
    *       matched: <true if there are matched selectors for this value>
    *     },