aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index e7f60e23772..1260fa9867a 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -2280,6 +2280,14 @@ impl ScriptThread {
can_gc,
)
},
+ WebDriverScriptCommand::GetElementShadowRoot(element_id, reply) => {
+ webdriver_handlers::handle_get_element_shadow_root(
+ &documents,
+ pipeline_id,
+ element_id,
+ reply,
+ )
+ },
WebDriverScriptCommand::ElementClick(element_id, reply) => {
webdriver_handlers::handle_element_click(
&documents,