fune/devtools/shared/specs/network-monitor.js
Alexandre Poirot 3ea819fbef Bug 1444132 - Spawn a NetworkMonitorActor directly in the parent process. r=jryans
This allows to create NetworkEventActor directly from the parent process
and avoid most of the data being piped from the parent to the content processes.

MozReview-Commit-ID: 8p3A5yl5eVB

--HG--
extra : rebase_source : 49eb0406eff31b8262ac316884a4abd57512f6cf
2018-03-08 09:13:26 -08:00

15 lines
437 B
JavaScript

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
const { generateActorSpec } = require("devtools/shared/protocol");
const networkMonitorSpec = generateActorSpec({
typeName: "network-monitor",
methods: {},
});
exports.networkMonitorSpec = networkMonitorSpec;