Bug 285028
Summary: | [WebDriver][BiDi] Use "javascript" as the "type" parameter when the message comes from a JavaScript error | ||
---|---|---|---|
Product: | WebKit | Reporter: | Lauro Moura <lmoura> |
Component: | WebDriver | Assignee: | Lauro Moura <lmoura> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bburg, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 281932 |
Lauro Moura
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
Pull request: https://github.com/WebKit/WebKit/pull/38284
Radar WebKit Bug Importer
<rdar://problem/142099869>
EWS
Committed 288666@main (ede962eba432): <https://commits.webkit.org/288666@main>
Reviewed commits have been landed. Closing PR #38284 and removing active labels.