From f95560d8deceb4ceb8cc18e1e6e1af5652c69425 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Mon, 25 Nov 2019 14:19:15 -0500 Subject: [PATCH] viewport investigations --- components/layout_thread/lib.rs | 9 +++++---- etc/taskcluster/decision_task.py | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs index 848ed5953815..99f903118e63 100644 --- a/components/layout_thread/lib.rs +++ b/components/layout_thread/lib.rs @@ -1344,9 +1344,9 @@ impl LayoutThread { Some(x) => x, }; - debug!( - "layout: processing reflow request for: {:?} ({}) (query={:?})", - element, self.url, data.reflow_goal + info!( + "layout: processing reflow request for: {:?} ({}) (query={:?}) {:?}", + element, self.url, data.reflow_goal, self.viewport_size, ); trace!("{:?}", ShowSubtree(element.as_node())); @@ -1381,7 +1381,7 @@ impl LayoutThread { self.stylist .viewport_constraints() .map_or(current_screen_size, |constraints| { - debug!("Viewport constraints: {:?}", constraints); + info!("Viewport constraints: {:?}", constraints); // other rules are evaluated against the actual viewport Size2D::new( @@ -1392,6 +1392,7 @@ impl LayoutThread { let viewport_size_changed = self.viewport_size != old_viewport_size; if viewport_size_changed { + info!("new viewport size: {:?}", self.viewport_size); if let Some(constraints) = self.stylist.viewport_constraints() { // let the constellation know about the viewport constraints rw_data diff --git a/etc/taskcluster/decision_task.py b/etc/taskcluster/decision_task.py index 9342e6588302..cf0c8d543611 100644 --- a/etc/taskcluster/decision_task.py +++ b/etc/taskcluster/decision_task.py @@ -676,6 +676,7 @@ def wpt_chunks(platform, make_chunk_task, build_task, total_chunks, processes, THIS_CHUNK=str(this_chunk), PROCESSES=str(processes), GST_DEBUG="3", + RUST_LOG="layout_thread=info", ) ) # `test-wpt` is piped into `cat` so that stdout is not a TTY