WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
285028
[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
Summary
[WebDriver][BiDi] Use "javascript" as the "type" parameter when the message c...
Lauro Moura
Reported
2024-12-20 09:25:29 PST
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@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".
Attachments
Add attachment
proposed patch, testcase, etc.
Lauro Moura
Comment 1
2024-12-20 13:49:10 PST
Pull request:
https://github.com/WebKit/WebKit/pull/38284
Radar WebKit Bug Importer
Comment 2
2024-12-27 09:26:18 PST
<
rdar://problem/142099869
>
EWS
Comment 3
2025-01-09 08:52:57 PST
Committed
288666@main
(ede962eba432): <
https://commits.webkit.org/288666@main
> Reviewed commits have been landed. Closing PR #38284 and removing active labels.
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