mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
constellation: Move log inside relevant conditional. (#36713)
This message is logged when we don't actually act on it and is confusing as a result. By moving it inside the conditional, we only log the message when we actually notify webdriver that the load is complete. Testing: Manual testing. Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
085ad9ea48
commit
2892e7924d
1 changed files with 1 additions and 1 deletions
|
@ -3744,8 +3744,8 @@ where
|
|||
fn handle_load_complete_msg(&mut self, webview_id: WebViewId, pipeline_id: PipelineId) {
|
||||
let mut webdriver_reset = false;
|
||||
if let Some((expected_pipeline_id, ref reply_chan)) = self.webdriver.load_channel {
|
||||
debug!("Sending load for {:?} to WebDriver", expected_pipeline_id);
|
||||
if expected_pipeline_id == pipeline_id {
|
||||
debug!("Sending load for {:?} to WebDriver", expected_pipeline_id);
|
||||
let _ = reply_chan.send(WebDriverLoadStatus::Complete);
|
||||
webdriver_reset = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue