WebDriver: POST commands require a valid parameters object
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Jan 2019 10:37:06 +0000 (10:37 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Jan 2019 10:37:06 +0000 (10:37 +0000)
commit96fe47cc9e64454990d122e356cca964e5851986
treea8cb540abc41a43a69ffa2d6ee22114bd6afeba9
parentf2882997e804f7608fe0b90706587842dde42e14
WebDriver: POST commands require a valid parameters object
https://bugs.webkit.org/show_bug.cgi?id=193906

Reviewed by Michael Catanzaro.

We are not failing when http body is empty.

Fixes tests: imported/w3c/webdriver/tests/set_window_rect/set.py::test_null_parameter_value
             imported/w3c/webdriver/tests/set_timeouts/set.py::test_null_parameter_value

* WebDriverService.cpp:
(WebDriver::WebDriverService::handleRequest):

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