WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
297818
[WebDriver] Ensure we forward error body for UnknownErrors generated on the driver
https://bugs.webkit.org/show_bug.cgi?id=297818
Summary
[WebDriver] Ensure we forward error body for UnknownErrors generated on the d...
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
Add attachment
proposed patch, testcase, etc.
Lauro Moura
Comment 1
2025-08-25 05:33:50 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/49839
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
<
rdar://problem/159128100
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug