Bug 282976

Summary: [WebDriver][BiDi] Support formatting strings in log.entryAdded events
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bburg, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 271956    
Bug Blocks:    

Lauro Moura
Reported 2024-11-12 02:12:05 PST
The Initial patch in bug271956 will support only space-separated arguments, implementing step 5 from the spec: Spec: https://w3c.github.io/webdriver-bidi/#event-log-entryAdded 4. If Type(args[0]) is String, and args[0] contains a formatting specifier, let formatted args be Formatter(args). Otherwise let formatted args be args. Note: The formatter operation is underdefined in the console specification, formatting can be inconsistent between different implementations. 5. For each arg in formatted args: 1. If arg is not the first entry in args, append a U+0020 SPACE to text. 1. If arg is a primitive ECMAScript value, append ToString(arg) to text. Otherwise append an implementation-defined string to text.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-11-19 02:13:17 PST
Note You need to log in before you can comment on or make changes to this bug.