NEW 282977
[WebDriver][BiDi] Implement actual value serialization algorithm
https://bugs.webkit.org/show_bug.cgi?id=282977
Summary [WebDriver][BiDi] Implement actual value serialization algorithm
Lauro Moura
Reported 2024-11-12 02:30:38 PST
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
Radar WebKit Bug Importer
Comment 1 2024-11-19 02:31:14 PST
Note You need to log in before you can comment on or make changes to this bug.