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/. */
10 } = require("resource://devtools/shared/protocol.js");
12 const styleSheetsSpec = generateActorSpec({
13 typeName: "stylesheets",
20 response: { traits: RetVal("json") },
24 text: Arg(0, "string"),
25 fileName: Arg(1, "nullable:string"),
30 request: { resourceId: Arg(0, "string") },
31 response: { disabled: RetVal("boolean") },
34 request: { resourceId: Arg(0, "string") },
35 response: { text: RetVal("longstring") },
39 resourceId: Arg(0, "string"),
40 text: Arg(1, "string"),
41 transition: Arg(2, "boolean"),
42 cause: Arg(3, "nullable:string"),
49 exports.styleSheetsSpec = styleSheetsSpec;