Auto merge of #23951 - georgeroman:return_errorstatus_from_webdriverhandlers, r=jdm

Return ErrorStatus from webdriver_handlers

<!-- Please describe your changes on the following line: -->
With `webdriver 0.40`, `ErrorStatus` implements `Deserialize`. Now we can accommodate for multiple errors occuring in `webdriver_handlers`.

---
<!-- 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: -->

<!-- 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/23951)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-08-19 02:10:41 -04:00 committed by GitHub
commit 00a9f30773
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 482 additions and 438 deletions

View file

@ -2,9 +2,6 @@
[test_boolean_attribute[video-attrs17\]]
expected: FAIL
[test_element_not_found]
expected: FAIL
[test_global_boolean_attributes]
expected: FAIL

View file

@ -1,7 +1,4 @@
[get.py]
[test_element_not_found]
expected: FAIL
[test_no_browsing_context]
expected: ERROR

View file

@ -5,9 +5,6 @@
[test_idl_attribute]
expected: FAIL
[test_element_not_found]
expected: FAIL
[test_primitives_set_by_execute_script[42-42\]]
expected: FAIL

View file

@ -1,7 +1,4 @@
[get.py]
[test_element_not_found]
expected: FAIL
[test_no_browsing_context]
expected: ERROR

View file

@ -1,7 +1,4 @@
[get.py]
[test_element_not_found]
expected: FAIL
[test_no_browsing_context]
expected: ERROR

View file

@ -1,7 +1,4 @@
[get.py]
[test_getting_text_of_a_non_existant_element_is_an_error]
expected: FAIL
[test_no_browsing_context]
expected: ERROR

View file

@ -8,18 +8,12 @@
[test_frame_id_webelement_frame[0-foo\]]
expected: FAIL
[test_frame_id_webelement_no_element_reference]
expected: FAIL
[test_frame_id_number_index_out_of_bounds]
expected: FAIL
[test_frame_id_number_index[0-foo\]]
expected: FAIL
[test_frame_id_webelement_stale_reference]
expected: FAIL
[test_no_browsing_context]
expected: ERROR