mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Rather than creating unique types for each pipeline-namespaced index type (eg. MessagePortId, DomExceptionId, etc.), we can create a generic common type that uses a marker to prevent type confusion. This change allows us to reduce the boilerplate code required when implementing serializable/transferable interfaces, since the structured clone implementation can rely on the common type. Testing: Existing WPT tests for serialization and transferring provide coverage. --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net> |
||
---|---|---|
.. | ||
Cargo.toml | ||
cross_process_instant.rs | ||
generate-unicode-block.py | ||
generic_channel.rs | ||
id.rs | ||
lib.rs | ||
print_tree.rs | ||
text.rs | ||
unicode_block.rs |