aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2024-09-25 21:34:48 -0400
committerJosh Matthews <josh@joshmatthews.net>2024-09-25 21:34:48 -0400
commit2d2e34167ebe9b02e0c51ae2045140ddd7ca6598 (patch)
tree1f6161a8acbc181c64d8401b22a80e36d318cea1 /components/script/dom
parentaddcddf9603db86174247927c1b84ea4a23b0ced (diff)
downloadservo-2d2e34167ebe9b02e0c51ae2045140ddd7ca6598.tar.gz
servo-2d2e34167ebe9b02e0c51ae2045140ddd7ca6598.zip
Reset document state notification when replacing a window.
Diffstat (limited to 'components/script/dom')
-rw-r--r--components/script/dom/window.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs
index 267183004ea..a013da02683 100644
--- a/components/script/dom/window.rs
+++ b/components/script/dom/window.rs
@@ -2687,6 +2687,7 @@ impl Window {
});
*self.task_manager.borrow_mut() = data.task_manager;
*self.layout.borrow_mut() = data.layout;
+ self.has_sent_idle_message.set(false);
}
}