Bug 282977
Summary: | [WebDriver][BiDi] Implement actual value serialization algorithm | ||
---|---|---|---|
Product: | WebKit | Reporter: | Lauro Moura <lmoura> |
Component: | WebDriver | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | bburg, hskupin, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 271956 | ||
Bug Blocks: | 288068 |
Lauro Moura
WebDriverBiDi `log.entryAdded`[1] event uses `script.SerializationOptions` to define options like max depth of DOM recursion, etc., when serializing the objects for the log message, following the detailed serialization algorithm from the "serialize a remote value" step[3]. It includes references to realms, internal object slots, etc.
The initial `log.entryAdded` patch in bug271956 added a simple scheme with direct `Value::asString`, `Value::asObject`, etc.
[1] https://w3c.github.io/webdriver-bidi/#event-log-entryAdded
[2] https://w3c.github.io/webdriver-bidi/#type-script-SerializationOptions
[3] https://w3c.github.io/webdriver-bidi/#serialize-as-a-remote-value
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/140187117>