mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #9094 - servo:silent-debug-message, r=SimonSapin
Make a debugging println!() conditional on is_running_problem_test
… like other print messages introduced in 19a1e57c90
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9094)
<!-- Reviewable:end -->
This commit is contained in:
commit
d9bf672cb0
1 changed files with 3 additions and 1 deletions
|
@ -1652,7 +1652,9 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
// for saving.
|
||||
// Reset the flag so that we check again in the future
|
||||
// TODO: only reset this if we load a new document?
|
||||
println!("was ready to save, resetting ready_to_save_state");
|
||||
if opts::get().is_running_problem_test {
|
||||
println!("was ready to save, resetting ready_to_save_state");
|
||||
}
|
||||
self.ready_to_save_state = ReadyState::Unknown;
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue