Bug 297818
| Summary: | [WebDriver] Ensure we forward error body for UnknownErrors generated on the driver | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Lauro Moura <lmoura> |
| Component: | WebDriver | Assignee: | Lauro Moura <lmoura> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bburg, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Lauro Moura
SessionHost::inspectorDisconnected generates an error body locally, but WebDriver:CommandResult is dropping the error message because it does not contain the ProtocolErrorCode (which usually comes from Automation.json requests, IIUC).
This can lead to cryptic "UnknownError", with empty message detail, sent back to the client.
Patch incoming
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Lauro Moura
Pull request: https://github.com/WebKit/WebKit/pull/49839
EWS
Committed 299127@main (6f9eb38ffb71): <https://commits.webkit.org/299127@main>
Reviewed commits have been landed. Closing PR #49839 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/159128100>