Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6f9eb38ffb7133526aa55c7ed886ccb44c1a79c9
      
https://github.com/WebKit/WebKit/commit/6f9eb38ffb7133526aa55c7ed886ccb44c1a79c9
  Author: Lauro Moura <lmo...@igalia.com>
  Date:   2025-08-25 (Mon, 25 Aug 2025)

  Changed paths:
    M Source/WebDriver/CommandResult.cpp

  Log Message:
  -----------
  [WebDriver] Ensure we forward error body for UnknownErrors generated on the 
driver
https://bugs.webkit.org/show_bug.cgi?id=297818

Reviewed by BJ Burg.

The CommandResult constructor expected a protocol error code (that comes
from Automation.json replies), to be present in order to set `m_errorMessage`.
This is not the case when we generate the error payload locally, like in
`SessionHost::inspectorDisconnected`. Error replies from this function
resulted on empty error messages being forwarded back to the client.

* Source/WebDriver/CommandResult.cpp:
(WebDriver::CommandResult::CommandResult):

Canonical link: https://commits.webkit.org/299127@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to