mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Make a debugging println!() conditional on is_running_problem_test
… like other print messages introduced in 19a1e57c90
This commit is contained in:
parent
f34a656b14
commit
46bb3e5778
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