aboutsummaryrefslogtreecommitdiffstats
path: root/components/constellation
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2020-08-10 10:36:28 -0400
committerJosh Matthews <josh@joshmatthews.net>2020-08-10 10:37:00 -0400
commit79b3cc2a28d490de6a8c594bda6061f4e51513a4 (patch)
tree4dd77d3e76b09b7ddbac0472e2e16b9d4de90c1c /components/constellation
parent0cae5fd045bbf7099e144b8b888c93f862c798a3 (diff)
downloadservo-79b3cc2a28d490de6a8c594bda6061f4e51513a4.tar.gz
servo-79b3cc2a28d490de6a8c594bda6061f4e51513a4.zip
Remove stub debugger server.
Diffstat (limited to 'components/constellation')
-rw-r--r--components/constellation/Cargo.toml1
-rw-r--r--components/constellation/constellation.rs14
2 files changed, 1 insertions, 14 deletions
diff --git a/components/constellation/Cargo.toml b/components/constellation/Cargo.toml
index 29fbccd66d3..2bb5bf03b95 100644
--- a/components/constellation/Cargo.toml
+++ b/components/constellation/Cargo.toml
@@ -17,7 +17,6 @@ bluetooth_traits = { path = "../bluetooth_traits" }
canvas_traits = { path = "../canvas_traits" }
compositing = { path = "../compositing" }
crossbeam-channel = "0.4"
-debugger = { path = "../debugger" }
devtools_traits = { path = "../devtools_traits" }
embedder_traits = { path = "../embedder_traits" }
euclid = "0.20"
diff --git a/components/constellation/constellation.rs b/components/constellation/constellation.rs
index a9b114fa7bd..5dbacfb939f 100644
--- a/components/constellation/constellation.rs
+++ b/components/constellation/constellation.rs
@@ -50,7 +50,7 @@
//! * The font cache, image cache, and resource manager, which load
//! and cache shared fonts, images, or other resources.
//! * The service worker manager.
-//! * The devtools, debugger and webdriver servers.
+//! * The devtools and webdriver servers.
//!
//! The constellation passes messages between the threads, and updates its state
//! to track the evolving state of the browsing context tree.
@@ -357,10 +357,6 @@ pub struct Constellation<Message, LTF, STF, SWF> {
font_cache_thread: FontCacheThread,
/// A channel for the constellation to send messages to the
- /// debugger thread.
- debugger_chan: Option<debugger::Sender>,
-
- /// A channel for the constellation to send messages to the
/// devtools thread.
devtools_chan: Option<Sender<DevtoolsControlMsg>>,
@@ -526,9 +522,6 @@ pub struct InitialConstellationState {
/// A channel through which messages can be sent to the compositor.
pub compositor_proxy: CompositorProxy,
- /// A channel to the debugger, if applicable.
- pub debugger_chan: Option<debugger::Sender>,
-
/// A channel to the developer tools, if applicable.
pub devtools_chan: Option<Sender<DevtoolsControlMsg>>,
@@ -872,7 +865,6 @@ where
compositor_proxy: state.compositor_proxy,
active_browser_id: None,
browsers: HashMap::new(),
- debugger_chan: state.debugger_chan,
devtools_chan: state.devtools_chan,
bluetooth_thread: state.bluetooth_thread,
public_resource_threads: state.public_resource_threads,
@@ -2739,10 +2731,6 @@ where
warn!("Exit resource thread failed ({})", e);
}
- if let Some(ref chan) = self.debugger_chan {
- debugger::shutdown_server(chan);
- }
-
if let Some(ref chan) = self.devtools_chan {
debug!("Exiting devtools.");
let msg = DevtoolsControlMsg::FromChrome(ChromeToDevtoolsControlMsg::ServerExitMsg);