css-properties.js 521 B

123456789101112131415161718192021
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. "use strict";
  5. const { RetVal, generateActorSpec } = require("devtools/shared/protocol");
  6. const cssPropertiesSpec = generateActorSpec({
  7. typeName: "cssProperties",
  8. methods: {
  9. getCSSDatabase: {
  10. request: {},
  11. response: RetVal("json"),
  12. }
  13. }
  14. });
  15. exports.cssPropertiesSpec = cssPropertiesSpec;