Bug 282977

Summary: [WebDriver][BiDi] Implement actual value serialization algorithm
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: WebDriverAssignee: 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
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.