WebDriver: get active element should return no such element error when there isn...
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Dec 2017 08:30:25 +0000 (08:30 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Dec 2017 08:30:25 +0000 (08:30 +0000)
commit64462215473164db7222370a0c78049e49fa0c85
tree9f184e14223632d9619d5badfaf2d85eaa1e8ae2
parentc7fcb1bc82795c480192786f6d1d3d3e4ba90d29
WebDriver: get active element should return no such element error when there isn't an active element
https://bugs.webkit.org/show_bug.cgi?id=180421

Reviewed by Brian Burg.

We currently return unknown error.

Fixes: imported/w3c/webdriver/tests/element_retrieval/get_active_element.py::test_missing_document_element

* Session.cpp:
(WebDriver::Session::getActiveElement):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225739 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebDriver/ChangeLog
Source/WebDriver/Session.cpp