aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
diff options
context:
space:
mode:
authorJames Graham <james@hoppipolla.co.uk>2015-05-06 12:22:10 +0100
committerJames Graham <james@hoppipolla.co.uk>2015-05-06 12:22:10 +0100
commit1576107c45d48473df172807bcdcbfa1a1db7d83 (patch)
tree3fc2521c5748209879128f976b608812330654f8 /components/script/script_task.rs
parentb762758366928d15063ce661e75e9494d5720353 (diff)
downloadservo-1576107c45d48473df172807bcdcbfa1a1db7d83.tar.gz
servo-1576107c45d48473df172807bcdcbfa1a1db7d83.zip
Implement webdriver commands for back/forward/title/handles.
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r--components/script/script_task.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs
index 534af2e081f..397078fde19 100644
--- a/components/script/script_task.rs
+++ b/components/script/script_task.rs
@@ -791,7 +791,9 @@ impl ScriptTask {
let page = self.root_page();
match msg {
WebDriverScriptCommand::EvaluateJS(script, reply) =>
- webdriver_handlers::handle_evaluate_js(&page, pipeline_id, script, reply)
+ webdriver_handlers::handle_evaluate_js(&page, pipeline_id, script, reply),
+ WebDriverScriptCommand::GetTitle(reply) =>
+ webdriver_handlers::handle_get_title(&page, pipeline_id, reply)
}
}