Bug 297818

Summary: [WebDriver] Ensure we forward error body for UnknownErrors generated on the driver
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: WebDriverAssignee: 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
Reported 2025-08-22 20:51:56 PDT
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
Lauro Moura
Comment 1 2025-08-25 05:33:50 PDT
EWS
Comment 2 2025-08-25 13:01:50 PDT
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
Comment 3 2025-08-25 13:02:16 PDT
Note You need to log in before you can comment on or make changes to this bug.