Move serialization/deserialization to CDP

Skip to first unread message

Maksim Sadym

Nov 19, 2021, 5:59:41 AM11/19/21
Hello colleagues!

After some discussion with colleagues from V8, we figured out the BiDi implementation doesn't follow the specification, and there is no way to follow it properly in the current approach with having serialization/deserialization on the Mapper level. 

Specification is based on the internal JS slots, and there is no way to have access to them from the JS level. To properly comply with specification, the serialization and deserialization should be moved to CDP level. 

The good news is it's possible. And even more, there are some other cases when having a `bidiValue` in the `RemoteObject` would be useful. We don't have to rush into that right now, but I guess it should be eventually done. I created issues for that:


Best regards,
Maksim Sadym
Reply all
Reply to author
0 new messages