From 27974457cd7e4506ff72ee3e15ed4e6a3b585590 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Mon, 10 Aug 2020 23:48:28 -0400 Subject: [PATCH] Disable as many broken devtools panels as possible. --- components/devtools/actors/browsing_context.rs | 8 ++++---- components/devtools/actors/root.rs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/devtools/actors/browsing_context.rs b/components/devtools/actors/browsing_context.rs index beee86e50b5..5692fb167cd 100644 --- a/components/devtools/actors/browsing_context.rs +++ b/components/devtools/actors/browsing_context.rs @@ -98,12 +98,12 @@ pub struct BrowsingContextActorMsg { outerWindowID: u32, browsingContextId: u32, consoleActor: String, - emulationActor: String, + /*emulationActor: String, inspectorActor: String, timelineActor: String, profilerActor: String, performanceActor: String, - styleSheetsActor: String, + styleSheetsActor: String,*/ traits: BrowsingContextTraits, // Part of the official protocol, but not yet implemented. /*storageActor: String, @@ -326,12 +326,12 @@ impl BrowsingContextActor { //FIXME: shouldn't ignore pipeline namespace field outerWindowID: self.active_pipeline.get().index.0.get(), consoleActor: self.console.clone(), - emulationActor: self.emulation.clone(), + /*emulationActor: self.emulation.clone(), inspectorActor: self.inspector.clone(), timelineActor: self.timeline.clone(), profilerActor: self.profiler.clone(), performanceActor: self.performance.clone(), - styleSheetsActor: self.styleSheets.clone(), + styleSheetsActor: self.styleSheets.clone(),*/ } } diff --git a/components/devtools/actors/root.rs b/components/devtools/actors/root.rs index 1f0ae9cd33e..915d3d1495a 100644 --- a/components/devtools/actors/root.rs +++ b/components/devtools/actors/root.rs @@ -249,10 +249,10 @@ impl RootActor { from: "root".to_owned(), applicationType: "browser".to_owned(), traits: ActorTraits { - sources: true, + sources: false, highlightable: true, customHighlighters: true, - networkMonitor: true, + networkMonitor: false, }, } }