servo/components/shared
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
..
background_hang_monitor Initial IndexedDB Support (#33044) 2025-06-19 05:19:07 +00:00
base canvas: Make OffscreenCanvas transferable (without placeholder) (#37872) 2025-07-08 14:47:29 +00:00
bluetooth Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
canvas 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
compositing cargo: Remove unused dependency (#38239) 2025-07-23 13:32:50 +00:00
constellation 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
devtools devtools: Use request destination as cause_type in NetworkEventActor (#38162) 2025-07-18 22:20:26 +00:00
embedder webdriver: Implement maximize window for both headless&headed window (#38271) 2025-07-26 12:21:17 +00:00
fonts Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
layout layout: optimize the propagation and cleanup of RestyleDamage (#38199) 2025-07-25 12:10:16 +00:00
net script: implement IDBKeyRange (#38268) 2025-07-26 02:59:15 +00:00
profile layout: Improve and expand category names for layout profiling (#37833) 2025-07-02 15:02:56 +00:00
script Add a basic caching mechanism for ImageKeys. (#37369) 2025-07-03 13:16:43 +00:00
webgpu pixels: Move Snapshot and related data structures to pixels (#37590) 2025-06-20 14:47:06 +00:00
webxr libservo: Move EventLooperWaker from webxr_traits to embedder_traits (#36420) 2025-04-09 14:19:33 +00:00