diff options
author | Delan Azabani <dazabani@igalia.com> | 2023-11-14 12:53:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 04:53:31 +0000 |
commit | 098e6a158039fe1b01cc69f1e52a5e375c4c423f (patch) | |
tree | e391369279ac98c7511c60b9c3f0105aeaac843d /components/script/script_thread.rs | |
parent | e6203817363d5cc209002539ad0d629a8b951f2e (diff) | |
download | servo-098e6a158039fe1b01cc69f1e52a5e375c4c423f.tar.gz servo-098e6a158039fe1b01cc69f1e52a5e375c4c423f.zip |
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
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index d25c58db0d8..b33eb922fd8 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -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(); |