Some debugging improvements and code style nits across gfx and constellation.

* Propagate the RUST_LOG env var to the child process
 * Add debug information when a recv() fails in paint thread's select!.
This commit is contained in:
Emilio Cobos Álvarez 2016-07-24 12:43:21 -07:00
parent 702445a3ec
commit 354dc66029
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 17 additions and 6 deletions

View file

@ -2915,6 +2915,7 @@ impl DocumentProgressHandler {
// http://w3c.github.io/navigation-timing/#widl-PerformanceNavigationTiming-loadEventStart
update_with_current_time_ms(&document.load_event_start);
debug!("About to dispatch load for {:?}", document.url());
let _ = wintarget.dispatch_event_with_target(document.upcast(), &event);
// http://w3c.github.io/navigation-timing/#widl-PerformanceNavigationTiming-loadEventEnd