Bug 183535

Summary: [WebAuthN] Improve CBOR encoding/decoding
Product: WebKit Reporter: Jiewen Tan <jiewen_tan>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: alex.gaynor, jiewen_tan, jonathan, jschoi, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 181943    

Jiewen Tan
Reported 2018-03-09 15:57:31 PST
CBOR encoder needs to deal with bytes directly.
Attachments
Radar WebKit Bug Importer
Comment 1 2018-08-15 17:09:23 PDT
Jiewen Tan
Comment 2 2018-10-01 17:13:48 PDT
Actually, this bug applies to all different value types the encoder support. Instead of holding the value, the encoder will be more efficient to provide a mode to only hold a reference to the value and then let the caller to guarantee the value is unchanged and alive during the encoding period. Anyway, it will be good to optimize it but not a blocker for the feature.
Jiewen Tan
Comment 3 2020-03-08 21:59:23 PDT
We should consider adding && getter for CBORValue.
Note You need to log in before you can comment on or make changes to this bug.