diff options
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index a46c1a28b18..1d3bc4c4bcf 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -115,6 +115,7 @@ thread_local!(static SCRIPT_THREAD_ROOT: RefCell<Option<*const ScriptThread>> = pub unsafe fn trace_thread(tr: *mut JSTracer) { SCRIPT_THREAD_ROOT.with(|root| { if let Some(script_thread) = *root.borrow() { + debug!("tracing fields of ScriptThread"); (*script_thread).trace(tr); } }); @@ -1357,6 +1358,7 @@ impl ScriptThread { // otherwise find just the matching page and exit all sub-pages if let Some(ref mut child_page) = page.remove(id) { + debug!("shutting down layout for child context {:?}", id); shut_down_layout(&*child_page); } false |