Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ede962eba432f83c2b61d7383105929804a22d6c
      
https://github.com/WebKit/WebKit/commit/ede962eba432f83c2b61d7383105929804a22d6c
  Author: Lauro Moura <[email protected]>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

  Changed paths:
    M Source/WebDriver/Session.cpp
    M Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp

  Log Message:
  -----------
  [WebDriver][BiDi] Use "javascript" as the "type" parameter when the message 
comes from a JavaScript error
https://bugs.webkit.org/show_bug.cgi?id=285028

Reviewed by Devin Rousso.

Use the `messageSource` field to check if the message is coming from a
JS error or from a regular console method.

Also set the `stackTrace` field for JS messages, as the spec requires
it.

* Source/WebDriver/Session.cpp:
(WebDriver::Session::doLogEntryAdded):
* Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp:
(WebKit::logEntryTypeForMessage):
(WebKit::WebAutomationSession::logEntryAdded):

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



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

Reply via email to