servo/components/shared/constellation
sagudev ae69646371
canvas: Make 2D context state creation failable and use dom_canvas_backend pref for backend selection (#38310)
Before script just crashed in those cases because IPCSender was dropped,
now we send `None` to tell script about the failure and fail getContext
or registerPainter accordingly.
This PR also unifies `dom_canvas_{backends}_enabled` prefs into
`dom_canvas_backend` which is more flexible in multi-backends scenarios.

Reviewable per commit.

Testing: Added servo specific WPT test.

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-07-28 09:13:07 +00:00
..
structured_data Refactor constellation broadcast channel (#38077) 2025-07-15 13:57:05 +00:00
Cargo.toml pixels: Move Snapshot and related data structures to pixels (#37590) 2025-06-20 14:47:06 +00:00
from_script_message.rs canvas: Make 2D context state creation failable and use dom_canvas_backend pref for backend selection (#38310) 2025-07-28 09:13:07 +00:00
lib.rs servo: Track async webview focus operations (#38243) 2025-07-24 06:01:11 +00:00