mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
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>
8 lines
164 B
JSON
Vendored
8 lines
164 B
JSON
Vendored
{
|
|
"vello_cpu_canvas": {
|
|
"config": {
|
|
"binary_args": ["--pref", "dom_canvas_backend=vello_cpu"]
|
|
},
|
|
"include": ["/html/canvas/element"]
|
|
}
|
|
}
|