servo/components/shared
Josh Matthews d8fc1d8bb8
Refactor common boilerplate out of serialize/transfer implementations (#35831)
* script: Create infrastructure for reducing hand-written serializable/transferrable implementations.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Clone all serializable DOM interfaces.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Deserialize all serializable DOM interfaces.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Serialize all serializable DOM interfaces.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Transfer-receive all transferable DOM interfaces.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Transfer all transferable DOM interfaces.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Formatting.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Extract boilerplate from serialize/deserialize implementations.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Extract boilerplate from transfer-receive.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Extract boilerplate from transfer operation.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Tidy fixes.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Check transferability of all DOM interfaces.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Clippy fixes.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Clippy fixes.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Remove unnecessary duplicate crate.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Formatting.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

---------

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2025-03-15 13:58:56 +00:00
..
background_hang_monitor script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
base base: Finish rename of TopLevelBrowsingContextId to WebViewId (#35896) 2025-03-11 10:56:10 +00:00
bluetooth Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
canvas canvas: Do not update ImageKey during canvas layout (#35719) 2025-03-12 15:36:52 +00:00
compositing constellation: Remove two unused messages to the Constellation (#35972) 2025-03-15 12:54:48 +00:00
devtools Show correctly computed element display type in devtools (#35870) 2025-03-10 12:32:30 +00:00
embedder Use strum to iterate through enum variants and get their names (#35933) 2025-03-13 12:00:31 +00:00
fonts Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
net Implement nonce attribute to pass more CSP checks (#35876) 2025-03-10 09:25:34 +00:00
profile Use strum to iterate through enum variants and get their names (#35933) 2025-03-13 12:00:31 +00:00
script Refactor common boilerplate out of serialize/transfer implementations (#35831) 2025-03-15 13:58:56 +00:00
script_layout script: Remove ThreadSafeLayoutNode::is_ignorable_whitespace (#35959) 2025-03-13 13:10:48 +00:00
webrender compositor: Make PipelineDetails and pending paint metrics per-WebView (#35701) 2025-03-04 02:31:23 +00:00
webxr Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00