Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 890d36fb09e9ca48ba9655581e98b43fb58cb01a https://github.com/WebKit/WebKit/commit/890d36fb09e9ca48ba9655581e98b43fb58cb01a Author: Lauro Moura <lmo...@igalia.com> Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths: M Source/WebKit/UIProcess/Automation/BidiScriptAgent.cpp Log Message: ----------- [WebDriver][BiDi] bad_variant_access in BidiScriptAgent::callFunction if exception is raised https://bugs.webkit.org/show_bug.cgi?id=295890 Reviewed by BJ Burg. Only parse the result value if we got a successful evaluation. This commit also adds basic support to extract a JavascriptError (i.e. exception) information inside an ExceptionDetail, leaving the ASYNC_FAIL family of macros for other non-JS errors. Note that we'd still likely need to replace/extend `evaluateJSFunction` to extract the exception information instead of just the string value in the return. * Source/WebKit/UIProcess/Automation/BidiScriptAgent.cpp: (WebKit::BidiScriptAgent::callFunction): Canonical link: https://commits.webkit.org/299146@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