Bug 203945 - WebDriver: correctly handle errors when focusing element before sending key events
Summary: WebDriver: correctly handle errors when focusing element before sending key e...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 188545
  Show dependency treegraph
 
Reported: 2019-11-07 01:29 PST by Carlos Garcia Campos
Modified: 2019-11-07 04:10 PST (History)
3 users (show)

See Also:


Attachments
Patch (6.07 KB, patch)
2019-11-07 01:33 PST, Carlos Garcia Campos
clopez: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2019-11-07 01:29:55 PST
We are throwing an exception that is not correctly handled. This causes the following tests to fail:

imported/w3c/webdriver/tests/element_send_keys/interactability.py::test_not_a_focusable_element
imported/w3c/webdriver/tests/element_send_keys/interactability.py::test_display_none
imported/w3c/webdriver/tests/element_send_keys/interactability.py::test_visibility_hidden
imported/w3c/webdriver/tests/element_send_keys/interactability.py::test_hidden
imported/w3c/webdriver/tests/element_send_keys/interactability.py::test_disabled
Comment 1 Carlos Garcia Campos 2019-11-07 01:33:58 PST
Created attachment 383031 [details]
Patch
Comment 2 Carlos Garcia Campos 2019-11-07 04:09:19 PST
Committed r252180: <https://trac.webkit.org/changeset/252180>
Comment 3 Radar WebKit Bug Importer 2019-11-07 04:10:18 PST
<rdar://problem/56978468>