aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authoraditj <aditjain1980@gmail.com>2019-04-19 13:15:50 +0530
committeraditj <aditjain1980@gmail.com>2019-04-19 13:15:50 +0530
commit64961cc9c1ef389a3b36b89d71782872a8b48a14 (patch)
tree3a3c7ddcf81d8d01c10545950b6cd788290a5b8a /components/script/script_thread.rs
parent04c93c511b021a1e76512f997992667540657c4e (diff)
downloadservo-64961cc9c1ef389a3b36b89d71782872a8b48a14.tar.gz
servo-64961cc9c1ef389a3b36b89d71782872a8b48a14.zip
Add webdriver deletecookies function
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 135e05abd0b..2118e3efda1 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -1844,6 +1844,9 @@ impl ScriptThread {
WebDriverScriptCommand::AddCookie(params, reply) => {
webdriver_handlers::handle_add_cookie(&*documents, pipeline_id, params, reply)
},
+ WebDriverScriptCommand::DeleteCookies(reply) => {
+ webdriver_handlers::handle_delete_cookies(&*documents, pipeline_id, reply)
+ },
WebDriverScriptCommand::ExecuteScript(script, reply) => {
webdriver_handlers::handle_execute_script(&*documents, pipeline_id, script, reply)
},