Bug 180421

Summary: WebDriver: get active element should return no such element error when there isn't an active element
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch bburg: review+

Description Carlos Garcia Campos 2017-12-05 06:22:49 PST
We currently return unknown error. This is not in the spec yet, but will be soon, see https://github.com/w3c/webdriver/pull/1157. Test imported/w3c/webdriver/tests/element_retrieval/get_active_element.py::test_missing_document_element was added for it.
Comment 1 Carlos Garcia Campos 2017-12-05 06:24:55 PST
Created attachment 328447 [details]
Patch
Comment 2 BJ Burg 2017-12-08 14:00:20 PST
Comment on attachment 328447 [details]
Patch

rs=me
Comment 3 Carlos Garcia Campos 2017-12-11 00:30:34 PST
Committed r225739: <https://trac.webkit.org/changeset/225739>
Comment 4 Radar WebKit Bug Importer 2017-12-11 00:31:18 PST
<rdar://problem/35962786>