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/. */
11 } = require("resource://devtools/shared/protocol.js");
13 const networkContentSpec = generateActorSpec({
14 typeName: "networkContent",
18 request: Arg(0, "json"),
20 response: RetVal("number"),
23 request: { resourceId: Arg(0) },
25 // stacktrace is an "array:string", but not always.
26 stacktrace: RetVal("json"),
32 exports.networkContentSpec = networkContentSpec;