aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorDelan Azabani <dazabani@igalia.com>2023-11-14 12:53:31 +0800
committerGitHub <noreply@github.com>2023-11-14 04:53:31 +0000
commit098e6a158039fe1b01cc69f1e52a5e375c4c423f (patch)
treee391369279ac98c7511c60b9c3f0105aeaac843d /components/script/script_thread.rs
parente6203817363d5cc209002539ad0d629a8b951f2e (diff)
downloadservo-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.rs4
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();