servo/components/shared
Martin Robinson 18b37e676b
script: Reduce the use of unsafe in LayoutDom (#31979)
Remove the use of unsafe code in the layout wrappers of the DOM. The
main change here is that `unsafe_get()` no longer needs to be an unsafe
method, which allows us to transitively remove or reduce unsafe blocks
from callers. The function itself is not renamed, because it's still
a bit dangerous to start removing the layers of abstraction from actual
DOM nodes.

In addition `init_style_and_opaque_layout_data` can be merged into
`initialize_data`, which removes one more unsafe method.

Finally, a "Safety" section is added to some unsafe methods.
2024-04-03 08:41:19 +00:00
..
bluetooth clippy: fix warnings in components/shared (#31565) 2024-03-08 15:28:19 +00:00
canvas Update Stylo to 2023-10-16 (#31932) 2024-03-30 13:30:13 +00:00
compositing Rework “visible” to “throttled” in constellation + script + compositor (#31816) 2024-03-22 06:06:28 +00:00
devtools Move Stylo to its own repo (#31350) 2024-02-27 15:39:06 +00:00
embedder Fix rustdoc errors in components/shared (#31582) 2024-03-08 12:28:06 +00:00
gfx clippy: fix warnings in components/shared (#31565) 2024-03-08 15:28:19 +00:00
msg layout: Remove LayoutRPC and query layout via the Layout trait (#31937) 2024-03-29 16:25:47 +00:00
net clippy: Fix warnings in components/shared (#31627) 2024-03-12 17:22:05 +00:00
profile Move *_traits and other shared types to shared 2023-11-03 15:38:18 +00:00
script Rework “visible” to “throttled” in constellation + script + compositor (#31816) 2024-03-22 06:06:28 +00:00
script_layout script: Reduce the use of unsafe in LayoutDom (#31979) 2024-04-03 08:41:19 +00:00
webrender dependencies: Upgrade to WebRender 0.64 (#31486) 2024-03-14 17:40:54 +00:00