mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
constellation: clean up logging of pipelines and browsing contexts (#30657)
* constellation: clean up logging of pipelines and browsing contexts * bring back sentence case; remove commented code * fix more typos and wordings
This commit is contained in:
parent
e620381736
commit
098e6a1580
7 changed files with 190 additions and 316 deletions
|
@ -794,7 +794,7 @@ impl ScriptThreadFactory for ScriptThread {
|
|||
let (sender, receiver) = unbounded();
|
||||
let layout_chan = sender.clone();
|
||||
thread::Builder::new()
|
||||
.name(format!("Script{}", state.id))
|
||||
.name(format!("Script{:?}", state.id))
|
||||
.spawn(move || {
|
||||
thread_state::initialize(ThreadState::SCRIPT);
|
||||
PipelineNamespace::install(state.pipeline_namespace_id);
|
||||
|
@ -836,7 +836,7 @@ impl ScriptThreadFactory for ScriptThread {
|
|||
);
|
||||
script_thread.pre_page_load(new_load, load_data);
|
||||
|
||||
let reporter_name = format!("script-reporter-{}", id);
|
||||
let reporter_name = format!("script-reporter-{:?}", id);
|
||||
mem_profiler_chan.run_with_memory_reporting(
|
||||
|| {
|
||||
script_thread.start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue