diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-07-23 21:24:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-23 21:24:57 -0400 |
commit | 7ffe65e6726c4f179e97140a7ff679c6cb706c40 (patch) | |
tree | bc68b9a08471c4a32660e7c856fca653243ab237 /components/script/script_thread.rs | |
parent | 8f7440f36881fa60f4237d0dec8928799a6aa747 (diff) | |
parent | e34a15c5ef268149daef79376a981108545fa34d (diff) | |
download | servo-7ffe65e6726c4f179e97140a7ff679c6cb706c40.tar.gz servo-7ffe65e6726c4f179e97140a7ff679c6cb706c40.zip |
Auto merge of #23745 - georgeroman:implement_get_element_property_wd_command, r=jdm
Implement GetElementProperty wd command
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
<!-- Either: -->
- [X] There are tests for these changes
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23745)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 8193c9b7ace..0ceed35db57 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -2157,6 +2157,15 @@ impl ScriptThread { reply, ) }, + WebDriverScriptCommand::GetElementProperty(node_id, name, reply) => { + webdriver_handlers::handle_get_property( + &*documents, + pipeline_id, + node_id, + name, + reply, + ) + }, WebDriverScriptCommand::GetElementCSS(node_id, name, reply) => { webdriver_handlers::handle_get_css(&*documents, pipeline_id, node_id, name, reply) }, |