aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/window.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r--components/script/dom/window.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs
index 8406583ed63..579f860bc5a 100644
--- a/components/script/dom/window.rs
+++ b/components/script/dom/window.rs
@@ -1370,6 +1370,9 @@ impl Window {
WindowBinding::Wrap(runtime.cx(), win)
}
+ pub fn live_devtools_updates(&self) -> bool {
+ return self.devtools_wants_updates.get();
+ }
}
fn should_move_clip_rect(clip_rect: Rect<Au>, new_viewport: Rect<f32>) -> bool {