mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01: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> |
||
---|---|---|
.. | ||
background_hang_monitor | ||
base | ||
bluetooth | ||
canvas | ||
compositing | ||
constellation | ||
devtools | ||
embedder | ||
fonts | ||
net | ||
profile | ||
script | ||
script_layout | ||
webgpu | ||
webxr |