wpt icon indicating copy to clipboard operation
wpt copied to clipboard

Append trailer data to serialized messages.

Open chromium-wpt-export-bot opened this issue 3 years ago • 0 comments

This reserves space in the Blink envelope for an offset to trailer data appended to the message which stores summary information about the message without needing to deserialize it.

This allows quickly assessing which WebIDL interfaces must be exposed for the message to be deserialized successfully, which means a messageerror event can be dispatched instead of a message event, even without eagerly deserializing (as the spec suggests).

This is a major change that requires a bump to the serialization format and would require care to revert in the future.

Bug: 1341844,1366065 Change-Id: I45904ff3f6270ac0e31c49dfae45c72c7e0d135b Reviewed-on: https://chromium-review.googlesource.com/3758405 WPT-Export-Revision: 11820bff2d36fbf654f2821aeda3f50518a864c3

chromium-wpt-export-bot avatar Aug 19 '22 00:08 chromium-wpt-export-bot