Disable as many broken devtools panels as possible.

This commit is contained in:
Josh Matthews 2020-08-10 23:48:28 -04:00
parent d028d71fe9
commit 27974457cd
2 changed files with 6 additions and 6 deletions

View file

@ -98,12 +98,12 @@ pub struct BrowsingContextActorMsg {
outerWindowID: u32, outerWindowID: u32,
browsingContextId: u32, browsingContextId: u32,
consoleActor: String, consoleActor: String,
emulationActor: String, /*emulationActor: String,
inspectorActor: String, inspectorActor: String,
timelineActor: String, timelineActor: String,
profilerActor: String, profilerActor: String,
performanceActor: String, performanceActor: String,
styleSheetsActor: String, styleSheetsActor: String,*/
traits: BrowsingContextTraits, traits: BrowsingContextTraits,
// Part of the official protocol, but not yet implemented. // Part of the official protocol, but not yet implemented.
/*storageActor: String, /*storageActor: String,
@ -326,12 +326,12 @@ impl BrowsingContextActor {
//FIXME: shouldn't ignore pipeline namespace field //FIXME: shouldn't ignore pipeline namespace field
outerWindowID: self.active_pipeline.get().index.0.get(), outerWindowID: self.active_pipeline.get().index.0.get(),
consoleActor: self.console.clone(), consoleActor: self.console.clone(),
emulationActor: self.emulation.clone(), /*emulationActor: self.emulation.clone(),
inspectorActor: self.inspector.clone(), inspectorActor: self.inspector.clone(),
timelineActor: self.timeline.clone(), timelineActor: self.timeline.clone(),
profilerActor: self.profiler.clone(), profilerActor: self.profiler.clone(),
performanceActor: self.performance.clone(), performanceActor: self.performance.clone(),
styleSheetsActor: self.styleSheets.clone(), styleSheetsActor: self.styleSheets.clone(),*/
} }
} }

View file

@ -249,10 +249,10 @@ impl RootActor {
from: "root".to_owned(), from: "root".to_owned(),
applicationType: "browser".to_owned(), applicationType: "browser".to_owned(),
traits: ActorTraits { traits: ActorTraits {
sources: true, sources: false,
highlightable: true, highlightable: true,
customHighlighters: true, customHighlighters: true,
networkMonitor: true, networkMonitor: false,
}, },
} }
} }