Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r222255 - WebDriver: wrong response in case of errors
https://bugs.webkit.org/show_bug.cgi?id=177127 Reviewed by Brian Burg. I misunderstood the spec when I implemented this, so we either return a "value" key with the result in case of success or the error object as the body in case of error. We should always add a "value" key to the body and set it with either the result or the error object. https://w3c.github.io/webdriver/webdriver-spec.html#dfn-send-an-error * WebDriverService.cpp: (WebDriver::WebDriverService::sendResponse const):
- Loading branch information
1 parent
214e86c
commit 4c29fe5
Showing
2 changed files
with
39 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters