[Webkit-unassigned] [Bug 285028] New: [WebDriver][BiDi] Use "javascript" as the "type" parameter when the message comes from a JavaScript error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 20 09:25:29 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=285028

            Bug ID: 285028
           Summary: [WebDriver][BiDi] Use "javascript" as the "type"
                    parameter when the message comes from a JavaScript
                    error
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lmoura at igalia.com
                CC: bburg at apple.com

https://w3c.github.io/webdriver-bidi/#ref-for-error-reporting-steps

The current WebDriver-BiDi spec defines two types of `log.entryAdded` events: "console" and "javascript".

"console" events (`log.ConsoleLogEntry` productions) originate from "Console steps" that other specs might add https://w3c.github.io/webdriver-bidi/#patches-console

"javascript" events (`log.JavascriptLogEntry` productions) originate from HTML's "report an error" algorithm. https://w3c.github.io/webdriver-bidi/#patches-html

The commit 288145 at main / bug271956 generates events only from console messages (including ones from errors), based on the original `InspectorInstrumentation::addMessageToConsole`, thus all events so far have type "console".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241220/4eca2d8b/attachment.htm>


More information about the webkit-unassigned mailing list